diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:40:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 16:02:40 +0000 |
commit | 7a767299b579849f29e8e7b5d25e10125be3266a (patch) | |
tree | 9295cd9f01b56ea51f8dc64ddc45ecf4ba058d04 | |
parent | cppcheck: methods can be const (diff) | |
download | core-7a767299b579849f29e8e7b5d25e10125be3266a.tar.gz core-7a767299b579849f29e8e7b5d25e10125be3266a.zip |
cppcheck: methods can be const
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 3 |
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 ); |