Kaydet (Commit) 5a3eb922 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Work around bogus Mac GCC uninitialized warnings

Change-Id: Ia735ee75b75b3e2dafe610cf5cd513dd7d4b7392
üst d8720d4e
...@@ -624,19 +624,19 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b ...@@ -624,19 +624,19 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b
{ {
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredX"); uno::Any anotherAny = xPropSet->getPropertyValue("MirroredX");
sal_Bool bMirroredX; sal_Bool bMirroredX = sal_Bool();
if(anotherAny >>= bMirroredX) if(anotherAny >>= bMirroredX)
dumpMirroredXAsAttribute(bMirroredX); dumpMirroredXAsAttribute(bMirroredX);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredY"); uno::Any anotherAny = xPropSet->getPropertyValue("MirroredY");
sal_Bool bMirroredY; sal_Bool bMirroredY = sal_Bool();
if(anotherAny >>= bMirroredY) if(anotherAny >>= bMirroredY)
dumpMirroredYAsAttribute(bMirroredY); dumpMirroredYAsAttribute(bMirroredY);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("Switched"); uno::Any anotherAny = xPropSet->getPropertyValue("Switched");
sal_Bool bSwitched; sal_Bool bSwitched = sal_Bool();
if(anotherAny >>= bSwitched) if(anotherAny >>= bSwitched)
dumpSwitchedAsAttribute(bSwitched); dumpSwitchedAsAttribute(bSwitched);
} }
...@@ -654,25 +654,25 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b ...@@ -654,25 +654,25 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("RefX"); uno::Any anotherAny = xPropSet->getPropertyValue("RefX");
sal_Int32 aRefX; sal_Int32 aRefX = sal_Int32();
if(anotherAny >>= aRefX) if(anotherAny >>= aRefX)
dumpRefXAsAttribute(aRefX); dumpRefXAsAttribute(aRefX);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("RefY"); uno::Any anotherAny = xPropSet->getPropertyValue("RefY");
sal_Int32 aRefY; sal_Int32 aRefY = sal_Int32();
if(anotherAny >>= aRefY) if(anotherAny >>= aRefY)
dumpRefYAsAttribute(aRefY); dumpRefYAsAttribute(aRefY);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("RefAngle"); uno::Any anotherAny = xPropSet->getPropertyValue("RefAngle");
sal_Int32 aRefAngle; sal_Int32 aRefAngle = sal_Int32();
if(anotherAny >>= aRefAngle) if(anotherAny >>= aRefAngle)
dumpRefAngleAsAttribute(aRefAngle); dumpRefAngleAsAttribute(aRefAngle);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("RefR"); uno::Any anotherAny = xPropSet->getPropertyValue("RefR");
sal_Int32 aRefR; sal_Int32 aRefR = sal_Int32();
if(anotherAny >>= aRefR) if(anotherAny >>= aRefR)
dumpRefRAsAttribute(aRefR); dumpRefRAsAttribute(aRefR);
} }
......
...@@ -1454,19 +1454,19 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x ...@@ -1454,19 +1454,19 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineColor"); uno::Any anotherAny = xPropSet->getPropertyValue("LineColor");
sal_Int32 aLineColor; sal_Int32 aLineColor = sal_Int32();
if(anotherAny >>= aLineColor) if(anotherAny >>= aLineColor)
dumpLineColorAsAttribute(aLineColor, xmlWriter); dumpLineColorAsAttribute(aLineColor, xmlWriter);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineTransparence"); uno::Any anotherAny = xPropSet->getPropertyValue("LineTransparence");
sal_Int32 aLineTransparence; sal_Int32 aLineTransparence = sal_Int32();
if(anotherAny >>= aLineTransparence) if(anotherAny >>= aLineTransparence)
dumpLineTransparenceAsAttribute(aLineTransparence, xmlWriter); dumpLineTransparenceAsAttribute(aLineTransparence, xmlWriter);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineWidth"); uno::Any anotherAny = xPropSet->getPropertyValue("LineWidth");
sal_Int32 aLineWidth; sal_Int32 aLineWidth = sal_Int32();
if(anotherAny >>= aLineWidth) if(anotherAny >>= aLineWidth)
dumpLineWidthAsAttribute(aLineWidth, xmlWriter); dumpLineWidthAsAttribute(aLineWidth, xmlWriter);
} }
...@@ -1502,25 +1502,25 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x ...@@ -1502,25 +1502,25 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineStartCenter"); uno::Any anotherAny = xPropSet->getPropertyValue("LineStartCenter");
sal_Bool bLineStartCenter; sal_Bool bLineStartCenter = sal_Bool();
if(anotherAny >>= bLineStartCenter) if(anotherAny >>= bLineStartCenter)
dumpLineStartCenterAsAttribute(bLineStartCenter, xmlWriter); dumpLineStartCenterAsAttribute(bLineStartCenter, xmlWriter);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineStartWidth"); uno::Any anotherAny = xPropSet->getPropertyValue("LineStartWidth");
sal_Int32 aLineStartWidth; sal_Int32 aLineStartWidth = sal_Int32();
if(anotherAny >>= aLineStartWidth) if(anotherAny >>= aLineStartWidth)
dumpLineStartWidthAsAttribute(aLineStartWidth, xmlWriter); dumpLineStartWidthAsAttribute(aLineStartWidth, xmlWriter);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineEndCenter"); uno::Any anotherAny = xPropSet->getPropertyValue("LineEndCenter");
sal_Bool bLineEndCenter; sal_Bool bLineEndCenter = sal_Bool();
if(anotherAny >>= bLineEndCenter) if(anotherAny >>= bLineEndCenter)
dumpLineEndCenterAsAttribute(bLineEndCenter, xmlWriter); dumpLineEndCenterAsAttribute(bLineEndCenter, xmlWriter);
} }
{ {
uno::Any anotherAny = xPropSet->getPropertyValue("LineEndWidth"); uno::Any anotherAny = xPropSet->getPropertyValue("LineEndWidth");
sal_Int32 aLineEndWidth; sal_Int32 aLineEndWidth = sal_Int32();
if(anotherAny >>= aLineEndWidth) if(anotherAny >>= aLineEndWidth)
dumpLineEndWidthAsAttribute(aLineEndWidth, xmlWriter); dumpLineEndWidthAsAttribute(aLineEndWidth, xmlWriter);
} }
......
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