summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-04 14:58:05 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:48 +0200
commitc2e98d3cc9e2642d746a9933fcd91230a7378aa1 (patch)
treeb483e7bc2a8a1e0250f9375781125a3369165354 /drawinglayer
parent8ab93ae45ee32f18eb435606e4c183cf9eb87d1b (diff)
drawinglayer: sal_Bool->bool
Change-Id: I893d00a61d314926f84fb3e94743aba2ef5622c4
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/dumper/EnhancedShapeDumper.cxx64
-rw-r--r--drawinglayer/source/dumper/EnhancedShapeDumper.hxx28
-rw-r--r--drawinglayer/source/dumper/XShapeDumper.cxx104
-rw-r--r--drawinglayer/source/geometry/viewinformation2d.cxx2
4 files changed, 99 insertions, 99 deletions
diff --git a/drawinglayer/source/dumper/EnhancedShapeDumper.cxx b/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
index 20eb99d4506d..9cbc6b8309b0 100644
--- a/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
+++ b/drawinglayer/source/dumper/EnhancedShapeDumper.cxx
@@ -21,7 +21,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("Extrusion");
- sal_Bool bExtrusion = sal_Bool();
+ bool bExtrusion;
if(anotherAny >>= bExtrusion)
dumpExtrusionAsAttribute(bExtrusion);
}
@@ -51,19 +51,19 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("LightFace");
- sal_Bool bLightFace = sal_Bool();
+ bool bLightFace;
if(anotherAny >>= bLightFace)
dumpLightFaceAsAttribute(bLightFace);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("FirstLightHarsh");
- sal_Bool bFirstLightHarsh = sal_Bool();
+ bool bFirstLightHarsh;
if(anotherAny >>= bFirstLightHarsh)
dumpFirstLightHarshAsAttribute(bFirstLightHarsh);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("SecondLightHarsh");
- sal_Bool bSecondLightHarsh = sal_Bool();
+ bool bSecondLightHarsh;
if(anotherAny >>= bSecondLightHarsh)
dumpSecondLightHarshAsAttribute(bSecondLightHarsh);
}
@@ -93,7 +93,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("Metal");
- sal_Bool bMetal = sal_Bool();
+ bool bMetal;
if(anotherAny >>= bMetal)
dumpMetalAsAttribute(bMetal);
}
@@ -153,12 +153,12 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ExtrusionColor");
- sal_Bool bExtrusionColor = sal_Bool();
+ bool bExtrusionColor;
if(anotherAny >>= bExtrusionColor)
dumpExtrusionColorAsAttribute(bExtrusionColor);
}
}
-void EnhancedShapeDumper::dumpExtrusionAsAttribute(sal_Bool bExtrusion)
+void EnhancedShapeDumper::dumpExtrusionAsAttribute(bool bExtrusion)
{
if(bExtrusion)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("extrusion"), "%s", "true");
@@ -202,7 +202,7 @@ void EnhancedShapeDumper::dumpNumberOfLineSegmentsAsAttribute(sal_Int32 aNumberO
xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("numberOfLineSegments"), "%" SAL_PRIdINT32, aNumberOfLineSegments);
}
-void EnhancedShapeDumper::dumpLightFaceAsAttribute(sal_Bool bLightFace)
+void EnhancedShapeDumper::dumpLightFaceAsAttribute(bool bLightFace)
{
if(bLightFace)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("lightFace"), "%s", "true");
@@ -210,7 +210,7 @@ void EnhancedShapeDumper::dumpLightFaceAsAttribute(sal_Bool bLightFace)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("lightFace"), "%s", "false");
}
-void EnhancedShapeDumper::dumpFirstLightHarshAsAttribute(sal_Bool bFirstLightHarsh)
+void EnhancedShapeDumper::dumpFirstLightHarshAsAttribute(bool bFirstLightHarsh)
{
if(bFirstLightHarsh)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("firstLightHarsh"), "%s", "true");
@@ -218,7 +218,7 @@ void EnhancedShapeDumper::dumpFirstLightHarshAsAttribute(sal_Bool bFirstLightHar
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("firstLightHarsh"), "%s", "false");
}
-void EnhancedShapeDumper::dumpSecondLightHarshAsAttribute(sal_Bool bSecondLightHarsh)
+void EnhancedShapeDumper::dumpSecondLightHarshAsAttribute(bool bSecondLightHarsh)
{
if(bSecondLightHarsh)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("secondLightHarsh"), "%s", "true");
@@ -257,7 +257,7 @@ void EnhancedShapeDumper::dumpSecondLightDirectionAsElement(drawing::Direction3D
xmlTextWriterEndElement( xmlWriter );
}
-void EnhancedShapeDumper::dumpMetalAsAttribute(sal_Bool bMetal)
+void EnhancedShapeDumper::dumpMetalAsAttribute(bool bMetal)
{
if(bMetal)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("metal"), "%s", "true");
@@ -348,7 +348,7 @@ void EnhancedShapeDumper::dumpOriginAsElement(drawing::EnhancedCustomShapeParame
xmlTextWriterEndElement( xmlWriter );
}
-void EnhancedShapeDumper::dumpExtrusionColorAsAttribute(sal_Bool bExtrusionColor)
+void EnhancedShapeDumper::dumpExtrusionColorAsAttribute(bool bExtrusionColor)
{
if(bExtrusionColor)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("extrusionColor"), "%s", "true");
@@ -376,13 +376,13 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeGeometryService(uno::Reference<
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredX");
- sal_Bool bMirroredX = sal_Bool();
+ bool bMirroredX;
if(anotherAny >>= bMirroredX)
dumpMirroredXAsAttribute(bMirroredX);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredY");
- sal_Bool bMirroredY = sal_Bool();
+ bool bMirroredY;
if(anotherAny >>= bMirroredY)
dumpMirroredYAsAttribute(bMirroredY);
}
@@ -445,7 +445,7 @@ void EnhancedShapeDumper::dumpViewBoxAsElement(awt::Rectangle aViewBox)
xmlTextWriterEndElement( xmlWriter );
}
-void EnhancedShapeDumper::dumpMirroredXAsAttribute(sal_Bool bMirroredX)
+void EnhancedShapeDumper::dumpMirroredXAsAttribute(bool bMirroredX)
{
if(bMirroredX)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("mirroredX"), "%s", "true");
@@ -453,7 +453,7 @@ void EnhancedShapeDumper::dumpMirroredXAsAttribute(sal_Bool bMirroredX)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("mirroredX"), "%s", "false");
}
-void EnhancedShapeDumper::dumpMirroredYAsAttribute(sal_Bool bMirroredY)
+void EnhancedShapeDumper::dumpMirroredYAsAttribute(bool bMirroredY)
{
if(bMirroredY)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("mirroredY"), "%s", "true");
@@ -477,7 +477,7 @@ void EnhancedShapeDumper::dumpAdjustmentValuesAsElement(uno::Sequence< drawing::
OUString sValue;
float fValue;
sal_Int32 nValue;
- sal_Bool bValue;
+ bool bValue;
if(aAny >>= sValue)
{
xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("value"), "%s",
@@ -621,19 +621,19 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredX");
- sal_Bool bMirroredX = sal_Bool();
+ bool bMirroredX;
if(anotherAny >>= bMirroredX)
dumpMirroredXAsAttribute(bMirroredX);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("MirroredY");
- sal_Bool bMirroredY = sal_Bool();
+ bool bMirroredY;
if(anotherAny >>= bMirroredY)
dumpMirroredYAsAttribute(bMirroredY);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("Switched");
- sal_Bool bSwitched = sal_Bool();
+ bool bSwitched;
if(anotherAny >>= bSwitched)
dumpSwitchedAsAttribute(bSwitched);
}
@@ -711,7 +711,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b
}
}
-void EnhancedShapeDumper::dumpSwitchedAsAttribute(sal_Bool bSwitched)
+void EnhancedShapeDumper::dumpSwitchedAsAttribute(bool bSwitched)
{
if(bSwitched)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("switched"), "%s", "true");
@@ -759,7 +759,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeParameter(drawing::EnhancedCust
OUString sValue;
float fValue;
sal_Int32 nValue;
- sal_Bool bValue;
+ bool bValue;
if(aAny >>= sValue)
{
xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("value"), "%s",
@@ -879,19 +879,19 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapePathService(uno::Reference< bea
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ExtrusionAllowed");
- sal_Bool bExtrusionAllowed = sal_Bool();
+ bool bExtrusionAllowed;
if(anotherAny >>= bExtrusionAllowed)
dumpExtrusionAllowedAsAttribute(bExtrusionAllowed);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ConcentricGradientFillAllowed");
- sal_Bool bConcentricGradientFillAllowed = sal_Bool();
+ bool bConcentricGradientFillAllowed;
if(anotherAny >>= bConcentricGradientFillAllowed)
dumpConcentricGradientFillAllowedAsAttribute(bConcentricGradientFillAllowed);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextPathAllowed");
- sal_Bool bTextPathAllowed = sal_Bool();
+ bool bTextPathAllowed;
if(anotherAny >>= bTextPathAllowed)
dumpTextPathAllowedAsAttribute(bTextPathAllowed);
}
@@ -992,7 +992,7 @@ void EnhancedShapeDumper::dumpGluePointTypeAsAttribute(sal_Int32 aGluePointType)
xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("gluePointType"), "%" SAL_PRIdINT32, aGluePointType);
}
-void EnhancedShapeDumper::dumpExtrusionAllowedAsAttribute(sal_Bool bExtrusionAllowed)
+void EnhancedShapeDumper::dumpExtrusionAllowedAsAttribute(bool bExtrusionAllowed)
{
if(bExtrusionAllowed)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("extrusionAllowed"), "%s", "true");
@@ -1000,7 +1000,7 @@ void EnhancedShapeDumper::dumpExtrusionAllowedAsAttribute(sal_Bool bExtrusionAll
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("extrusionAllowed"), "%s", "false");
}
-void EnhancedShapeDumper::dumpConcentricGradientFillAllowedAsAttribute(sal_Bool bConcentricGradientFillAllowed)
+void EnhancedShapeDumper::dumpConcentricGradientFillAllowedAsAttribute(bool bConcentricGradientFillAllowed)
{
if(bConcentricGradientFillAllowed)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("concentricGradientFillAllowed"), "%s", "true");
@@ -1008,7 +1008,7 @@ void EnhancedShapeDumper::dumpConcentricGradientFillAllowedAsAttribute(sal_Bool
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("concentricGradientFillAllowed"), "%s", "false");
}
-void EnhancedShapeDumper::dumpTextPathAllowedAsAttribute(sal_Bool bTextPathAllowed)
+void EnhancedShapeDumper::dumpTextPathAllowedAsAttribute(bool bTextPathAllowed)
{
if(bTextPathAllowed)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textPathAllowed"), "%s", "true");
@@ -1038,7 +1038,7 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeTextPathService(uno::Reference<
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextPath");
- sal_Bool bTextPath = sal_Bool();
+ bool bTextPath;
if(anotherAny >>= bTextPath)
dumpTextPathAsAttribute(bTextPath);
}
@@ -1050,13 +1050,13 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeTextPathService(uno::Reference<
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("ScaleX");
- sal_Bool bScaleX = sal_Bool();
+ bool bScaleX;
if(anotherAny >>= bScaleX)
dumpScaleXAsAttribute(bScaleX);
}
}
-void EnhancedShapeDumper::dumpTextPathAsAttribute(sal_Bool bTextPath)
+void EnhancedShapeDumper::dumpTextPathAsAttribute(bool bTextPath)
{
if(bTextPath)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textPath"), "%s", "true");
@@ -1082,7 +1082,7 @@ void EnhancedShapeDumper::dumpTextPathModeAsAttribute(drawing::EnhancedCustomSha
}
}
-void EnhancedShapeDumper::dumpScaleXAsAttribute(sal_Bool bScaleX)
+void EnhancedShapeDumper::dumpScaleXAsAttribute(bool bScaleX)
{
if(bScaleX)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("scaleX"), "%s", "true");
diff --git a/drawinglayer/source/dumper/EnhancedShapeDumper.hxx b/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
index 523d053929a4..7550cad1327f 100644
--- a/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
+++ b/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
@@ -49,19 +49,19 @@ public:
// EnhancedCustomShapeExtrusion.idl
void dumpEnhancedCustomShapeExtrusionService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet);
- void dumpExtrusionAsAttribute(sal_Bool bExtrusion);
+ void dumpExtrusionAsAttribute(bool bExtrusion);
void dumpBrightnessAsAttribute(double aBrightness);
void dumpDepthAsElement(com::sun::star::drawing::EnhancedCustomShapeParameterPair aDepth);
void dumpDiffusionAsAttribute(double aDiffusion);
void dumpNumberOfLineSegmentsAsAttribute(sal_Int32 aNumberOfLineSegments);
- void dumpLightFaceAsAttribute(sal_Bool bLightFace);
- void dumpFirstLightHarshAsAttribute(sal_Bool bFirstLightHarsh);
- void dumpSecondLightHarshAsAttribute(sal_Bool bSecondLightHarsh);
+ void dumpLightFaceAsAttribute(bool bLightFace);
+ void dumpFirstLightHarshAsAttribute(bool bFirstLightHarsh);
+ void dumpSecondLightHarshAsAttribute(bool bSecondLightHarsh);
void dumpFirstLightLevelAsAttribute(double aFirstLightLevel);
void dumpSecondLightLevelAsAttribute(double aSecondLightLevel);
void dumpFirstLightDirectionAsElement(com::sun::star::drawing::Direction3D aFirstLightDirection);
void dumpSecondLightDirectionAsElement(com::sun::star::drawing::Direction3D aSecondLightDirection);
- void dumpMetalAsAttribute(sal_Bool bMetal);
+ void dumpMetalAsAttribute(bool bMetal);
void dumpShadeModeAsAttribute(com::sun::star::drawing::ShadeMode eShadeMode);
void dumpRotateAngleAsElement(com::sun::star::drawing::EnhancedCustomShapeParameterPair aRotateAngle);
void dumpRotationCenterAsElement(com::sun::star::drawing::Direction3D aRotationCenter);
@@ -71,14 +71,14 @@ public:
void dumpProjectionModeAsAttribute(com::sun::star::drawing::ProjectionMode eProjectionMode);
void dumpViewPointAsElement(com::sun::star::drawing::Position3D aViewPoint);
void dumpOriginAsElement(com::sun::star::drawing::EnhancedCustomShapeParameterPair aOrigin);
- void dumpExtrusionColorAsAttribute(sal_Bool bExtrusionColor);
+ void dumpExtrusionColorAsAttribute(bool bExtrusionColor);
// EnhancedCustomShapeGeometry.idl
void dumpEnhancedCustomShapeGeometryService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet);
void dumpTypeAsAttribute(const OUString& sType);
void dumpViewBoxAsElement(com::sun::star::awt::Rectangle aViewBox);
- void dumpMirroredXAsAttribute(sal_Bool bMirroredX); // also used in EnhancedCustomShapeHandle
- void dumpMirroredYAsAttribute(sal_Bool bMirroredY); // also used in EnhancedCustomShapeHandle
+ void dumpMirroredXAsAttribute(bool bMirroredX); // also used in EnhancedCustomShapeHandle
+ void dumpMirroredYAsAttribute(bool bMirroredY); // also used in EnhancedCustomShapeHandle
void dumpTextRotateAngleAsAttribute(double aTextRotateAngle);
void dumpAdjustmentValuesAsElement(com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeAdjustmentValue> aAdjustmentValues);
void dumpExtrusionAsElement(com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > aExtrusion);
@@ -89,7 +89,7 @@ public:
// EnhancedCustomShapeHandle.idl
void dumpEnhancedCustomShapeHandleService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet);
- void dumpSwitchedAsAttribute(sal_Bool bSwitched);
+ void dumpSwitchedAsAttribute(bool bSwitched);
void dumpPositionAsElement(com::sun::star::drawing::EnhancedCustomShapeParameterPair aPosition);
void dumpPolarAsElement(com::sun::star::drawing::EnhancedCustomShapeParameterPair aPolar);
void dumpRefXAsAttribute(sal_Int32 aRefX);
@@ -113,16 +113,16 @@ public:
void dumpGluePointsAsElement(com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair > aGluePoints);
void dumpGluePointLeavingDirectionsAsElement(com::sun::star::uno::Sequence< double > aGluePointLeavingDirections);
void dumpGluePointTypeAsAttribute(sal_Int32 aGluePointType);
- void dumpExtrusionAllowedAsAttribute(sal_Bool bExtrusionAllowed);
- void dumpConcentricGradientFillAllowedAsAttribute(sal_Bool bConcentricGradientFillAllowed);
- void dumpTextPathAllowedAsAttribute(sal_Bool bTextPathAllowed);
+ void dumpExtrusionAllowedAsAttribute(bool bExtrusionAllowed);
+ void dumpConcentricGradientFillAllowedAsAttribute(bool bConcentricGradientFillAllowed);
+ void dumpTextPathAllowedAsAttribute(bool bTextPathAllowed);
void dumpSubViewSizeAsElement(com::sun::star::uno::Sequence< com::sun::star::awt::Size > aSubViewSize);
// EnhancedCustomShapePath.idl
void dumpEnhancedCustomShapeTextPathService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet);
- void dumpTextPathAsAttribute(sal_Bool bTextPath);
+ void dumpTextPathAsAttribute(bool bTextPath);
void dumpTextPathModeAsAttribute(com::sun::star::drawing::EnhancedCustomShapeTextPathMode eTextPathMode);
- void dumpScaleXAsAttribute(sal_Bool bScaleX);
+ void dumpScaleXAsAttribute(bool bScaleX);
private:
xmlTextWriterPtr xmlWriter;
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 61eca8c5a0e2..93712ad9b123 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -48,7 +48,7 @@ void dumpFillTransparenceGradientAsElement(com::sun::star::awt::Gradient aTransp
void dumpFillGradientNameAsAttribute(const OUString& sGradName, xmlTextWriterPtr xmlWriter);
void dumpFillGradientAsElement(com::sun::star::awt::Gradient aGradient, xmlTextWriterPtr xmlWriter);
void dumpFillHatchAsElement(com::sun::star::drawing::Hatch aHatch, xmlTextWriterPtr xmlWriter);
-void dumpFillBackgroundAsAttribute(sal_Bool bBackground, xmlTextWriterPtr xmlWriter);
+void dumpFillBackgroundAsAttribute(bool bBackground, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapAsElement(com::sun::star::uno::Reference<com::sun::star::awt::XBitmap> xBitmap, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapURLAsAttribute(const OUString& sBitmapURL, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapPositionOffsetXAsAttribute(sal_Int32 aBitmapPositionOffsetX, xmlTextWriterPtr xmlWriter);
@@ -56,12 +56,12 @@ void dumpFillBitmapPositionOffsetYAsAttribute(sal_Int32 aBitmapPositionOffsetY,
void dumpFillBitmapOffsetXAsAttribute(sal_Int32 aBitmapOffsetX, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapOffsetYAsAttribute(sal_Int32 aBitmapOffsetY, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapRectanglePointAsAttribute(com::sun::star::drawing::RectanglePoint eBitmapRectanglePoint, xmlTextWriterPtr xmlWriter);
-void dumpFillBitmapLogicalSizeAsAttribute(sal_Bool bBitmapLogicalSize, xmlTextWriterPtr xmlWriter);
+void dumpFillBitmapLogicalSizeAsAttribute(bool bBitmapLogicalSize, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapSizeXAsAttribute(sal_Int32 aBitmapSizeX, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapSizeYAsAttribute(sal_Int32 aBitmapSizeY, xmlTextWriterPtr xmlWriter);
void dumpFillBitmapModeAsAttribute(com::sun::star::drawing::BitmapMode eBitmapMode, xmlTextWriterPtr xmlWriter);
-void dumpFillBitmapStretchAsAttribute(sal_Bool bBitmapStretch, xmlTextWriterPtr xmlWriter);
-void dumpFillBitmapTileAsAttribute(sal_Bool bBitmapTile, xmlTextWriterPtr xmlWriter);
+void dumpFillBitmapStretchAsAttribute(bool bBitmapStretch, xmlTextWriterPtr xmlWriter);
+void dumpFillBitmapTileAsAttribute(bool bBitmapTile, xmlTextWriterPtr xmlWriter);
// LineProperties.idl
void dumpLineStyleAsAttribute(com::sun::star::drawing::LineStyle eLineStyle, xmlTextWriterPtr xmlWriter);
@@ -75,9 +75,9 @@ void dumpLineStartNameAsAttribute(const OUString& sLineStartName, xmlTextWriterP
void dumpLineEndNameAsAttribute(const OUString& sLineEndName, xmlTextWriterPtr xmlWriter);
void dumpLineStartAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aLineStart, xmlTextWriterPtr xmlWriter);
void dumpLineEndAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aLineEnd, xmlTextWriterPtr xmlWriter);
-void dumpLineStartCenterAsAttribute(sal_Bool bLineStartCenter, xmlTextWriterPtr xmlWriter);
+void dumpLineStartCenterAsAttribute(bool bLineStartCenter, xmlTextWriterPtr xmlWriter);
void dumpLineStartWidthAsAttribute(sal_Int32 aLineStartWidth, xmlTextWriterPtr xmlWriter);
-void dumpLineEndCenterAsAttribute(sal_Bool bLineEndCenter, xmlTextWriterPtr xmlWriter);
+void dumpLineEndCenterAsAttribute(bool bLineEndCenter, xmlTextWriterPtr xmlWriter);
void dumpLineEndWidthAsAttribute(sal_Int32 aLineEndWidth, xmlTextWriterPtr xmlWriter);
// PolyPolygonDescriptor.idl
@@ -90,10 +90,10 @@ void dumpCharHeightAsAttribute(float fHeight, xmlTextWriterPtr xmlWriter);
void dumpCharColorAsAttribute(sal_Int32 aColor, xmlTextWriterPtr xmlWriter);
// TextProperties.idl
-void dumpIsNumberingAsAttribute(sal_Bool bIsNumbering, xmlTextWriterPtr xmlWriter);
-void dumpTextAutoGrowHeightAsAttribute(sal_Bool bTextAutoGrowHeight, xmlTextWriterPtr xmlWriter);
-void dumpTextAutoGrowWidthAsAttribute(sal_Bool bTextAutoGrowWidth, xmlTextWriterPtr xmlWriter);
-void dumpTextContourFrameAsAttribute(sal_Bool bTextContourFrame, xmlTextWriterPtr xmlWriter);
+void dumpIsNumberingAsAttribute(bool bIsNumbering, xmlTextWriterPtr xmlWriter);
+void dumpTextAutoGrowHeightAsAttribute(bool bTextAutoGrowHeight, xmlTextWriterPtr xmlWriter);
+void dumpTextAutoGrowWidthAsAttribute(bool bTextAutoGrowWidth, xmlTextWriterPtr xmlWriter);
+void dumpTextContourFrameAsAttribute(bool bTextContourFrame, xmlTextWriterPtr xmlWriter);
void dumpTextFitToSizeAsAttribute(com::sun::star::drawing::TextFitToSizeType eTextFitToSize, xmlTextWriterPtr xmlWriter);
void dumpTextHorizontalAdjustAsAttribute(com::sun::star::drawing::TextHorizontalAdjust eTextHorizontalAdjust, xmlTextWriterPtr xmlWriter);
void dumpTextVerticalAdjustAsAttribute(com::sun::star::drawing::TextVerticalAdjust eTextVerticalAdjust, xmlTextWriterPtr xmlWriter);
@@ -110,12 +110,12 @@ void dumpTextAnimationCountAsAttribute(sal_Int32 aTextAnimationCount, xmlTextWri
void dumpTextAnimationDelayAsAttribute(sal_Int32 aTextAnimationDelay, xmlTextWriterPtr xmlWriter);
void dumpTextAnimationDirectionAsAttribute(com::sun::star::drawing::TextAnimationDirection eTextAnimationDirection, xmlTextWriterPtr xmlWriter);
void dumpTextAnimationKindAsAttribute(com::sun::star::drawing::TextAnimationKind eTextAnimationKind, xmlTextWriterPtr xmlWriter);
-void dumpTextAnimationStartInsideAsAttribute(sal_Bool bTextAnimationStartInside, xmlTextWriterPtr xmlWriter);
-void dumpTextAnimationStopInsideAsAttribute(sal_Bool bTextAnimationStopInside, xmlTextWriterPtr xmlWriter);
+void dumpTextAnimationStartInsideAsAttribute(bool bTextAnimationStartInside, xmlTextWriterPtr xmlWriter);
+void dumpTextAnimationStopInsideAsAttribute(bool bTextAnimationStopInside, xmlTextWriterPtr xmlWriter);
void dumpTextWritingModeAsAttribute(com::sun::star::text::WritingMode eWritingMode, xmlTextWriterPtr xmlWriter);
// ShadowProperties.idl
-void dumpShadowAsAttribute(sal_Bool bShadow, xmlTextWriterPtr xmlWriter);
+void dumpShadowAsAttribute(bool bShadow, xmlTextWriterPtr xmlWriter);
void dumpShadowColorAsAttribute(sal_Int32 aShadowColor, xmlTextWriterPtr xmlWriter);
void dumpShadowTransparenceAsAttribute(sal_Int32 aShadowTransparence, xmlTextWriterPtr xmlWriter);
void dumpShadowXDistanceAsAttribute(sal_Int32 aShadowXDistance, xmlTextWriterPtr xmlWriter);
@@ -125,11 +125,11 @@ void dumpShadowYDistanceAsAttribute(sal_Int32 aShadowYDistance, xmlTextWriterPtr
void dumpZOrderAsAttribute(sal_Int32 aZOrder, xmlTextWriterPtr xmlWriter);
void dumpLayerIDAsAttribute(sal_Int32 aLayerID, xmlTextWriterPtr xmlWriter);
void dumpLayerNameAsAttribute(const OUString& sLayerName, xmlTextWriterPtr xmlWriter);
-void dumpVisibleAsAttribute(sal_Bool bVisible, xmlTextWriterPtr xmlWriter);
-void dumpPrintableAsAttribute(sal_Bool bPrintable, xmlTextWriterPtr xmlWriter);
-void dumpMoveProtectAsAttribute(sal_Bool bMoveProtect, xmlTextWriterPtr xmlWriter);
+void dumpVisibleAsAttribute(bool bVisible, xmlTextWriterPtr xmlWriter);
+void dumpPrintableAsAttribute(bool bPrintable, xmlTextWriterPtr xmlWriter);
+void dumpMoveProtectAsAttribute(bool bMoveProtect, xmlTextWriterPtr xmlWriter);
void dumpNameAsAttribute(const OUString& sName, xmlTextWriterPtr xmlWriter);
-void dumpSizeProtectAsAttribute(sal_Bool bSizeProtect, xmlTextWriterPtr xmlWriter);
+void dumpSizeProtectAsAttribute(bool bSizeProtect, xmlTextWriterPtr xmlWriter);
void dumpHomogenMatrixLine3(com::sun::star::drawing::HomogenMatrixLine3 aLine, xmlTextWriterPtr xmlWriter);
void dumpTransformationAsElement(com::sun::star::drawing::HomogenMatrix3 aTransformation, xmlTextWriterPtr xmlWriter);
void dumpNavigationOrderAsAttribute(sal_Int32 aNavigationOrder, xmlTextWriterPtr xmlWriter);
@@ -297,7 +297,7 @@ void dumpFillHatchAsElement(drawing::Hatch aHatch, xmlTextWriterPtr xmlWriter)
xmlTextWriterEndElement( xmlWriter );
}
-void dumpFillBackgroundAsAttribute(sal_Bool bBackground, xmlTextWriterPtr xmlWriter)
+void dumpFillBackgroundAsAttribute(bool bBackground, xmlTextWriterPtr xmlWriter)
{
if(bBackground)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBackground"), "%s", "true");
@@ -379,7 +379,7 @@ void dumpFillBitmapRectanglePointAsAttribute(drawing::RectanglePoint eBitmapRect
}
}
-void dumpFillBitmapLogicalSizeAsAttribute(sal_Bool bBitmapLogicalSize, xmlTextWriterPtr xmlWriter)
+void dumpFillBitmapLogicalSizeAsAttribute(bool bBitmapLogicalSize, xmlTextWriterPtr xmlWriter)
{
if(bBitmapLogicalSize)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBitmapLogicalSize"), "%s", "true");
@@ -415,7 +415,7 @@ void dumpFillBitmapModeAsAttribute(drawing::BitmapMode eBitmapMode, xmlTextWrite
}
}
-void dumpFillBitmapStretchAsAttribute(sal_Bool bBitmapStretch, xmlTextWriterPtr xmlWriter)
+void dumpFillBitmapStretchAsAttribute(bool bBitmapStretch, xmlTextWriterPtr xmlWriter)
{
if(bBitmapStretch)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBitmapStretch"), "%s", "true");
@@ -423,7 +423,7 @@ void dumpFillBitmapStretchAsAttribute(sal_Bool bBitmapStretch, xmlTextWriterPtr
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBitmapStretch"), "%s", "false");
}
-void dumpFillBitmapTileAsAttribute(sal_Bool bBitmapTile, xmlTextWriterPtr xmlWriter)
+void dumpFillBitmapTileAsAttribute(bool bBitmapTile, xmlTextWriterPtr xmlWriter)
{
if(bBitmapTile)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("fillBitmapTile"), "%s", "true");
@@ -557,7 +557,7 @@ void dumpLineEndAsElement(drawing::PolyPolygonBezierCoords aLineEnd, xmlTextWrit
xmlTextWriterEndElement( xmlWriter );
}
-void dumpLineStartCenterAsAttribute(sal_Bool bLineStartCenter, xmlTextWriterPtr xmlWriter)
+void dumpLineStartCenterAsAttribute(bool bLineStartCenter, xmlTextWriterPtr xmlWriter)
{
if(bLineStartCenter)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("lineStartCenter"), "%s", "true");
@@ -570,7 +570,7 @@ void dumpLineStartWidthAsAttribute(sal_Int32 aLineStartWidth, xmlTextWriterPtr x
xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("lineStartWidth"), "%" SAL_PRIdINT32, aLineStartWidth);
}
-void dumpLineEndCenterAsAttribute(sal_Bool bLineEndCenter, xmlTextWriterPtr xmlWriter)
+void dumpLineEndCenterAsAttribute(bool bLineEndCenter, xmlTextWriterPtr xmlWriter)
{
if(bLineEndCenter)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("lineEndCenter"), "%s", "true");
@@ -702,7 +702,7 @@ void dumpCharColorAsAttribute(sal_Int32 aColor, xmlTextWriterPtr xmlWriter)
// ---------- TextProperties.idl ----------
-void dumpIsNumberingAsAttribute(sal_Bool bIsNumbering, xmlTextWriterPtr xmlWriter)
+void dumpIsNumberingAsAttribute(bool bIsNumbering, xmlTextWriterPtr xmlWriter)
{
if(bIsNumbering)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("isNumbering"), "%s", "true");
@@ -710,7 +710,7 @@ void dumpIsNumberingAsAttribute(sal_Bool bIsNumbering, xmlTextWriterPtr xmlWrite
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("isNumbering"), "%s", "false");
}
-void dumpTextAutoGrowHeightAsAttribute(sal_Bool bTextAutoGrowHeight, xmlTextWriterPtr xmlWriter)
+void dumpTextAutoGrowHeightAsAttribute(bool bTextAutoGrowHeight, xmlTextWriterPtr xmlWriter)
{
if(bTextAutoGrowHeight)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAutoGrowHeight"), "%s", "true");
@@ -718,7 +718,7 @@ void dumpTextAutoGrowHeightAsAttribute(sal_Bool bTextAutoGrowHeight, xmlTextWrit
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAutoGrowHeight"), "%s", "false");
}
-void dumpTextAutoGrowWidthAsAttribute(sal_Bool bTextAutoGrowWidth, xmlTextWriterPtr xmlWriter)
+void dumpTextAutoGrowWidthAsAttribute(bool bTextAutoGrowWidth, xmlTextWriterPtr xmlWriter)
{
if(bTextAutoGrowWidth)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAutoGrowWidth"), "%s", "true");
@@ -726,7 +726,7 @@ void dumpTextAutoGrowWidthAsAttribute(sal_Bool bTextAutoGrowWidth, xmlTextWriter
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAutoGrowWidth"), "%s", "false");
}
-void dumpTextContourFrameAsAttribute(sal_Bool bTextContourFrame, xmlTextWriterPtr xmlWriter)
+void dumpTextContourFrameAsAttribute(bool bTextContourFrame, xmlTextWriterPtr xmlWriter)
{
if(bTextContourFrame)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textContourFrame"), "%s", "true");
@@ -897,7 +897,7 @@ void dumpTextAnimationKindAsAttribute(drawing::TextAnimationKind eTextAnimationK
}
}
-void dumpTextAnimationStartInsideAsAttribute(sal_Bool bTextAnimationStartInside, xmlTextWriterPtr xmlWriter)
+void dumpTextAnimationStartInsideAsAttribute(bool bTextAnimationStartInside, xmlTextWriterPtr xmlWriter)
{
if(bTextAnimationStartInside)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAnimationStartInside"), "%s", "true");
@@ -905,7 +905,7 @@ void dumpTextAnimationStartInsideAsAttribute(sal_Bool bTextAnimationStartInside,
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAnimationStartInside"), "%s", "false");
}
-void dumpTextAnimationStopInsideAsAttribute(sal_Bool bTextAnimationStopInside, xmlTextWriterPtr xmlWriter)
+void dumpTextAnimationStopInsideAsAttribute(bool bTextAnimationStopInside, xmlTextWriterPtr xmlWriter)
{
if(bTextAnimationStopInside)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("textAnimationStopInside"), "%s", "true");
@@ -935,7 +935,7 @@ void dumpTextWritingModeAsAttribute(text::WritingMode eTextWritingMode, xmlTextW
// ---------- ShadowProperties.idl ----------
-void dumpShadowAsAttribute(sal_Bool bShadow, xmlTextWriterPtr xmlWriter)
+void dumpShadowAsAttribute(bool bShadow, xmlTextWriterPtr xmlWriter)
{
if(bShadow)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("shadow"), "%s", "true");
@@ -983,7 +983,7 @@ void dumpLayerNameAsAttribute(const OUString& sLayerName, xmlTextWriterPtr xmlWr
OUStringToOString(sLayerName, RTL_TEXTENCODING_UTF8).getStr());
}
-void dumpVisibleAsAttribute(sal_Bool bVisible, xmlTextWriterPtr xmlWriter)
+void dumpVisibleAsAttribute(bool bVisible, xmlTextWriterPtr xmlWriter)
{
if(bVisible)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("visible"), "%s", "true");
@@ -991,7 +991,7 @@ void dumpVisibleAsAttribute(sal_Bool bVisible, xmlTextWriterPtr xmlWriter)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("visible"), "%s", "false");
}
-void dumpPrintableAsAttribute(sal_Bool bPrintable, xmlTextWriterPtr xmlWriter)
+void dumpPrintableAsAttribute(bool bPrintable, xmlTextWriterPtr xmlWriter)
{
if(bPrintable)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("printable"), "%s", "true");
@@ -999,7 +999,7 @@ void dumpPrintableAsAttribute(sal_Bool bPrintable, xmlTextWriterPtr xmlWriter)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("printable"), "%s", "false");
}
-void dumpMoveProtectAsAttribute(sal_Bool bMoveProtect, xmlTextWriterPtr xmlWriter)
+void dumpMoveProtectAsAttribute(bool bMoveProtect, xmlTextWriterPtr xmlWriter)
{
if(bMoveProtect)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("moveProtect"), "%s", "true");
@@ -1016,7 +1016,7 @@ void dumpNameAsAttribute(const OUString& sName, xmlTextWriterPtr xmlWriter)
}
}
-void dumpSizeProtectAsAttribute(sal_Bool bSizeProtect, xmlTextWriterPtr xmlWriter)
+void dumpSizeProtectAsAttribute(bool bSizeProtect, xmlTextWriterPtr xmlWriter)
{
if(bSizeProtect)
xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("sizeProtect"), "%s", "true");
@@ -1119,7 +1119,7 @@ void dumpPropertyValueAsElement(const beans::PropertyValue& rPropertyValue, xmlT
OUString sValue;
float fValue;
sal_Int32 nValue;
- sal_Bool bValue;
+ bool bValue;
awt::Rectangle aRectangleValue;
uno::Sequence< drawing::EnhancedCustomShapeAdjustmentValue> aAdjustmentValues;
uno::Sequence< drawing::EnhancedCustomShapeParameterPair > aCoordinates;
@@ -1238,25 +1238,25 @@ void dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
if(xInfo->hasPropertyByName("IsNumbering"))
{
uno::Any anotherAny = xPropSet->getPropertyValue("IsNumbering");
- sal_Bool bIsNumbering = sal_Bool();
+ bool bIsNumbering;
if(anotherAny >>= bIsNumbering)
dumpIsNumberingAsAttribute(bIsNumbering, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextAutoGrowHeight");
- sal_Bool bTextAutoGrowHeight = sal_Bool();
+ bool bTextAutoGrowHeight;
if(anotherAny >>= bTextAutoGrowHeight)
dumpTextAutoGrowHeightAsAttribute(bTextAutoGrowHeight, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextAutoGrowWidth");
- sal_Bool bTextAutoGrowWidth = sal_Bool();
+ bool bTextAutoGrowWidth;
if(anotherAny >>= bTextAutoGrowWidth)
dumpTextAutoGrowWidthAsAttribute(bTextAutoGrowWidth, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextContourFrame");
- sal_Bool bTextContourFrame = sal_Bool();
+ bool bTextContourFrame;
if(anotherAny >>= bTextContourFrame)
dumpTextContourFrameAsAttribute(bTextContourFrame, xmlWriter);
}
@@ -1358,13 +1358,13 @@ void dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextAnimationStartInside");
- sal_Bool bTextAnimationStartInside = sal_Bool();
+ bool bTextAnimationStartInside;
if(anotherAny >>= bTextAnimationStartInside)
dumpTextAnimationStartInsideAsAttribute(bTextAnimationStartInside, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("TextAnimationStopInside");
- sal_Bool bTextAnimationStopInside = sal_Bool();
+ bool bTextAnimationStopInside;
if(anotherAny >>= bTextAnimationStopInside)
dumpTextAnimationStopInsideAsAttribute(bTextAnimationStopInside, xmlWriter);
}
@@ -1434,7 +1434,7 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("FillBackground");
- sal_Bool bFillBackground = sal_Bool();
+ bool bFillBackground;
if(anotherAny >>= bFillBackground)
dumpFillBackgroundAsAttribute(bFillBackground, xmlWriter);
}
@@ -1488,7 +1488,7 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("FillBitmapLogicalSize");
- sal_Bool bBitmapLogicalSize = sal_Bool();
+ bool bBitmapLogicalSize;
if(anotherAny >>= bBitmapLogicalSize)
dumpFillBitmapLogicalSizeAsAttribute(bBitmapLogicalSize, xmlWriter);
}
@@ -1512,13 +1512,13 @@ void dumpFillPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("FillBitmapStretch");
- sal_Bool bBitmapStretch = sal_Bool();
+ bool bBitmapStretch;
if(anotherAny >>= bBitmapStretch)
dumpFillBitmapStretchAsAttribute(bBitmapStretch, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("FillBitmapTile");
- sal_Bool bBitmapTile = sal_Bool();
+ bool bBitmapTile;
if(anotherAny >>= bBitmapTile)
dumpFillBitmapTileAsAttribute(bBitmapTile, xmlWriter);
}
@@ -1594,7 +1594,7 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("LineStartCenter");
- sal_Bool bLineStartCenter = sal_Bool();
+ bool bLineStartCenter;
if(anotherAny >>= bLineStartCenter)
dumpLineStartCenterAsAttribute(bLineStartCenter, xmlWriter);
}
@@ -1606,7 +1606,7 @@ void dumpLinePropertiesService(uno::Reference< beans::XPropertySet > xPropSet, x
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("LineEndCenter");
- sal_Bool bLineEndCenter = sal_Bool();
+ bool bLineEndCenter;
if(anotherAny >>= bLineEndCenter)
dumpLineEndCenterAsAttribute(bLineEndCenter, xmlWriter);
}
@@ -1622,7 +1622,7 @@ void dumpShadowPropertiesService(uno::Reference< beans::XPropertySet > xPropSet,
{
{
uno::Any anotherAny = xPropSet->getPropertyValue("Shadow");
- sal_Bool bShadow = sal_Bool();
+ bool bShadow;
if(anotherAny >>= bShadow)
dumpShadowAsAttribute(bShadow, xmlWriter);
}
@@ -1697,19 +1697,19 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("Visible");
- sal_Bool bVisible = sal_Bool();
+ bool bVisible;
if(anotherAny >>= bVisible)
dumpVisibleAsAttribute(bVisible, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("Printable");
- sal_Bool bPrintable = sal_Bool();
+ bool bPrintable;
if(anotherAny >>= bPrintable)
dumpPrintableAsAttribute(bPrintable, xmlWriter);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("MoveProtect");
- sal_Bool bMoveProtect = sal_Bool();
+ bool bMoveProtect;
if(anotherAny >>= bMoveProtect)
dumpMoveProtectAsAttribute(bMoveProtect, xmlWriter);
}
@@ -1721,7 +1721,7 @@ void dumpShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWri
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("SizeProtect");
- sal_Bool bSizeProtect = sal_Bool();
+ bool bSizeProtect;
if(anotherAny >>= bSizeProtect)
dumpSizeProtectAsAttribute(bSizeProtect, xmlWriter);
}
diff --git a/drawinglayer/source/geometry/viewinformation2d.cxx b/drawinglayer/source/geometry/viewinformation2d.cxx
index d6528e529f2d..6e24fe975f05 100644
--- a/drawinglayer/source/geometry/viewinformation2d.cxx
+++ b/drawinglayer/source/geometry/viewinformation2d.cxx
@@ -135,7 +135,7 @@ namespace drawinglayer
mxExtendedInformation[nExtendedInsert++] = rProp;
// for performance reasons, also cache content locally
- sal_Bool bSalBool(false);
+ bool bSalBool(false);
rProp.Value >>= bSalBool;
mbReducedDisplayQuality = bSalBool;
}