comphelper/source/misc/syntaxhighlight.cxx | 1 include/svtools/ruler.hxx | 10 +++++- svx/source/items/numfmtsh.cxx | 44 +++++++++++++++-------------- 3 files changed, 33 insertions(+), 22 deletions(-)
New commits: commit 2e1933af841bc942d0283a1943a0dd7ca0fa5357 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Jan 26 23:05:48 2014 -0600 coverity#1103752 : Uninitialized scalar field Change-Id: Ifa23d7767a1e6b9a3573d9e58bf5b36ac67ef612 diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 0d0ad2e..15b20a7 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -65,16 +65,18 @@ SvxNumberFormatShell* SvxNumberFormatShell::Create( SvNumberFormatter* pNumForma SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter, sal_uInt32 nFormatKey, SvxNumberValueType eNumValType, - const OUString& rNumStr ) : - pFormatter ( pNumFormatter ), - pCurFmtTable ( NULL ), - eValType ( eNumValType ), - bUndoAddList ( true ), - nCurFormatKey ( nFormatKey ), - pCurCurrencyEntry(NULL), - bBankingSymbol (false), - nCurCurrencyEntryPos((sal_uInt16) SELPOS_NONE), - bUseStarFormat (false) + const OUString& rNumStr ) + : pFormatter ( pNumFormatter ) + , pCurFmtTable ( NULL ) + , eValType ( eNumValType ) + , bUndoAddList ( true ) + , nCurFormatKey ( nFormatKey ) + , nCurCategory (NUMBERFORMAT_ALL) + , eCurLanguage (LANGUAGE_NONE) + , pCurCurrencyEntry(NULL) + , bBankingSymbol (false) + , nCurCurrencyEntryPos((sal_uInt16) SELPOS_NONE) + , bUseStarFormat (false) { nValNum = DEFAULT_NUMVALUE; commit e0b6d450882c6e37f4a59651e67de9ba18305f66 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Jan 26 23:02:49 2014 -0600 coverity#1103753 : Uninitialized scalar field Change-Id: I1d4b59fb0a4f6eadcc1e46c6ce5bf2a209684299 diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 118ff9a..0d0ad2e 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -96,16 +96,18 @@ SvxNumberFormatShell::SvxNumberFormatShell( SvNumberFormatter* pNumFormatter, sal_uInt32 nFormatKey, SvxNumberValueType eNumValType, double nNumVal, - const OUString* pNumStr ) : - pFormatter ( pNumFormatter ), - pCurFmtTable ( NULL ), - eValType ( eNumValType ), - bUndoAddList ( true ), - nCurFormatKey ( nFormatKey ), - pCurCurrencyEntry(NULL), - bBankingSymbol (false), - nCurCurrencyEntryPos((sal_uInt16) SELPOS_NONE), - bUseStarFormat (false) + const OUString* pNumStr ) + : pFormatter ( pNumFormatter ) + , pCurFmtTable ( NULL ) + , eValType ( eNumValType ) + , bUndoAddList ( true ) + , nCurFormatKey ( nFormatKey ) + , nCurCategory (NUMBERFORMAT_ALL) + , eCurLanguage (LANGUAGE_NONE) + , pCurCurrencyEntry(NULL) + , bBankingSymbol (false) + , nCurCurrencyEntryPos((sal_uInt16) SELPOS_NONE) + , bUseStarFormat (false) { // #50441# When used in Writer, the SvxNumberInfoItem contains the // original string in addition to the value commit a11c92ddda29373fa80e276198737476767e9a42 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Jan 26 22:48:43 2014 -0600 coverity#1103754 : Uninitialized scalar field Change-Id: I8323c6fc754835728d98a028424d4c90f7bd97f7 diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 5d53a96..eb7eadd 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -579,8 +579,14 @@ struct RulerSelection bool bSizeBar; bool bExpandTest; - RulerSelection() : - bExpandTest( false ) + RulerSelection() + : nPos(0) + , eType(RULER_TYPE_DONTKNOW) + , nAryPos(0) + , mnDragSize(0) + , bSize(false) + , bSizeBar(false) + , bExpandTest( false ) {} }; commit 8df4ce0ebe1240ed8f6def3af8f810e3f207555f Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Jan 26 22:40:27 2014 -0600 coverity#1130481 : Uninitialized scalar field Change-Id: I41025a3dfe16af9417b1ae8c7668c76cb501c7b9 diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index 580f284..012dd9e 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -658,6 +658,7 @@ SyntaxHighlighter::Tokenizer::Tokenizer( HighlighterLanguage aLang ): aLanguage( aCharTypeTab[(int)'\n'] |= CHAR_EOL; ppListKeyWords = NULL; + nKeyWordCount = 0; } SyntaxHighlighter::Tokenizer::~Tokenizer( void ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits