[Libreoffice-commits] .: binfilter/bf_svx
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Nov 27 13:25:20 PST 2010
binfilter/bf_svx/source/svdraw/svx_svdtouch.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6e7917ed5b986d9ed12fe125f21aad2d6674e180
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 21:25:13 2010 +0000
cppcheck: method can be const
diff --git a/binfilter/bf_svx/source/svdraw/svx_svdtouch.cxx b/binfilter/bf_svx/source/svdraw/svx_svdtouch.cxx
index fa54a5c..453ca99 100644
--- a/binfilter/bf_svx/source/svdraw/svx_svdtouch.cxx
+++ b/binfilter/bf_svx/source/svdraw/svx_svdtouch.cxx
@@ -67,7 +67,7 @@ namespace binfilter {
/*N*/ bPntInRect=rP.X()>=x1 && rP.X()<=x2 && rP.Y()>=y1 && rP.Y()<=y2;
/*N*/ }
/*N*/ }
-/*N*/ bool IsHit() { return (!bLine && (nOCnt & 1)==1) || IsDecided(); }
+/*N*/ bool IsHit() const { return (!bLine && (nOCnt & 1)==1) || IsDecided(); }
/*N*/ };
/*N*/ #define CAREFUL_MULDIV(Res,Val,Mul,Div) { \
More information about the Libreoffice-commits
mailing list