summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 11:23:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 16:01:05 +0000
commita5ddafeb126b4063c1ff005a6a70b6934d31b5f6 (patch)
treed4937d10e13a3f56416aee07e83faac0d3e9f6d6 /scripting/source/stringresource/stringresource.cxx
parent968f56bffd6c309d1335eb0e21902a81cf80b591 (diff)
cppcheck: methods can be const
Diffstat (limited to 'scripting/source/stringresource/stringresource.cxx')
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 555bd5ef77fc..c68c938baffa 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -1518,7 +1518,7 @@ public:
Reference< io::XInputStream > getInputStreamForSection( sal_Int32 nSize );
void seek( sal_Int32 nPos );
- sal_Int32 getPosition( void )
+ sal_Int32 getPosition( void ) const
{ return m_nCurPos; }
sal_Int16 readInt16( void );