summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-09-16 10:49:55 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-16 10:49:55 +0200
commit24e77af99f74983060de7cb16abe50fb712cb4ad (patch)
treeba02e4518ef9edb30fa15172bce99dce91a648f6 /svl
parent5eb37164d91628c0e8ccc56e014fa8b56f5dd946 (diff)
svtools-uninitialized-member-fix.diff: initialize data members for sure
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforfind.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index bdf150f515d4..72a9d39745b4 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -84,7 +84,9 @@ ImpSvNumberInputScan::ImpSvNumberInputScan( SvNumberFormatter* pFormatterP )
pUpperMonthText( NULL ),
pUpperAbbrevMonthText( NULL ),
pUpperDayText( NULL ),
- pUpperAbbrevDayText( NULL )
+ pUpperAbbrevDayText( NULL ),
+ eScannedType( NUMBERFORMAT_UNDEFINED ),
+ eSetType( NUMBERFORMAT_UNDEFINED )
{
pFormatter = pFormatterP;
pNullDate = new Date(30,12,1899);