summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-10 19:05:09 +0200
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-15 11:35:48 +0200
commit944a195600868c49dbf6f7725b8be3886c9a84e1 (patch)
treef2cc97547d13ae7d519e0a95341be99e460c0d82 /oox
parentcd0b935d5512f557ff03c4a5e783e4317c9fd04d (diff)
sal_Bool -> bool
Change-Id: I92fe7e3d3be4bf64b57dacb2ae8386775b02c80a
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx6
-rw-r--r--oox/source/drawingml/shape.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx
index ea02fefe701d..4886912ac054 100644
--- a/oox/source/drawingml/customshapeproperties.cxx
+++ b/oox/source/drawingml/customshapeproperties.cxx
@@ -146,10 +146,10 @@ void CustomShapeProperties::pushToPropSet( const ::oox::core::FilterBase& /* rFi
#endif
}
- aPropertyMap.setProperty( PROP_MirroredX, (sal_Bool) mbMirroredX );
- aPropertyMap.setProperty( PROP_MirroredY, (sal_Bool) mbMirroredY );
+ aPropertyMap.setProperty( PROP_MirroredX, mbMirroredX );
+ aPropertyMap.setProperty( PROP_MirroredY, mbMirroredY );
aPropertyMap.setProperty( PROP_TextPreRotateAngle, mnTextRotateAngle );
- aPropertyMap.setProperty( PROP_IsPostRotateAngle, (sal_Bool)true); // For OpenXML Imports
+ aPropertyMap.setProperty( PROP_IsPostRotateAngle, true); // For OpenXML Imports
Sequence< PropertyValue > aSeq = aPropertyMap.makePropertyValueSequence();
aPropSet.setProperty( PROP_CustomShapeGeometry, aSeq );
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 2b9220a537c8..36cbc0c5959d 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -408,8 +408,8 @@ Reference< XShape > Shape::createAndInsert(
{
aServiceName = finalizeServiceName( rFilterBase, rServiceName, aShapeRectHmm );
}
- sal_Bool bIsCustomShape = ( aServiceName == "com.sun.star.drawing.CustomShape" ||
- aServiceName == "com.sun.star.drawing.ConnectorShape" );
+ bool bIsCustomShape = ( aServiceName == "com.sun.star.drawing.CustomShape" ||
+ aServiceName == "com.sun.star.drawing.ConnectorShape" );
basegfx::B2DHomMatrix aTransformation;