[Libreoffice-commits] .: drawinglayer/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Jul 19 01:23:39 PDT 2012
drawinglayer/source/dumper/EnhancedShapeDumper.cxx | 4 ++--
drawinglayer/source/dumper/XShapeDumper.cxx | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 390a56b5224fa43fd98dfbf09f5710bd40608bf3
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jul 19 10:23:25 2012 +0200
Work around bogus Mac GCC uninitialized warnings
Change-Id: I174b34835cc955c234a06618a48f61fc700e4400
diff --git a/drawinglayer/source/dumper/EnhancedShapeDumper.cxx b/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
index 4d7c056..a0ad98a 100644
--- a/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
+++ b/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
@@ -1026,7 +1026,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeTextPathService(uno::Reference<
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextPath");
- sal_Bool bTextPath;
+ sal_Bool bTextPath = sal_Bool();
if(anotherAny >>= bTextPath)
dumpTextPathAsAttribute(bTextPath);
}
@@ -1038,7 +1038,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeTextPathService(uno::Reference<
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ScaleX");
- sal_Bool bScaleX;
+ sal_Bool bScaleX = sal_Bool();
if(anotherAny >>= bScaleX)
dumpScaleXAsAttribute(bScaleX);
}
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index eca83e0..ee588be 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1530,31 +1530,31 @@ void dumpShadowPropertiesService(uno::Reference< beans::XPropertySet > xPropSet,
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("Shadow");
- sal_Bool bShadow;
+ sal_Bool bShadow = sal_Bool();
if(anotherAny >>= bShadow)
dumpShadowAsAttribute(bShadow, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ShadowColor");
- sal_Int32 aShadowColor;
+ sal_Int32 aShadowColor = sal_Int32();
if(anotherAny >>= aShadowColor)
dumpShadowColorAsAttribute(aShadowColor, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ShadowTransparence");
- sal_Int32 aShadowTransparence;
+ sal_Int32 aShadowTransparence = sal_Int32();
if(anotherAny >>= aShadowTransparence)
dumpShadowTransparenceAsAttribute(aShadowTransparence, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ShadowXDistance");
- sal_Int32 aShadowXDistance;
+ sal_Int32 aShadowXDistance = sal_Int32();
if(anotherAny >>= aShadowXDistance)
dumpShadowXDistanceAsAttribute(aShadowXDistance, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ShadowYDistance");
- sal_Int32 aShadowYDistance;
+ sal_Int32 aShadowYDistance = sal_Int32();
if(anotherAny >>= aShadowYDistance)
dumpShadowYDistanceAsAttribute(aShadowYDistance, xmlWriter);
}
More information about the Libreoffice-commits
mailing list