diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:27:50 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:27:50 +0100 |
commit | 006b8504d7c633a61b4953151e71b83fda8e204d (patch) | |
tree | 80bcda35b0c8e37304e4a08d952a4bba130a4c9b /svx/source/customshapes | |
parent | 2ccbdca418fccd80bcab976a8033a1c62dc60da2 (diff) |
removetooltypes01: #i112600# remove tooltypes from svx
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape3d.cxx | 10 | ||||
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index 3545805f4966..0781ade6c97a 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -348,8 +348,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con // pShape2d Umwandeln in Szene mit 3D Objekt E3dDefaultAttributes a3DDefaultAttr; - a3DDefaultAttr.SetDefaultLatheCharacterMode( TRUE ); - a3DDefaultAttr.SetDefaultExtrudeCharacterMode( TRUE ); + a3DDefaultAttr.SetDefaultLatheCharacterMode( sal_True ); + a3DDefaultAttr.SetDefaultExtrudeCharacterMode( sal_True ); E3dScene* pScene = new E3dPolyScene( a3DDefaultAttr ); @@ -370,7 +370,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con { aSet.Put( XLineStyleItem( XLINE_SOLID ) ); aSet.Put( XFillStyleItem ( XFILL_NONE ) ); - aSet.Put( Svx3DDoubleSidedItem( TRUE ) ); + aSet.Put( Svx3DDoubleSidedItem( sal_True ) ); } else { @@ -410,7 +410,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con } else { - SdrObject* pNewObj = pNext->ConvertToPolyObj( FALSE, FALSE ); + SdrObject* pNewObj = pNext->ConvertToPolyObj( sal_False, sal_False ); SdrPathObj* pPath = PTR_CAST( SdrPathObj, pNewObj ); if ( pPath ) aPolyPoly = pPath->GetPathPoly(); @@ -516,7 +516,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con double fW = rVolume.getWidth(); double fH = rVolume.getHeight(); - rCamera.SetAutoAdjustProjection( FALSE ); + rCamera.SetAutoAdjustProjection( sal_False ); rCamera.SetViewWindow( -fW / 2, - fH / 2, fW, fH); basegfx::B3DPoint aLookAt( 0.0, 0.0, 0.0 ); basegfx::B3DPoint aCamPos( 0.0, 0.0, 100.0 ); diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index ae7a1398c9e7..c20360db7c4b 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -316,7 +316,7 @@ REF( com::sun::star::drawing::XShape ) SAL_CALL EnhancedCustomShapeEngine::rende nShearWink = -nShearWink; nTan = -nTan; } - pRenderedShape->Shear( pSdrObjCustomShape->GetSnapRect().Center(), nShearWink, nTan, FALSE); + pRenderedShape->Shear( pSdrObjCustomShape->GetSnapRect().Center(), nShearWink, nTan, sal_False); } if( nRotateAngle ) { @@ -399,7 +399,7 @@ com::sun::star::drawing::PolyPolygonBezierCoords SAL_CALL EnhancedCustomShapeEng nShearWink = -nShearWink; nTan = -nTan; } - pObj->Shear( aRect.Center(), nShearWink, nTan, FALSE); + pObj->Shear( aRect.Center(), nShearWink, nTan, sal_False); } sal_Int32 nRotateAngle = aCustomShape2d.GetRotateAngle(); if( nRotateAngle ) @@ -435,7 +435,7 @@ com::sun::star::drawing::PolyPolygonBezierCoords SAL_CALL EnhancedCustomShapeEng } else { - pNewObj = pNext->ConvertToPolyObj( FALSE, FALSE ); + pNewObj = pNext->ConvertToPolyObj( sal_False, sal_False ); SdrPathObj* pPath = PTR_CAST( SdrPathObj, pNewObj ); if ( pPath ) aPP = pPath->GetPathPoly(); |