oox/source/export/drawingml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 35539318cecddc9ccb2904573a894ea05adc432c
Author: Tor Lillqvist <t...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to