diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 15:38:21 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 15:38:21 +0000 |
commit | af9ae2ea1f72ba71b67bf9ad19e6268dcd2eb9f9 (patch) | |
tree | 33c5ff26ec39dee0c94dc4379c478bc61d1e88da /svx/source/svdraw/svdhlpln.cxx | |
parent | 4d801128be5947a63f8a323385678f68ace736f9 (diff) |
INTEGRATION: CWS warnings01 (1.9.220); FILE MERGED
2006/03/10 16:28:37 aw 1.9.220.1: #i55991# WarningFree changes for unxsol
Diffstat (limited to 'svx/source/svdraw/svdhlpln.cxx')
-rw-r--r-- | svx/source/svdraw/svdhlpln.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx index 1971390483a4..ed89fc90ebf8 100644 --- a/svx/source/svdraw/svdhlpln.cxx +++ b/svx/source/svdraw/svdhlpln.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdhlpln.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-09 00:28:30 $ + * last change: $Author: hr $ $Date: 2006-06-19 16:38:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -61,9 +61,9 @@ Pointer SdrHelpLine::GetPointer() const { switch (eKind) { - case SDRHELPLINE_VERTICAL : return Pointer(POINTER_ESIZE); break; - case SDRHELPLINE_HORIZONTAL: return Pointer(POINTER_SSIZE); break; - default : return Pointer(POINTER_MOVE); break; + case SDRHELPLINE_VERTICAL : return Pointer(POINTER_ESIZE); + case SDRHELPLINE_HORIZONTAL: return Pointer(POINTER_SSIZE); + default : return Pointer(POINTER_MOVE); } // switch } @@ -130,8 +130,8 @@ FASTBOOL SdrHelpLine::IsHit(const Point& rPnt, USHORT nTolLog, const OutputDevic 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(); switch (eKind) { - case SDRHELPLINE_VERTICAL : return bXHit; break; - case SDRHELPLINE_HORIZONTAL: return bYHit; break; + case SDRHELPLINE_VERTICAL : return bXHit; + case SDRHELPLINE_HORIZONTAL: return bYHit; case SDRHELPLINE_POINT: { if (bXHit || bYHit) { Size aRad(rOut.PixelToLogic(Size(SDRHELPLINE_POINT_PIXELSIZE,SDRHELPLINE_POINT_PIXELSIZE))); |