diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/motionpathtag.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 10 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx index 56cd83c904fd..dcb28ca69ee5 100644 --- a/sd/source/ui/animations/motionpathtag.cxx +++ b/sd/source/ui/animations/motionpathtag.cxx @@ -526,7 +526,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl ) if(bNewObj) aPt = mrView.GetSnapPos(aPt,mrView.GetSdrPageView()); - sal_Bool bClosed0(mpPathObj->IsClosedObj()); + bool bClosed0(mpPathObj->IsClosedObj()); sal_uInt32 nInsPointNum = mpPathObj->NbcInsPointOld(aPt, bNewObj, sal_True); diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index a414aa39c2e5..c0f468cda2a3 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -914,7 +914,7 @@ sal_Bool SdXShape::IsPresObj() const throw() /** checks if this presentation object is empty */ -sal_Bool SdXShape::IsEmptyPresObj() const throw() +bool SdXShape::IsEmptyPresObj() const throw() { SdrObject* pObj = mpShape->GetSdrObject(); if( (pObj != NULL) && pObj->IsEmptyPresObj() ) @@ -922,7 +922,7 @@ sal_Bool SdXShape::IsEmptyPresObj() const throw() // check if the object is in edit, than its temporarely not empty SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObj ); if( pTextObj == 0 ) - return sal_True; + return true; OutlinerParaObject* pParaObj = pTextObj->GetEditOutlinerParaObject(); if( pParaObj ) @@ -931,11 +931,11 @@ sal_Bool SdXShape::IsEmptyPresObj() const throw() } else { - return sal_True; + return true; } } - return sal_False; + return false; } OUString SdXShape::GetPlaceholderText() const @@ -958,7 +958,7 @@ OUString SdXShape::GetPlaceholderText() const /** sets/reset the empty status of a presentation object */ -void SdXShape::SetEmptyPresObj( sal_Bool bEmpty ) throw() +void SdXShape::SetEmptyPresObj( bool bEmpty ) throw() { // only possible if this actually *is* a presentation object if( !IsPresObj() ) diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 08c376f5ff53..972f723ee7c0 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -64,8 +64,8 @@ private: sal_Bool IsPresObj() const throw(); void SetPresObj( sal_Bool bPresObj ) throw(); - sal_Bool IsEmptyPresObj() const throw(); - void SetEmptyPresObj( sal_Bool bEmpty ) throw(); + bool IsEmptyPresObj() const throw(); + void SetEmptyPresObj( bool bEmpty ) throw(); sal_Bool IsMasterDepend() const throw(); void SetMasterDepend( sal_Bool bDepend ) throw(); |