diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-14 16:15:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-15 09:02:33 +0200 |
commit | be88947bac607013c6b7a3c923a2eccd09e50942 (patch) | |
tree | 09cdc0803437ac8c76e12c60c6644c49cb1d5dd4 /svx/source/customshapes/EnhancedCustomShapeEngine.cxx | |
parent | cfddda092b0c105b5be7942a94cbbd88d55677f1 (diff) |
svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeEngine.cxx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index da3c5df7e87e..4835d60e18ac 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -70,7 +70,7 @@ class EnhancedCustomShapeEngine : public cppu::WeakImplHelper3 > { css::uno::Reference< css::drawing::XShape > mxShape; - sal_Bool mbForceGroupWithText; + bool mbForceGroupWithText; SdrObject* ImplForceGroupWithText( const SdrObjCustomShape* pCustoObj, SdrObject* pRenderedShape ); @@ -106,7 +106,7 @@ public: }; EnhancedCustomShapeEngine::EnhancedCustomShapeEngine() : - mbForceGroupWithText ( sal_False ) + mbForceGroupWithText ( false ) { } EnhancedCustomShapeEngine::~EnhancedCustomShapeEngine() @@ -281,7 +281,7 @@ Reference< drawing::XShape > SAL_CALL EnhancedCustomShapeEngine::render() // retrieving the TextPath property to check if feature is enabled SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&) pSdrObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); - sal_Bool bTextPathOn = sal_False; + bool bTextPathOn = false; const OUString sTextPath( "TextPath" ); uno::Any* pAny = rGeometryItem.GetPropertyValueByName( sTextPath, sTextPath ); if ( pAny ) @@ -291,9 +291,9 @@ Reference< drawing::XShape > SAL_CALL EnhancedCustomShapeEngine::render() sal_Int32 nRotateAngle = aCustomShape2d.GetRotateAngle(); bool bPostRotateAngle = aCustomShape2d.IsPostRotate(); - sal_Bool bFlipV = aCustomShape2d.IsFlipVert(); - sal_Bool bFlipH = aCustomShape2d.IsFlipHorz(); - sal_Bool bLineGeometryNeededOnly = bTextPathOn; + bool bFlipV = aCustomShape2d.IsFlipVert(); + bool bFlipH = aCustomShape2d.IsFlipHorz(); + bool bLineGeometryNeededOnly = bTextPathOn; SdrObject* pRenderedShape = aCustomShape2d.CreateObject( bLineGeometryNeededOnly ); if ( pRenderedShape ) @@ -310,7 +310,7 @@ Reference< drawing::XShape > SAL_CALL EnhancedCustomShapeEngine::render() SdrObject* pRenderedShape3d = EnhancedCustomShape3d::Create3DObject( pRenderedShape, pSdrObjCustomShape ); if ( pRenderedShape3d ) { - bFlipV = bFlipH = sal_False; + bFlipV = bFlipH = false; nRotateAngle = 0; SdrObject::Free( pRenderedShape ); pRenderedShape = pRenderedShape3d; @@ -403,8 +403,8 @@ drawing::PolyPolygonBezierCoords SAL_CALL EnhancedCustomShapeEngine::getLineGeom if ( pObj ) { Rectangle aRect( pSdrObjCustomShape->GetSnapRect() ); - sal_Bool bFlipV = aCustomShape2d.IsFlipVert(); - sal_Bool bFlipH = aCustomShape2d.IsFlipHorz(); + bool bFlipV = aCustomShape2d.IsFlipVert(); + bool bFlipH = aCustomShape2d.IsFlipHorz(); const GeoStat& rGeoStat = ((SdrObjCustomShape*)pSdrObjCustomShape)->GetGeoStat(); if ( rGeoStat.nShearWink ) |