summaryrefslogtreecommitdiff
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
commitfeb744e8719e911324cc10f07fb0c37acc28fe70 (patch)
treecbc0cc1d172d99319de736e476a9b0910377c44f
parent71fcbeceadd95d9861aede0f101f35146e0232db (diff)
cppcheck: methods can be const
-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 4aa17a73d3..f923348f62 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 );