summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-18 00:30:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-18 00:40:34 +0000
commitaecb97a421b02a65443ec1722b3b35719a7734d1 (patch)
tree8c0b39a3afe387fa8d5d6f46535741945e3a2007 /svl
parent134374473ea481410f389cab162a52fab62c5c43 (diff)
coverity#984042 Uninitialized scalar variable
Change-Id: If75afb24632553bb9aa90990c347ad8851ee55a9
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 9709110909ea..759136f60016 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -3629,7 +3629,7 @@ bool SvNumberformat::ImpGetDateOutput(double fNumber,
int nUseMonthCase = 0; // not decided yet
OUString aOrgCalendar; // empty => not changed yet
- double fOrgDateTime;
+ double fOrgDateTime(0.);
bool bOtherCalendar = ImpIsOtherCalendar( NumFor[nIx] );
if ( bOtherCalendar )
{