summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-14 22:25:00 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-14 22:35:52 +0200
commit7ea20ee3d08ef409d6bfbac222b20d0791294558 (patch)
treeea452a4f3e5ec9633cdd9388dfb17e9f1576256a /oox
parent057d59533695f3a283c0a4427813d76a27798a20 (diff)
WaE: warning C4701: potentially uninitialized local variable
Change-Id: I00a4ebdcfc278274a567403bc1ccb5332ada836f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 2f9f7f275eee..1d663e48ce0b 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -2497,7 +2497,8 @@ void DrawingML::WriteShape3DEffects( Reference< XPropertySet > xPropSet )
if( aExtrusionColorProps.getLength() > 0 )
{
OUString sSchemeClr;
- sal_Int32 nColor, nTransparency;
+ sal_Int32 nColor(0);
+ sal_Int32 nTransparency(0);
Sequence< PropertyValue > aColorTransformations;
for( sal_Int32 i=0; i < aExtrusionColorProps.getLength(); ++i )
{
@@ -2522,7 +2523,8 @@ void DrawingML::WriteShape3DEffects( Reference< XPropertySet > xPropSet )
if( aContourColorProps.getLength() > 0 )
{
OUString sSchemeClr;
- sal_Int32 nColor, nTransparency;
+ sal_Int32 nColor(0);
+ sal_Int32 nTransparency(0);
Sequence< PropertyValue > aColorTransformations;
for( sal_Int32 i=0; i < aContourColorProps.getLength(); ++i )
{