summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/DrawCommandDispatch.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-15 15:17:13 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 15:23:29 +0200
commit329332ba526983c1d64763f61df2940e6bcb7d8a (patch)
treecab0aa5fb7bdabeb56300b27cd7dbfa740820c46 /chart2/source/controller/main/DrawCommandDispatch.cxx
parentffbc86f5ac2a835d841d53938824242e0a69fdd4 (diff)
chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
Diffstat (limited to 'chart2/source/controller/main/DrawCommandDispatch.cxx')
-rw-r--r--chart2/source/controller/main/DrawCommandDispatch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx
index 5398e2e0d07b..c20e0af58f20 100644
--- a/chart2/source/controller/main/DrawCommandDispatch.cxx
+++ b/chart2/source/controller/main/DrawCommandDispatch.cxx
@@ -121,7 +121,7 @@ void DrawCommandDispatch::setAttributes( SdrObject* pObj )
DrawViewWrapper* pDrawViewWrapper = m_pChartController->GetDrawViewWrapper();
if ( pDrawModelWrapper && pDrawViewWrapper && pDrawViewWrapper->GetCurrentObjIdentifier() == OBJ_CUSTOMSHAPE )
{
- sal_Bool bAttributesAppliedFromGallery = sal_False;
+ bool bAttributesAppliedFromGallery = false;
if ( GalleryExplorer::GetSdrObjCount( GALLERY_THEME_POWERPOINT ) )
{
::std::vector< OUString > aObjList;
@@ -162,7 +162,7 @@ void DrawCommandDispatch::setAttributes( SdrObject* pObj )
double a = nAngle * F_PI18000;
pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) );
}
- bAttributesAppliedFromGallery = sal_True;
+ bAttributesAppliedFromGallery = true;
}
}
break;
@@ -510,7 +510,7 @@ SdrObject* DrawCommandDispatch::createDefaultObject( const sal_uInt16 nID )
if ( pTextObj )
{
pTextObj->SetLogicRect( aRect );
- sal_Bool bVertical = ( nID == COMMAND_ID_DRAW_TEXT_VERTICAL );
+ bool bVertical = ( nID == COMMAND_ID_DRAW_TEXT_VERTICAL );
pTextObj->SetVerticalWriting( bVertical );
if ( bVertical )
{
@@ -530,7 +530,7 @@ SdrObject* DrawCommandDispatch::createDefaultObject( const sal_uInt16 nID )
{
if ( pObj->ISA( SdrCaptionObj ) )
{
- sal_Bool bIsVertical( COMMAND_ID_DRAW_CAPTION_VERTICAL == nID );
+ bool bIsVertical( COMMAND_ID_DRAW_CAPTION_VERTICAL == nID );
SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObj );
if ( pTextObj )
{