[Libreoffice-commits] core.git: 20 commits - binaryurp/source bridges/source chart2/source connectivity/source cppu/source dbaccess/source editeng/source extensions/source filter/source sw/source vcl/generic
Caolán McNamara
caolanm at redhat.com
Sun May 11 03:53:03 PDT 2014
binaryurp/source/writer.cxx | 10 +++++++--
bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx | 1
chart2/source/view/main/OpenGLRender.cxx | 9 ++++++--
chart2/source/view/main/VDataSeries.cxx | 1
connectivity/source/inc/OTypeInfo.hxx | 1
connectivity/source/inc/dbase/DTable.hxx | 16 ++++++++++-----
cppu/source/threadpool/current.cxx | 1
dbaccess/source/ui/querydesign/ConnectionLine.cxx | 3 +-
dbaccess/source/ui/querydesign/TableConnection.cxx | 1
dbaccess/source/ui/querydesign/TableFieldDescription.cxx | 2 -
editeng/source/editeng/editeng.cxx | 1
editeng/source/editeng/editundo.cxx | 2 +
editeng/source/items/bulitem.cxx | 5 ----
editeng/source/items/numitem.cxx | 14 +++++++++----
extensions/source/scanner/sanedlg.cxx | 1
filter/source/graphicfilter/epgm/epgm.cxx | 3 --
sw/source/filter/ww8/ww8scan.hxx | 4 +++
vcl/generic/glyphs/scrptrun.h | 5 ++++
18 files changed, 59 insertions(+), 21 deletions(-)
New commits:
commit 5b1920306c0ce95344a031998c85ff2f1e57e959
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:46:01 2014 +0100
coverity#708503 Uninitialized scalar field
Change-Id: I0461aba139275724e533690ca30d3ff3b42dc381
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 2c3c3d4..1e6a43a 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -944,6 +944,10 @@ public:
struct WW8PLCFxSaveAll
{
WW8PLCFxSave1 aS[WW8PLCFMan::MAN_ANZ_PLCF];
+ WW8PLCFxSaveAll()
+ {
+ memset(aS, 0, sizeof(aS));
+ }
};
#endif // !DUMP
commit f9b1da3a34caf162fd0c4eee80eceefdb69159e0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:43:37 2014 +0100
coverity#1169876 Uninitialized scalar field
Change-Id: I71d7ccb5304cc23bb2d93defae6f810bb921c563
diff --git a/vcl/generic/glyphs/scrptrun.h b/vcl/generic/glyphs/scrptrun.h
index 38302e1..c576193 100644
--- a/vcl/generic/glyphs/scrptrun.h
+++ b/vcl/generic/glyphs/scrptrun.h
@@ -55,6 +55,11 @@ struct ParenStackEntry
{
int32_t pairIndex;
UScriptCode scriptCode;
+ ParenStackEntry()
+ : pairIndex(0)
+ , scriptCode(USCRIPT_INVALID_CODE)
+ {
+ }
};
class ScriptRun : public UObject {
commit ff43ba7eb6e780a213e50aa7718074f4e1e054c9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:37:12 2014 +0100
coverity#707665 Uninitialized scalar field
Change-Id: Ie69b1ee3425d537a930d0ffd0995ad8eed218750
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 9dffed6..6b666b0 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -52,7 +52,8 @@ Writer::Item::Item(
std::vector< BinaryAny > const & inArguments,
css::uno::UnoInterfaceReference const & theCurrentContext):
request(true), tid(theTid), oid(theOid), type(theType), member(theMember),
- arguments(inArguments), currentContext(theCurrentContext)
+ setter(false), arguments(inArguments), exception(false),
+ currentContext(theCurrentContext), setCurrentContextMode(false)
{}
Writer::Item::Item(
commit 5575146b9ce42fdbab181eb9722d61000dced9c3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:34:59 2014 +0100
coverity#707666 Uninitialized scalar field
Change-Id: I3a2cf5db28b5e2019bf06f00413d645d88033a2b
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 5ecdaf9..9dffed6 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -38,7 +38,12 @@
namespace binaryurp {
-Writer::Item::Item() {}
+Writer::Item::Item()
+ : request(false)
+ , setter(false)
+ , exception(false)
+ , setCurrentContextMode(false)
+{}
Writer::Item::Item(
rtl::ByteSequence const & theTid, OUString const & theOid,
commit 14d22ce2712213d050f81951b2da1c8d66162119
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:33:19 2014 +0100
coverity#707667 Uninitialized pointer field
Change-Id: I6e6627ee8104501f078aa967a16f210abb1d75bd
diff --git a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
index 4488e74..fe4a015 100644
--- a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
+++ b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
@@ -154,6 +154,7 @@ CppInterfaceProxy::CppInterfaceProxy(
, pTypeDescr( pTypeDescr_ )
, oid( rOId_ )
{
+ memset(vtables, 0, sizeof(vtables));
pBridge->acquire();
::typelib_typedescription_acquire( (typelib_TypeDescription *)pTypeDescr );
(*pUnoI->acquire)( pUnoI );
commit 0bf9c74e4931998defe6c1192482d9dd928b5fb6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:31:50 2014 +0100
coverity#1169877 Uninitialized scalar field
Change-Id: Ib83635dabe9b3081f52cc8856f84beda90c71bd5
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index bbdf750..12dfb79 100644
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -503,11 +503,16 @@ void OpenGLRender::Release()
glDeleteRenderbuffers(1, &m_renderBufferDepthMS);
}
-OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget):
- mxTarget(xTarget)
+OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget)
+ : mxTarget(xTarget)
, m_iWidth(1600)
, m_iHeight(900)
, m_Model(glm::mat4(1.0f))
+ , m_VertexBuffer(0)
+ , m_ColorBuffer(0)
+ , m_MatrixID(0)
+ , m_RenderVertexBuf(0)
+ , m_RenderTexCoordBuf(0)
#if 0
, m_iPointNum(0)
#endif
commit 1d6bc66a58de5692a6f3ad0038b206b448b1ba73
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:29:16 2014 +0100
coverity#1169880 Uninitialized pointer field
Change-Id: I750a380830e0d6ec7d22e59ef316f1ab55e1cab0
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index e581b71..10ec3bb 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -1067,6 +1067,7 @@ VDataSeries::VDataSeries()
, m_fLogicMaxX(0)
, m_fLogicZPos(0)
, m_nPointCount(0)
+ , m_pValueSequenceForDataLabelNumberFormatDetection(NULL)
, m_fXMeanValue(0)
, m_fYMeanValue(0)
, m_eStackingDirection(chart2::StackingDirection_NO_STACKING)
commit e3766a2301a4c7edc1bc52376f6c6d53664ed1dd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:22:58 2014 +0100
coverity#707693 Uninitialized scalar field
Change-Id: Iac219b6aba06a3754caa75e7c5303ce43c81606b
diff --git a/connectivity/source/inc/dbase/DTable.hxx b/connectivity/source/inc/dbase/DTable.hxx
index a8d6023..580f0ff 100644
--- a/connectivity/source/inc/dbase/DTable.hxx
+++ b/connectivity/source/inc/dbase/DTable.hxx
@@ -73,11 +73,17 @@ namespace connectivity
sal_uInt8 db_frei2[14]; /* Reserved */
};
struct DBFMemoHeader
- {
- DBFMemoType db_typ; /* File type */
- sal_uInt32 db_next; /* Next free block */
- sal_uInt16 db_size; /* Block size: dBase 3 fixed */
- };
+ {
+ DBFMemoType db_typ; /* File type */
+ sal_uInt32 db_next; /* Next free block */
+ sal_uInt16 db_size; /* Block size: dBase 3 fixed */
+ DBFMemoHeader()
+ : db_typ(MemodBaseIII)
+ , db_next(0)
+ , db_size(0)
+ {
+ }
+ };
::std::vector<sal_Int32> m_aTypes; // holds all types for columns just to avoid to ask the propertyset
::std::vector<sal_Int32> m_aPrecisions; // same as above
commit 570e20e63c27174d19983103f9374ec9c2fe9f1f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:21:05 2014 +0100
coverity#707708 Uninitialized scalar field
Change-Id: If968eb06bb5741672df1d4f5a20f89333e11ef16
diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx
index 7d4d3ce..fba771e 100644
--- a/connectivity/source/inc/OTypeInfo.hxx
+++ b/connectivity/source/inc/OTypeInfo.hxx
@@ -55,6 +55,7 @@ namespace connectivity
,nMinimumScale(0)
,nType( ::com::sun::star::sdbc::DataType::OTHER)
,nSearchType( ::com::sun::star::sdbc::ColumnSearch::FULL)
+ ,nNumPrecRadix(0)
,bCurrency(false)
,bAutoIncrement(false)
,bNullable(true)
commit 99c5f4c1c2384fa7d924a4b46c5805a7fcf16633
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:19:56 2014 +0100
coverity#707713 Uninitialized pointer field
Change-Id: I4c51287f20d070fe3227adb5a1909c9539938f27
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx
index 9ae55e9..9e51c6d 100644
--- a/cppu/source/threadpool/current.cxx
+++ b/cppu/source/threadpool/current.cxx
@@ -111,6 +111,7 @@ public:
inline ThreadKey::ThreadKey( oslThreadKeyCallbackFunction pCallback ) SAL_THROW(())
: _bInit( false )
+ , _hThreadKey( 0 )
, _pCallback( pCallback )
{
}
commit 8477ccec4d6e0263221f7d73cc1f4ef111411280
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:19:04 2014 +0100
coverity#707740 Uninitialized pointer field
Change-Id: I2e948197f5299b93e22fdf3590494fcf72be3fdb
diff --git a/dbaccess/source/ui/querydesign/ConnectionLine.cxx b/dbaccess/source/ui/querydesign/ConnectionLine.cxx
index 53dad9a..8fe389c 100644
--- a/dbaccess/source/ui/querydesign/ConnectionLine.cxx
+++ b/dbaccess/source/ui/querydesign/ConnectionLine.cxx
@@ -112,11 +112,12 @@ namespace
// class OConnectionLine
OConnectionLine::OConnectionLine( OTableConnection* _pConn, OConnectionLineDataRef _pLineData )
: m_pTabConn( _pConn )
- ,m_pData( _pLineData )
+ , m_pData( _pLineData )
{
}
OConnectionLine::OConnectionLine( const OConnectionLine& _rLine )
+ : m_pTabConn(NULL)
{
m_pData = new OConnectionLineData( *_rLine.GetData() );
*this = _rLine;
commit 82a33b849cfcb151cdc72940c167197a34d450fe
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:18:07 2014 +0100
coverity#707744 Uninitialized pointer field
Change-Id: I3735755f6f9e698a9c2dbedb9875a119de4b48f7
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx
index a6ebfbb2..9ced392 100644
--- a/dbaccess/source/ui/querydesign/TableConnection.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnection.cxx
@@ -45,6 +45,7 @@ namespace dbaui
OTableConnection::OTableConnection( const OTableConnection& _rConn ) : Window(_rConn.m_pParent)
,m_pData(_rConn.GetData()->NewInstance())
+ ,m_pParent(NULL)
{
*this = _rConn;
}
commit 861b58566db61b46c9a3c28cddacb5c730471bad
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:17:02 2014 +0100
coverity#707746 Uninitialized pointer field
Change-Id: I10d7e69ad11a96b993c48ffeea53f8c1e9cd7853
diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
index 564ef78..44ffd4d 100644
--- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
+++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
@@ -46,7 +46,7 @@ OTableFieldDesc::OTableFieldDesc()
OTableFieldDesc::OTableFieldDesc(const OTableFieldDesc& rRS)
: ::salhelper::SimpleReferenceObject()
-
+ , m_pTabWindow(NULL)
{
*this = rRS;
}
commit 0ceecfd9824da6dc07bc9737fa718a1e28822c60
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:16:22 2014 +0100
coverity#707751 Uninitialized pointer field
Change-Id: Iaa8aebe1649d4805394bdc559f57e7f256097ca5
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index d2db164..20c55c6 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2787,6 +2787,7 @@ EFieldInfo::~EFieldInfo()
}
EFieldInfo::EFieldInfo( const EFieldInfo& rFldInfo )
+ : pFieldItem(0)
{
*this = rFldInfo;
}
commit 04e56d2854ac8dc4eb7787b1bdd9d7b52c65267e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:14:50 2014 +0100
coverity#1038495 Uninitialized scalar field
Change-Id: I49c7c79f8b28b50d7289ec0bba575520c370d7b4
diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx
index 14fb303..55d3b5c3 100644
--- a/editeng/source/editeng/editundo.cxx
+++ b/editeng/source/editeng/editundo.cxx
@@ -213,6 +213,8 @@ EditUndoConnectParas::EditUndoConnectParas(
EditUndo(EDITUNDO_CONNECTPARAS, pEE),
aLeftParaAttribs(rLeftParaAttribs),
aRightParaAttribs(rRightParaAttribs),
+ eLeftStyleFamily(SFX_STYLE_FAMILY_ALL),
+ eRightStyleFamily(SFX_STYLE_FAMILY_ALL),
bBackward(bBkwrd)
{
nNode = nN;
commit f730fafc037fa79de8ee78ba9757e6275b1c146a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:12:36 2014 +0100
coverity#984086 Uninitialized scalar field
Change-Id: Iab787537a4212e58710a1db1b30f953784824dfa
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index a6bf7a3..4492db1 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -109,11 +109,10 @@ SvxBulletItem::SvxBulletItem( sal_uInt16 _nWhich ) : SfxPoolItem( _nWhich )
nValidMask = 0xFFFF;
}
-
-
SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich )
: SfxPoolItem(_nWhich)
, pGraphicObject(NULL)
+ , nStart(0)
, nStyle(0)
{
rStrm.ReadUInt16( nStyle );
@@ -166,8 +165,6 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich )
nValidMask = 0xFFFF;
}
-
-
SvxBulletItem::SvxBulletItem( const SvxBulletItem& rItem) : SfxPoolItem( rItem )
{
aFont = rItem.aFont;
commit 325e586dd0b4ffd59e03a61e669a106b6d4a00ce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:11:14 2014 +0100
coverity#707758 Uninitialized scalar field
Change-Id: I2f123b0be283b1cb7d890f0e2318dabb5a5930ec
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 6968d3b..55b68c0 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -178,9 +178,14 @@ SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) :
}
SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
+ : nStart(0)
+ , nFirstLineOffset(0)
+ , nAbsLSpace(0)
+ , nLSpace(0)
+ , nCharTextDistance(0)
{
- sal_uInt16 nTmp16;
- sal_Int32 nTmp32;
+ sal_uInt16 nTmp16(0);
+ sal_Int32 nTmp32(0);
rStream.ReadUInt16( nTmp16 ); // Version number
rStream.ReadUInt16( nTmp16 ); SetNumberingType( nTmp16 );
@@ -228,8 +233,8 @@ SvxNumberFormat::SvxNumberFormat( SvStream &rStream )
rStream.ReadInt32( nTmp32 ); mnListtabPos = nTmp32;
rStream.ReadInt32( nTmp32 ); mnFirstLineIndent = nTmp32;
rStream.ReadInt32( nTmp32 ); mnIndentAt = nTmp32;
-
}
+
SvxNumberFormat::~SvxNumberFormat()
{
delete pGraphicBrush;
commit 623fa779b67b39b0a0afd5a2345a331748ca780f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:10:01 2014 +0100
coverity#1019408 Uninitialized scalar field
Change-Id: I63bc844627ca9eaf43f9b4b01ab987ef4f188afa
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 0f144d1..6968d3b 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -670,8 +670,9 @@ SvxNumRule::SvxNumRule(const SvxNumRule& rCopy)
}
SvxNumRule::SvxNumRule( SvStream &rStream )
+ : nLevelCount(0)
{
- sal_uInt16 nTmp16;
+ sal_uInt16 nTmp16(0);
rStream.ReadUInt16( nTmp16 ); // NUM_ITEM_VERSION
rStream.ReadUInt16( nLevelCount );
commit 424a9f1fe6c8e20f3e354205900e320e2404ce36
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:09:04 2014 +0100
coverity#738627 Uninitialized scalar field
Change-Id: I32d0f04a3346aa2ec8df6dbd8709c74f45c66c06
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index 84e0856..eb25a21 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -39,6 +39,7 @@ ResId SaneResId( sal_uInt32 nID )
SaneDlg::SaneDlg( Window* pParent, Sane& rSane, bool bScanEnabled ) :
ModalDialog( pParent, SaneResId( RID_SANE_DIALOG ) ),
mrSane( rSane ),
+ mbDragEnable( false ),
mbIsDragging( false ),
mbScanEnabled( bScanEnabled ),
mbDragDrawn( false ),
commit 7e28b591fecd7c4f9cdaaa0263170c0c18d02abb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun May 11 11:08:01 2014 +0100
coverity#738630 Uninitialized scalar field
Change-Id: Ib817f2dce5b6f6560c78f534905a70b7ccaf9ccb
diff --git a/filter/source/graphicfilter/epgm/epgm.cxx b/filter/source/graphicfilter/epgm/epgm.cxx
index af81bae..c1d31b4 100644
--- a/filter/source/graphicfilter/epgm/epgm.cxx
+++ b/filter/source/graphicfilter/epgm/epgm.cxx
@@ -56,6 +56,7 @@ public:
//=================== Methoden von PGMWriter ==============================
PGMWriter::PGMWriter(SvStream &rStream)
: m_rOStm(rStream)
+ , mpOStmOldModus(0)
, mbStatus(true)
, mnMode(0)
, mpAcc(NULL)
@@ -68,8 +69,6 @@ PGMWriter::~PGMWriter()
{
}
-
-
bool PGMWriter::WritePGM( const Graphic& rGraphic, FilterConfigItem* pFilterConfigItem )
{
if ( pFilterConfigItem )
More information about the Libreoffice-commits
mailing list