[Libreoffice-commits] core.git: oox/source
Tor Lillqvist
tml at collabora.com
Tue Jan 21 06:52:26 PST 2014
oox/source/export/drawingml.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 35539318cecddc9ccb2904573a894ea05adc432c
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Jan 21 16:50:58 2014 +0200
WaE: C4701: potentially uninitialized local variable 'nIdx' used
Change-Id: If05dd971ad62b059499c50bfc0b82b28e19fee4a
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index f81cd91..2fde292 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;
More information about the Libreoffice-commits
mailing list