summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-06-08 12:02:38 +0200
committersj <sj@openoffice.org>2010-06-08 12:02:38 +0200
commitd730f6bd0a1478f03311642b490918f2b1a6f844 (patch)
tree63f14ff38d221f001841ee424e883d8a47ebd227 /oox
parent39dd46fae7591dc6853c1eb60d4d328fdce975ee (diff)
removed compiler warnings
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapegeometry.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx
index a59373a061eb..a0fcc3142f51 100644
--- a/oox/source/drawingml/customshapegeometry.cxx
+++ b/oox/source/drawingml/customshapegeometry.cxx
@@ -107,13 +107,13 @@ rtl::OUString GetFormulaParameter( const EnhancedCustomShapeParameter& rParamete
{
if ( rParameter.Value.getValueTypeClass() == TypeClass_DOUBLE )
{
- double fValue;
+ double fValue = 0.0;
if ( rParameter.Value >>= fValue )
aRet = rtl::OUString::valueOf( fValue );
}
else
{
- sal_Int32 nValue;
+ sal_Int32 nValue = 0;
if ( rParameter.Value >>= nValue )
aRet = rtl::OUString::valueOf( nValue );
}
@@ -134,7 +134,6 @@ rtl::OUString GetFormulaParameter( const EnhancedCustomShapeParameter& rParamete
else
{
// ups... we should have an index here and not the formula name
- sal_Bool bNoGood = sal_True;
}
}
break;
@@ -153,7 +152,6 @@ rtl::OUString GetFormulaParameter( const EnhancedCustomShapeParameter& rParamete
else
{
// ups... we should have an index here and not the formula name
- sal_Bool bNotGood = sal_True;
}
}
break;
@@ -989,8 +987,8 @@ protected:
Path2DContext::Path2DContext( ContextHandler& rParent, const Reference< XFastAttributeList >& xAttribs, CustomShapeProperties& rCustomShapeProperties, std::vector< com::sun::star::drawing::EnhancedCustomShapeSegment >& rSegments, Path2D& rPath2D )
: ContextHandler( rParent )
-, mrSegments( rSegments )
, mrPath2D( rPath2D )
+, mrSegments( rSegments )
, mrCustomShapeProperties( rCustomShapeProperties )
{
const rtl::OUString aEmptyString;