Kaydet (Commit) b32ca041 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4701: potentially uninitialized local variables

Change-Id: I323fa5f1c9b94166d32b0457905ccb1ec06ecd5c
üst 015a0a65
...@@ -551,7 +551,7 @@ void Test::testSmartart() ...@@ -551,7 +551,7 @@ void Test::testSmartart()
xGroupPropertySet->getPropertyValue(OUString::createFromAscii("InteropGrabBag")) >>= aGrabBag; xGroupPropertySet->getPropertyValue(OUString::createFromAscii("InteropGrabBag")) >>= aGrabBag;
CPPUNIT_ASSERT(aGrabBag.hasElements()); // Grab Bag not empty 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) for(int i = 0; i < aGrabBag.getLength(); ++i)
{ {
if (aGrabBag[i].Name == OUString::createFromAscii("OOXData")) if (aGrabBag[i].Name == OUString::createFromAscii("OOXData"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment