diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-07-30 10:14:22 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-07-30 10:14:22 +0200 |
commit | 409bb26b28f062d0dc1407a70f349533dcf611d2 (patch) | |
tree | 54ab504aa9affa19ef0781406def2b1394356f5f /editeng | |
parent | 37d7efc5f98f85437737a5dfce909b8dc43d2cbd (diff) |
Some cppcheck cleaning
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editattr.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx index 2d4cc9602ad5..8e820848a209 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; } |