sal_Bool -> bool

Change-Id: I92fe7e3d3be4bf64b57dacb2ae8386775b02c80a
This commit is contained in:
Jacobo Aragunde Pérez
2014-04-10 19:05:09 +02:00
parent cd0b935d55
commit 944a195600
2 changed files with 5 additions and 5 deletions

View File

@@ -146,10 +146,10 @@ void CustomShapeProperties::pushToPropSet( const ::oox::core::FilterBase& /* rFi
#endif #endif
} }
aPropertyMap.setProperty( PROP_MirroredX, (sal_Bool) mbMirroredX ); aPropertyMap.setProperty( PROP_MirroredX, mbMirroredX );
aPropertyMap.setProperty( PROP_MirroredY, (sal_Bool) mbMirroredY ); aPropertyMap.setProperty( PROP_MirroredY, mbMirroredY );
aPropertyMap.setProperty( PROP_TextPreRotateAngle, mnTextRotateAngle ); 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(); Sequence< PropertyValue > aSeq = aPropertyMap.makePropertyValueSequence();
aPropSet.setProperty( PROP_CustomShapeGeometry, aSeq ); aPropSet.setProperty( PROP_CustomShapeGeometry, aSeq );

View File

@@ -408,7 +408,7 @@ Reference< XShape > Shape::createAndInsert(
{ {
aServiceName = finalizeServiceName( rFilterBase, rServiceName, aShapeRectHmm ); aServiceName = finalizeServiceName( rFilterBase, rServiceName, aShapeRectHmm );
} }
sal_Bool bIsCustomShape = ( aServiceName == "com.sun.star.drawing.CustomShape" || bool bIsCustomShape = ( aServiceName == "com.sun.star.drawing.CustomShape" ||
aServiceName == "com.sun.star.drawing.ConnectorShape" ); aServiceName == "com.sun.star.drawing.ConnectorShape" );
basegfx::B2DHomMatrix aTransformation; basegfx::B2DHomMatrix aTransformation;