From c54b276beb30c36cee4d7cf2ccbd552c526777e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Mar 2014 13:18:21 +0200 Subject: svx: sal_Bool->bool Change-Id: Ibe154941e00176cde06b1fe69864da4ae6bdee95 --- sd/source/ui/animations/motionpathtag.cxx | 12 ++++++------ sd/source/ui/animations/motionpathtag.hxx | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx index c29f8dce6ef2..90a3476da99e 100644 --- a/sd/source/ui/animations/motionpathtag.cxx +++ b/sd/source/ui/animations/motionpathtag.cxx @@ -1137,7 +1137,7 @@ void MotionPathTag::DeleteMarkedPoints() } } -sal_Bool MotionPathTag::IsDeleteMarkedPointsPossible() const +bool MotionPathTag::IsDeleteMarkedPointsPossible() const { return mpPathObj && isSelected() && (GetMarkedPointCount() != 0); } @@ -1153,12 +1153,12 @@ bool MotionPathTag::IsRipUpAtMarkedPointsPossible() const return false; } -sal_Bool MotionPathTag::IsSetMarkedSegmentsKindPossible() const +bool MotionPathTag::IsSetMarkedSegmentsKindPossible() const { if( mpPathObj ) return mrView.IsSetMarkedSegmentsKindPossible(); else - return sal_False; + return false; } SdrPathSegmentKind MotionPathTag::GetMarkedSegmentsKind() const @@ -1187,12 +1187,12 @@ void MotionPathTag::SetMarkedSegmentsKind(SdrPathSegmentKind eKind) } } -sal_Bool MotionPathTag::IsSetMarkedPointsSmoothPossible() const +bool MotionPathTag::IsSetMarkedPointsSmoothPossible() const { if( mpPathObj ) return mrView.IsSetMarkedPointsSmoothPossible(); else - return sal_False; + return false; } SdrPathSmoothKind MotionPathTag::GetMarkedPointsSmooth() const @@ -1240,7 +1240,7 @@ void MotionPathTag::SetMarkedPointsSmooth(SdrPathSmoothKind eKind) } } -void MotionPathTag::CloseMarkedObjects(sal_Bool /*bToggle*/, sal_Bool /*bOpen*/ ) +void MotionPathTag::CloseMarkedObjects(bool /*bToggle*/, bool /*bOpen*/ ) { // not supported for motion path } diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx index 7ee43f90eb99..adb037dc3ea9 100644 --- a/sd/source/ui/animations/motionpathtag.hxx +++ b/sd/source/ui/animations/motionpathtag.hxx @@ -62,20 +62,20 @@ public: // IPolyPolygonEditorController virtual void DeleteMarkedPoints(); - virtual sal_Bool IsDeleteMarkedPointsPossible() const; + virtual bool IsDeleteMarkedPointsPossible() const; virtual void RipUpAtMarkedPoints(); virtual bool IsRipUpAtMarkedPointsPossible() const; - virtual sal_Bool IsSetMarkedSegmentsKindPossible() const; + virtual bool IsSetMarkedSegmentsKindPossible() const; virtual SdrPathSegmentKind GetMarkedSegmentsKind() const; virtual void SetMarkedSegmentsKind(SdrPathSegmentKind eKind); - virtual sal_Bool IsSetMarkedPointsSmoothPossible() const; + virtual bool IsSetMarkedPointsSmoothPossible() const; virtual SdrPathSmoothKind GetMarkedPointsSmooth() const; virtual void SetMarkedPointsSmooth(SdrPathSmoothKind eKind); - virtual void CloseMarkedObjects(sal_Bool bToggle, sal_Bool bOpen ); + virtual void CloseMarkedObjects(bool bToggle, bool bOpen ); virtual bool IsOpenCloseMarkedObjectsPossible() const; virtual SdrObjClosedKind GetMarkedObjectsClosedState() const; -- cgit