framework/source/uielement/uicommanddescription.cxx | 8 +++++--- hwpfilter/source/hbox.cxx | 4 +++- i18npool/source/indexentry/indexentrysupplier_default.cxx | 6 +++++- idl/inc/lex.hxx | 6 +++++- idl/source/objects/slot.cxx | 2 ++ idlc/source/astdeclaration.cxx | 1 + io/source/stm/omark.cxx | 11 ++++++----- oox/source/drawingml/chart/datasourcecontext.cxx | 5 +++-- sc/source/filter/oox/defnamesbuffer.cxx | 1 + sw/source/core/doc/doccomp.cxx | 3 ++- 10 files changed, 33 insertions(+), 14 deletions(-)
New commits: commit c8117c46f1e4f9aaf6245d5d68f26d5656116b39 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:26:17 2014 +0000 coverity#708413 Uninitialized scalar field Change-Id: Id4ffee405f4047845223a53595f08c5bcd86b52a diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 990d645d..d36b16c 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -435,7 +435,7 @@ void CompareData::CheckForChangesInLine( const CompareData& , } Hash::Hash( sal_uLong nSize ) - : nCount( 1 ) + : nCount(1) { static const sal_uLong primes[] = @@ -471,6 +471,7 @@ static const sal_uLong primes[] = pDataArr[0].nNext = 0; pDataArr[0].nHash = 0, pDataArr[0].pLine = 0; + nPrime = primes[0]; for( i = 0; primes[i] < nSize / 3; i++) if( !primes[i] ) commit a506455b0e5f72d7ebbcfb53a5ea70c05ded485c Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:23:16 2014 +0000 coverity#707957 Uninitialized scalar field Change-Id: Ia18a00985a6d9c392a7470b445248c13977475d0 diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index b06fec8..fa462bf 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -262,6 +262,7 @@ DefinedName::DefinedName( const WorkbookHelper& rHelper ) : DefinedNameBase( rHelper ), mpScRangeData(NULL), mnTokenIndex( -1 ), + mnCalcSheet( 0 ), mcBuiltinId( BIFF_DEFNAME_UNKNOWN ), mnFmlaSize( 0 ) { commit 62b2e8828b2feaf0b866fd529305e6d0a002d687 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:21:30 2014 +0000 coverity#707955 Uninitialized scalar field Change-Id: Ia6416e8c3c2e90bdf33908b53f67a77abef765b1 diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx index d310645..b6aed19 100644 --- a/oox/source/drawingml/chart/datasourcecontext.cxx +++ b/oox/source/drawingml/chart/datasourcecontext.cxx @@ -110,8 +110,9 @@ void DoubleSequenceContext::onCharacters( const OUString& rChars ) -StringSequenceContext::StringSequenceContext( ContextHandler2Helper& rParent, DataSequenceModel& rModel ) : - DataSequenceContextBase( rParent, rModel ) +StringSequenceContext::StringSequenceContext( ContextHandler2Helper& rParent, DataSequenceModel& rModel ) + : DataSequenceContextBase( rParent, rModel ) + , mnPtIndex(-1) { } commit 00715826feeaa8c37c27f6da41fffaedf82480c1 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:20:26 2014 +0000 coverity#707939 Uninitialized scalar field Change-Id: I5cbb4e2fef4361085840c914e26bb494566a4600 diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 9489be2..4e43b93 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -147,10 +147,11 @@ private: }; OMarkableOutputStream::OMarkableOutputStream( ) + : m_bValidStream(false) + , m_nCurrentPos(0) + , m_nCurrentMark(0) { m_pBuffer = new MemRingBuffer; - m_nCurrentPos = 0; - m_nCurrentMark = 0; } OMarkableOutputStream::~OMarkableOutputStream() commit 3debbdf80c66e3d8b4e8c13efc88df96cb686331 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:19:40 2014 +0000 coverity#707938 Uninitialized scalar field Change-Id: Ic76e70a33ed33a94e06faf0168e9a740c736a19e diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 970c7e7..9489be2 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -561,13 +561,13 @@ private: }; OMarkableInputStream::OMarkableInputStream() + : m_bValidStream(false) + , m_nCurrentPos(0) + , m_nCurrentMark(0) { - m_nCurrentPos = 0; - m_nCurrentMark = 0; m_pBuffer = new MemRingBuffer; } - OMarkableInputStream::~OMarkableInputStream() { if( m_pBuffer ) { commit ec689e4561ea300ed1e381eae016b05211601763 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:18:18 2014 +0000 coverity#707935 Uninitialized scalar field Change-Id: I7c957419b72cc97dbec819c51acb521bcd716624 diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx index 60f86263..822a26b 100644 --- a/idlc/source/astdeclaration.cxx +++ b/idlc/source/astdeclaration.cxx @@ -49,6 +49,7 @@ AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pSc , m_bIsAdded(false) , m_bInMainFile(false) , m_bPredefined(false) + , m_lineNumber(0) { if ( m_pScope ) { commit 2a7f4e37b59fb0a49dad3cb466cdf22c409dc70e Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:16:08 2014 +0000 coverity#707933 Uninitialized scalar field Change-Id: I03c835327eabc9bfdc9904abb2ba6a8f13bd7207 diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index d0d6669..7867f18 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -40,6 +40,7 @@ SvMetaSlot::SvMetaSlot() , aRecordAbsolute( sal_False, sal_False ) , pLinkedSlot(0) , pNextSlot(0) + , nListPos(0) , pEnumValue(0) { } commit dbfff3f4ae1a98aec5eb22ea1ae9be950c888b1e Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:15:37 2014 +0000 coverity#707932 Uninitialized scalar field Change-Id: I73524c3e1911456ef14dcb07f073fed85f869524 diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 563511e..d0d6669 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -52,6 +52,7 @@ SvMetaSlot::SvMetaSlot( SvMetaType * pType ) , aRecordAbsolute( sal_False, sal_False ) , pLinkedSlot(0) , pNextSlot(0) + , nListPos(0) , pEnumValue(0) { } commit 27f033ec70b74fe8daa3563b02427df84fe138b8 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:14:04 2014 +0000 coverity#707931 Uninitialized scalar field Change-Id: I5c34f9bc96ee23fca6182740e3279de1485c61ea diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index 2f81635..558d47c 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -101,7 +101,11 @@ public: }; inline SvToken::SvToken() - : nType( SVTOKEN_EMPTY ) {} + : nLine(0) + , nColumn(0) + , nType( SVTOKEN_EMPTY ) +{ +} inline SvToken::SvToken( sal_uLong n ) : nType( SVTOKEN_INTEGER ), nLong( n ) {} commit 85391d4ee687172d9bd7e48c4b810a445d616e80 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:13:16 2014 +0000 coverity#707923 Uninitialized scalar field Change-Id: Ie1610a9e3df8e2844f4cc6b529d50db57ef8dc0e diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 3403350..9956797 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -109,6 +109,8 @@ void IndexTable::init(sal_Unicode start_, sal_Unicode end_, IndexKey *keys, sal_ } Index::Index(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext) + : table_count(0) + , key_count(0) { collator = new CollatorImpl(rxContext); } commit f442139aa062a56ea31c8ca7662f8a6beab7266a Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:11:51 2014 +0000 coverity#707922 Uninitialized scalar field Change-Id: I48f74be18664f8bf82e7b3f8576fef05b0e95630 diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 0986857..3403350 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -79,8 +79,10 @@ OUString SAL_CALL IndexEntrySupplier_Unicode::getIndexCharacter( const OUString& } IndexTable::IndexTable() + : start(0) + , end(0) + , table(0) { - table = NULL; } IndexTable::~IndexTable() commit 2a74c4630b38b087f736667d1fdbde07b26be619 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:10:41 2014 +0000 coverity#707889 Uninitialized scalar field Change-Id: Iabe7fe9fb5f996351ef025345f77e7fd53111b31 diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index a672e0c..08b4cf8 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -130,7 +130,9 @@ Bookmark::~Bookmark(void) // date format(7) -DateFormat::DateFormat(void):HBox(CH_DATE_FORM) +DateFormat::DateFormat() + : HBox(CH_DATE_FORM) + , dummy(0) { } commit 4fd7be20ddb10b3fdaf3d483a1ac041ee18d30fe Author: Caolán McNamara <caol...@redhat.com> Date: Sat Mar 8 20:09:46 2014 +0000 coverity#707887 Uninitialized scalar field Change-Id: I84c8748b7bcbf7a6aaf7aad34135a9af2428761e diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index aea23fa..387dec6 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -618,11 +618,13 @@ UICommandDescription::UICommandDescription( const Reference< XComponentContext > if ( pIter != m_aUICommandsHashMap.end() ) pIter->second = m_xGenericUICommands; } -UICommandDescription::UICommandDescription( const Reference< XComponentContext >& rxContext, bool ) : - UICommandDescription_BASE(*static_cast<osl::Mutex *>(this)), - m_xContext( rxContext ) +UICommandDescription::UICommandDescription(const Reference< XComponentContext >& rxContext, bool) + : UICommandDescription_BASE(*static_cast<osl::Mutex *>(this)) + , m_bConfigRead(false) + , m_xContext(rxContext) { } + UICommandDescription::~UICommandDescription() { osl::MutexGuard g(rBHelper.rMutex);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits