diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:57:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:17 +0100 |
commit | 0d957046f103605ba51b2a59a8f4c463ca33010a (patch) | |
tree | 66acd5576bd19167c14837d8b036673485f252bc /include/svx/svddrag.hxx | |
parent | bd9581d46d78c5742fbb50f1b4a9ff2fc1dae7e8 (diff) |
bool improvements
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
Diffstat (limited to 'include/svx/svddrag.hxx')
-rw-r--r-- | include/svx/svddrag.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svddrag.hxx b/include/svx/svddrag.hxx index b88d70c5a072..ef29454828ed 100644 --- a/include/svx/svddrag.hxx +++ b/include/svx/svddrag.hxx @@ -94,7 +94,7 @@ protected: SdrDragStatUserData* pUser; // Userdata public: SdrDragStat(): aPnts() { pUser=NULL; Reset(); } - ~SdrDragStat() { Clear(sal_False); } + ~SdrDragStat() { Clear(false); } void Reset(); SdrView* GetView() const { return pView; } void SetView(SdrView* pV) { pView=pV; } @@ -124,8 +124,8 @@ public: void SetShown(bool bOn) { bShown=bOn; } bool IsMinMoved() const { return bMinMoved; } - void SetMinMoved() { bMinMoved=sal_True; } - void ResetMinMoved() { bMinMoved=sal_False; } + void SetMinMoved() { bMinMoved=true; } + void ResetMinMoved() { bMinMoved=false; } void SetMinMove(sal_uInt16 nDist) { nMinMov=nDist; if (nMinMov<1) nMinMov=1; } sal_uInt16 GetMinMove() const { return nMinMov; } @@ -160,7 +160,7 @@ public: Point KorregPos(const Point& rNow, const Point& rPrev) const; void Reset(const Point& rPnt); void NextMove(const Point& rPnt); - void NextPoint(bool bSaveReal=sal_False); + void NextPoint(bool bSaveReal=false); void PrevPoint(); bool CheckMinMoved(const Point& rPnt); long GetDX() const { return GetNow().X()-GetPrev().X(); } |