diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-19 11:57:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-19 11:57:19 +0200 |
commit | 042686d3ead3ed9aa1e70460c25d471c380b177b (patch) | |
tree | 8b01b9d24969a13bd5e6c881fd7f49e83bbf25e6 /drawinglayer/source/dumper/XShapeDumper.cxx | |
parent | 8cd92447d78c4fe9f93e1a6ee3031b4d8d5ec477 (diff) |
Work around bogus Mac GCC uninitialized warnings
Change-Id: I04f64b11b484be8c997e1dbab8de35282fa64289
Diffstat (limited to 'drawinglayer/source/dumper/XShapeDumper.cxx')
-rw-r--r-- | drawinglayer/source/dumper/XShapeDumper.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx index e60879d90419..f21157544925 100644 --- a/drawinglayer/source/dumper/XShapeDumper.cxx +++ b/drawinglayer/source/dumper/XShapeDumper.cxx @@ -1587,13 +1587,13 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo(); { uno::Any anotherAny = xPropSet->getPropertyValue("ZOrder"); - sal_Int32 aZOrder; + sal_Int32 aZOrder = sal_Int32(); if(anotherAny >>= aZOrder) dumpZOrderAsAttribute(aZOrder, xmlWriter); } { uno::Any anotherAny = xPropSet->getPropertyValue("LayerID"); - sal_Int32 aLayerID; + sal_Int32 aLayerID = sal_Int32(); if(anotherAny >>= aLayerID) dumpLayerIDAsAttribute(aLayerID, xmlWriter); } @@ -1605,19 +1605,19 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri } { uno::Any anotherAny = xPropSet->getPropertyValue("Visible"); - sal_Bool bVisible; + sal_Bool bVisible = sal_Bool(); if(anotherAny >>= bVisible) dumpVisibleAsAttribute(bVisible, xmlWriter); } { uno::Any anotherAny = xPropSet->getPropertyValue("Printable"); - sal_Bool bPrintable; + sal_Bool bPrintable = sal_Bool(); if(anotherAny >>= bPrintable) dumpPrintableAsAttribute(bPrintable, xmlWriter); } { uno::Any anotherAny = xPropSet->getPropertyValue("MoveProtect"); - sal_Bool bMoveProtect; + sal_Bool bMoveProtect = sal_Bool(); if(anotherAny >>= bMoveProtect) dumpMoveProtectAsAttribute(bMoveProtect, xmlWriter); } @@ -1629,7 +1629,7 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri } { uno::Any anotherAny = xPropSet->getPropertyValue("SizeProtect"); - sal_Bool bSizeProtect; + sal_Bool bSizeProtect = sal_Bool(); if(anotherAny >>= bSizeProtect) dumpSizeProtectAsAttribute(bSizeProtect, xmlWriter); } @@ -1641,7 +1641,7 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri } { uno::Any anotherAny = xPropSet->getPropertyValue("NavigationOrder"); - sal_Int32 aNavigationOrder; + sal_Int32 aNavigationOrder = sal_Int32(); if(anotherAny >>= aNavigationOrder) dumpNavigationOrderAsAttribute(aNavigationOrder, xmlWriter); } |