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