[Libreoffice-commits] .: editeng/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Jul 30 01:14:05 PDT 2011
editeng/source/editeng/editattr.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 1ec3f60f3d43fd1d6764a1c85ef9823c9d20c6b4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jul 30 10:14:22 2011 +0200
Some cppcheck cleaning
diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx
index e4d7308..edf2c30 100644
--- a/editeng/source/editeng/editattr.hxx
+++ b/editeng/source/editeng/editattr.hxx
@@ -121,11 +121,11 @@ public:
virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev );
- sal_Bool IsIn( sal_uInt16 nIndex )
+ sal_Bool IsIn( sal_uInt16 nIndex ) const
{ return ( ( nStart <= nIndex ) && ( nEnd >= nIndex ) ); }
- sal_Bool IsInside( sal_uInt16 nIndex )
+ sal_Bool IsInside( sal_uInt16 nIndex ) const
{ return ( ( nStart < nIndex ) && ( nEnd > nIndex ) ); }
- sal_Bool IsEmpty()
+ sal_Bool IsEmpty() const
{ return nStart == nEnd; }
sal_Bool IsFeature() const { return bFeature; }
More information about the Libreoffice-commits
mailing list