summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
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);
}