From 944a195600868c49dbf6f7725b8be3886c9a84e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Aragunde=20P=C3=A9rez?= Date: Thu, 10 Apr 2014 19:05:09 +0200 Subject: [PATCH] sal_Bool -> bool Change-Id: I92fe7e3d3be4bf64b57dacb2ae8386775b02c80a --- oox/source/drawingml/customshapeproperties.cxx | 6 +++--- oox/source/drawingml/shape.cxx | 4 ++-- 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;