summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2011-02-02 10:16:51 +0100
committerVladimir Glazunov <vg@openoffice.org>2011-02-02 10:16:51 +0100
commitb8e3d5a9d56ef6dd49b8b52bc22f2529591e16ef (patch)
tree02983653ad080a6dfdaebb6572828fa683c1adf6 /sc
parentbe6d1a44a1d64d0cc3624b3044819c6f636f5913 (diff)
#i10000# WAE: initialize variables
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xechart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index 42d71d1063ee..0d04255f0141 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -191,7 +191,7 @@ sal_uInt16 lclGetTimeValue( const XclExpRoot& rRoot, double fSerialDate, sal_uIn
bool lclConvertTimeValue( const XclExpRoot& rRoot, sal_uInt16& rnValue, const Any& rAny, sal_uInt16 nTimeUnit )
{
- double fSerialDate;
+ double fSerialDate = 0;
bool bAuto = lclIsAutoAnyOrGetValue( fSerialDate, rAny );
if( !bAuto )
rnValue = lclGetTimeValue( rRoot, fSerialDate, nTimeUnit );