summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-19 10:23:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-19 10:23:25 +0200
commit390a56b5224fa43fd98dfbf09f5710bd40608bf3 (patch)
treeb1a956b49152e9637fd9f2649b6ad88c8bf31caa /drawinglayer/source
parent173d769a9d32af83ea75dcf4d23b7663a5f19cb9 (diff)
Work around bogus Mac GCC uninitialized warnings
Change-Id: I174b34835cc955c234a06618a48f61fc700e4400
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/dumper/EnhancedShapeDumper.cxx4
-rw-r--r--drawinglayer/source/dumper/XShapeDumper.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/drawinglayer/source/dumper/EnhancedShapeDumper.cxx b/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
index 4d7c05641db6..a0ad98a53aae 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 eca83e073e48..ee588bed0e6f 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);
}