summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 11:40:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 16:02:40 +0000
commit7a767299b579849f29e8e7b5d25e10125be3266a (patch)
tree9295cd9f01b56ea51f8dc64ddc45ecf4ba058d04
parentcaa01900a714c43e262354592ed52e153a5e4005 (diff)
cppcheck: methods can be const
-rw-r--r--sax/source/expatwrap/saxwriter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 9aaaa75134f8..2f6cfccadc30 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -179,7 +179,8 @@ public:
sal_Bool bDoNormalization,
sal_Bool bNormalizeWhitespace) throw( SAXException );
- sal_uInt32 GetLastColumnCount() { return (sal_uInt32)(nCurrentPos - nLastLineFeedPos); }
+ sal_uInt32 GetLastColumnCount() const
+ { return (sal_uInt32)(nCurrentPos - nLastLineFeedPos); }
inline void startDocument() throw( SAXException );