summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-01-21 16:50:58 +0200
committerTor Lillqvist <tml@collabora.com>2014-01-21 16:50:58 +0200
commit35539318cecddc9ccb2904573a894ea05adc432c (patch)
tree081560f86c85586bbf2a76e6e7ca73386e5046bf /oox
parent0a4abbda7c08ecc52712e356371a415137137929 (diff)
WaE: C4701: potentially uninitialized local variable 'nIdx' used
Change-Id: If05dd971ad62b059499c50bfc0b82b28e19fee4a
Diffstat (limited to 'oox')
-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;