diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-05 13:18:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:17 +0200 |
commit | c54b276beb30c36cee4d7cf2ccbd552c526777e7 (patch) | |
tree | c4d6a7f8bc55a32fbc881284027dcc81697cf3ac /sd | |
parent | 96a3ed193691de0761a7754a6477f1196679590d (diff) |
svx: sal_Bool->bool
Change-Id: Ibe154941e00176cde06b1fe69864da4ae6bdee95
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/motionpathtag.cxx | 12 | ||||
-rw-r--r-- | sd/source/ui/animations/motionpathtag.hxx | 8 |
2 files changed, 10 insertions, 10 deletions
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; |