summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-28 15:03:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-28 15:03:38 +0100
commit79bc947773f5c083f5245a81b9e54117add9fa88 (patch)
tree925589ac0117ea6420bb07b6b406f71e50bd7983 /sc
parent20481510003524af3e4b50c073a4f9bae87acb1f (diff)
warning C4701: potentially uninitialized local variable 'fVal' used
Change-Id: I412ab50b7c6e7cf6e32a42fb92cdbab513f42dce
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/ddelink.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx
index 0a431aea3412..4a14ccf297ef 100644
--- a/sc/source/core/tool/ddelink.cxx
+++ b/sc/source/core/tool/ddelink.cxx
@@ -192,7 +192,7 @@ sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged(
{
aEntry = aLine.GetToken( (xub_StrLen) nC, '\t' );
sal_uInt32 nIndex = nStdFormat;
- double fVal;
+ double fVal = double();
if ( nMode != SC_DDE_TEXT && pFormatter->IsNumberFormat( aEntry, nIndex, fVal ) )
pResult->PutDouble( fVal, nC, nR );
else if (aEntry.Len() == 0)