summaryrefslogtreecommitdiff
path: root/svx/source/items
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-26 23:05:48 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-26 23:05:48 -0600
commit2e1933af841bc942d0283a1943a0dd7ca0fa5357 (patch)
tree7ddd85b69ac832211f36b08b98c05fbe86cac217 /svx/source/items
parente0b6d450882c6e37f4a59651e67de9ba18305f66 (diff)
coverity#1103752 : Uninitialized scalar field
Change-Id: Ifa23d7767a1e6b9a3573d9e58bf5b36ac67ef612
Diffstat (limited to 'svx/source/items')
-rw-r--r--svx/source/items/numfmtsh.cxx22
1 files changed, 12 insertions, 10 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 0d0ad2e6dda4..15b20a79003d 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;