summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svddrag.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:57:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:17 +0100
commit0d957046f103605ba51b2a59a8f4c463ca33010a (patch)
tree66acd5576bd19167c14837d8b036673485f252bc /svx/source/svdraw/svddrag.cxx
parentbd9581d46d78c5742fbb50f1b4a9ff2fc1dae7e8 (diff)
bool improvements
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
Diffstat (limited to 'svx/source/svdraw/svddrag.cxx')
-rw-r--r--svx/source/svdraw/svddrag.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/svdraw/svddrag.cxx b/svx/source/svdraw/svddrag.cxx
index 0a982d2a40cf..a45ef7b9c6ca 100644
--- a/svx/source/svdraw/svddrag.cxx
+++ b/svx/source/svdraw/svddrag.cxx
@@ -38,20 +38,20 @@ void SdrDragStat::Reset()
{
pView=NULL;
pPageView=NULL;
- bShown=sal_False;
+ bShown=false;
nMinMov=1;
- bMinMoved=sal_False;
- bHorFixed=sal_False;
- bVerFixed=sal_False;
- bWantNoSnap=sal_False;
+ bMinMoved=false;
+ bHorFixed=false;
+ bVerFixed=false;
+ bWantNoSnap=false;
pHdl=NULL;
- bOrtho4=sal_False;
- bOrtho8=sal_False;
+ bOrtho4=false;
+ bOrtho8=false;
pDragMethod=NULL;
- bEndDragChangesAttributes=sal_False;
- bEndDragChangesGeoAndAttributes=sal_False;
- bMouseIsUp=sal_False;
- Clear(sal_True);
+ bEndDragChangesAttributes=false;
+ bEndDragChangesGeoAndAttributes=false;
+ bMouseIsUp=false;
+ Clear(true);
aActionRect=Rectangle();
}
@@ -103,7 +103,7 @@ bool SdrDragStat::CheckMinMoved(const Point& rPnt)
long dx=rPnt.X()-GetPrev().X(); if (dx<0) dx=-dx;
long dy=rPnt.Y()-GetPrev().Y(); if (dy<0) dy=-dy;
if (dx>=long(nMinMov) || dy>=long(nMinMov))
- bMinMoved=sal_True;
+ bMinMoved=true;
}
return bMinMoved;
}