[Libreoffice-commits] core.git: sw/qa

Tor Lillqvist tml at collabora.com
Thu Sep 12 05:29:23 PDT 2013


 sw/qa/extras/ooxmlimport/ooxmlimport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b32ca041cd88467d3862eab4460dfe4bb693b8b8
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Sep 12 15:08:02 2013 +0300

    WaE: C4701: potentially uninitialized local variables
    
    Change-Id: I323fa5f1c9b94166d32b0457905ccb1ec06ecd5c

diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 6076d77..9a0a10c 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -551,7 +551,7 @@ void Test::testSmartart()
     xGroupPropertySet->getPropertyValue(OUString::createFromAscii("InteropGrabBag")) >>= aGrabBag;
     CPPUNIT_ASSERT(aGrabBag.hasElements()); // Grab Bag not empty
 
-    sal_Bool bData, bLayout, bQStyle, bColor, bDrawing = sal_False;
+    sal_Bool bData = sal_False, bLayout = sal_False, bQStyle = sal_False, bColor = sal_False, bDrawing = sal_False;
     for(int i = 0; i < aGrabBag.getLength(); ++i)
     {
       if (aGrabBag[i].Name == OUString::createFromAscii("OOXData"))


More information about the Libreoffice-commits mailing list