summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-06-14 23:31:29 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-06-14 23:31:29 +0200
commit5af60dc534b9217e2c799aacbff03bdf727e806e (patch)
treed10089ac7eeea3f680b7768109b21f7262aef52d /filter
parentcc85e1303fbdf7d1ff9c5b63ed9942206b53ddac (diff)
Fix uninitialized values
Change-Id: I62b6cb30aeab40be18e5943a27ccd1d7130ad073
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 16459e5491e0..9c76138d3fd4 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -1953,7 +1953,7 @@ sal_Int32 GetValueForEnhancedCustomShapeParameter( const com::sun::star::drawing
sal_Int32 nValue = 0;
if ( rParameter.Value.getValueTypeClass() == uno::TypeClass_DOUBLE )
{
- double fValue;
+ double fValue(0.0);
if ( rParameter.Value >>= fValue )
nValue = (sal_Int32)fValue;
}
@@ -1983,7 +1983,7 @@ sal_Bool GetValueForEnhancedCustomShapeHandleParameter( sal_Int32& nRetValue, co
nRetValue = 0;
if ( rParameter.Value.getValueTypeClass() == uno::TypeClass_DOUBLE )
{
- double fValue;
+ double fValue(0.0);
if ( rParameter.Value >>= fValue )
nRetValue = (sal_Int32)fValue;
}