summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdhlpln.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdhlpln.cxx')
-rw-r--r--svx/source/svdraw/svdhlpln.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx
index 2813b6f032f1..3291af977929 100644
--- a/svx/source/svdraw/svdhlpln.cxx
+++ b/svx/source/svdraw/svdhlpln.cxx
@@ -47,11 +47,11 @@ Pointer SdrHelpLine::GetPointer() const
} // switch
}
-FASTBOOL SdrHelpLine::IsHit(const Point& rPnt, USHORT nTolLog, const OutputDevice& rOut) const
+bool SdrHelpLine::IsHit(const Point& rPnt, USHORT nTolLog, const OutputDevice& rOut) const
{
Size a1Pix(rOut.PixelToLogic(Size(1,1)));
- FASTBOOL bXHit=rPnt.X()>=aPos.X()-nTolLog && rPnt.X()<=aPos.X()+nTolLog+a1Pix.Width();
- FASTBOOL bYHit=rPnt.Y()>=aPos.Y()-nTolLog && rPnt.Y()<=aPos.Y()+nTolLog+a1Pix.Height();
+ bool bXHit=rPnt.X()>=aPos.X()-nTolLog && rPnt.X()<=aPos.X()+nTolLog+a1Pix.Width();
+ bool bYHit=rPnt.Y()>=aPos.Y()-nTolLog && rPnt.Y()<=aPos.Y()+nTolLog+a1Pix.Height();
switch (eKind) {
case SDRHELPLINE_VERTICAL : return bXHit;
case SDRHELPLINE_HORIZONTAL: return bYHit;
@@ -123,13 +123,13 @@ void SdrHelpLineList::operator=(const SdrHelpLineList& rSrcList)
bool SdrHelpLineList::operator==(const SdrHelpLineList& rSrcList) const
{
- FASTBOOL bEqual=FALSE;
+ bool bEqual = false;
USHORT nAnz=GetCount();
if (nAnz==rSrcList.GetCount()) {
- bEqual=TRUE;
+ bEqual = true;
for (USHORT i=0; i<nAnz && bEqual; i++) {
if (*GetObject(i)!=*rSrcList.GetObject(i)) {
- bEqual=FALSE;
+ bEqual = false;
}
}
}