summaryrefslogtreecommitdiff
path: root/sw/source/ui/ribbar/concustomshape.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-02-13 00:02:30 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-02-13 00:03:37 +0900
commit3ea4060c5d66588a59f2da26b0174cd1120bed7c (patch)
tree7d3281939e1cb16e645c413a0739bc7dd8edc8b4 /sw/source/ui/ribbar/concustomshape.cxx
parent1b0109aeda20ec241600972538efc03c87c78733 (diff)
sal_Bool to bool
Change-Id: I248912310658aec789f89f9dba0821b7ec86163d
Diffstat (limited to 'sw/source/ui/ribbar/concustomshape.cxx')
-rw-r--r--sw/source/ui/ribbar/concustomshape.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/ribbar/concustomshape.cxx b/sw/source/ui/ribbar/concustomshape.cxx
index 032bfb1ac792..2dffc496a70e 100644
--- a/sw/source/ui/ribbar/concustomshape.cxx
+++ b/sw/source/ui/ribbar/concustomshape.cxx
@@ -92,9 +92,9 @@ sal_Bool ConstCustomShape::MouseButtonDown(const MouseEvent& rMEvt)
if ( pObj )
{
SetAttributes( pObj );
- sal_Bool bForceNoFillStyle = sal_False;
+ bool bForceNoFillStyle = false;
if ( ((SdrObjCustomShape*)pObj)->UseNoFillStyle() )
- bForceNoFillStyle = sal_True;
+ bForceNoFillStyle = true;
SfxItemSet aAttr( m_pView->GetPool() );
if ( bForceNoFillStyle )
@@ -138,7 +138,7 @@ void ConstCustomShape::Activate(const sal_uInt16 nSlotId)
void ConstCustomShape::SetAttributes( SdrObject* pObj )
{
- sal_Bool bAttributesAppliedFromGallery = sal_False;
+ bool bAttributesAppliedFromGallery = false;
if ( GalleryExplorer::GetSdrObjCount( GALLERY_THEME_POWERPOINT ) )
{
@@ -181,7 +181,7 @@ void ConstCustomShape::SetAttributes( SdrObject* pObj )
double a = nAngle * F_PI18000;
pObj->NbcRotate( pObj->GetSnapRect().Center(), nAngle, sin( a ), cos( a ) );
}
- bAttributesAppliedFromGallery = sal_True;
+ bAttributesAppliedFromGallery = true;
}
}
break;