diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:01:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 16:39:03 +0000 |
commit | 56ec1133d6d3cdb5561044200812296344239d50 (patch) | |
tree | 8e8663a74ab2af55216fe972902772ee80ccd3b7 /svx | |
parent | c8f271d457be33050a94b0ea4b7fd10b6c55f3a7 (diff) |
cppcheck: uninit variable
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx index 3f079e3dc6..1996f6b545 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx @@ -61,7 +61,7 @@ void EnhancedCustomShape::FillEquationParameter( const EnhancedCustomShapeParame sal_Int32 nValue = 0; if ( rSource.Value.getValueTypeClass() == uno::TypeClass_DOUBLE ) { - double fValue; + double fValue(0.0); if ( rSource.Value >>= fValue ) nValue = (sal_Int32)fValue; } |