summaryrefslogtreecommitdiff
path: root/chart2/workbench
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
committerCaolán McNamara <cmc@openoffice.org>2010-01-23 12:35:22 +0000
commit00511b8eefe78bdf357bd3b491cb1ded56e571e9 (patch)
tree44a49384091ffebedc574d1c719b8b3ebc6a392a /chart2/workbench
parent60fdd54890f04949f1b82d4f7a4903e65f165a7c (diff)
cmcfixes71: #i108597# fix uninit warnings
Diffstat (limited to 'chart2/workbench')
-rw-r--r--chart2/workbench/addin/sampleaddin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx
index 30a988aa99d0..c2b9548411d5 100644
--- a/chart2/workbench/addin/sampleaddin.cxx
+++ b/chart2/workbench/addin/sampleaddin.cxx
@@ -138,7 +138,7 @@ sal_Bool SampleAddIn::getLogicalPosition( uno::Reference< drawing::XShape >& xAx
{
try
{
- double fMin, fMax;
+ double fMin(0.0), fMax(0.0);
uno::Any aAny = xProp->getPropertyValue( OUString::createFromAscii( "Min" ));
aAny >>= fMin;
aAny = xProp->getPropertyValue( OUString::createFromAscii( "Max" ));