summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-11 15:39:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-12 13:00:56 +0000
commit67f1c1fcb0bc0ee84526f85acb83a4aef98fa965 (patch)
treea361a6f63c68e98708a09b8784b56a95de658b4c /svx
parent6fa35857f82c610573661cd6226154168e4107ee (diff)
cppcheck: silence warning
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 200aa1e6b35e..59081412e522 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -999,7 +999,7 @@ sal_Bool EnhancedCustomShape2d::GetParameter( double& rRetValue, const EnhancedC
{
if ( rParameter.Value.getValueTypeClass() == TypeClass_DOUBLE )
{
- double fValue;
+ double fValue(0.0);
if ( rParameter.Value >>= fValue )
{
rRetValue = fValue;