summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index f81cd9195edb..2fde292cce42 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1722,7 +1722,7 @@ void DrawingML::WriteShapeStyle( Reference< XPropertySet > xPropSet )
if( aFillRefProperties.getLength() > 0 )
{
OUString sSchemeClr;
- sal_uInt32 nIdx;
+ sal_uInt32 nIdx = 0;
for( sal_Int32 i=0; i < aFillRefProperties.getLength(); ++i)
if( aFillRefProperties[i].Name == "SchemeClr" )
aFillRefProperties[i].Value >>= sSchemeClr;