summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-26 23:02:49 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-26 23:02:49 -0600
commite0b6d450882c6e37f4a59651e67de9ba18305f66 (patch)
tree0c78a3c6b9df16259b623080eb2d0f3cc7d38049 /svx
parenta11c92ddda29373fa80e276198737476767e9a42 (diff)
coverity#1103753 : Uninitialized scalar field
Change-Id: I1d4b59fb0a4f6eadcc1e46c6ce5bf2a209684299
Diffstat (limited to 'svx')
-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 118ff9a1b765..0d0ad2e6dda4 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