summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 10:27:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 10:27:05 +0000
commit3ef6b198520e58f6ceb6026cea0a8c6636fb6d1c (patch)
tree8ddea73b1da4d36d435827e542439fddf502ad69 /bridges/source
parentf41487508fcf1ebc6dbac1a4d9837594946ba500 (diff)
cppcheck: methods can be const
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/remote/urp/urp_unmarshal.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/source/remote/urp/urp_unmarshal.hxx b/bridges/source/remote/urp/urp_unmarshal.hxx
index 04881d456cce..ca963c3eac46 100644
--- a/bridges/source/remote/urp/urp_unmarshal.hxx
+++ b/bridges/source/remote/urp/urp_unmarshal.hxx
@@ -76,9 +76,9 @@ public:
remote_createStubFunc callback );
~Unmarshal();
- inline sal_Bool finished()
+ inline sal_Bool finished() const
{ return m_base + m_nLength == m_pos; }
- inline sal_uInt32 getPos()
+ inline sal_uInt32 getPos() const
{ return (sal_uInt32 ) (m_pos - m_base); }
inline sal_Bool setSize( sal_Int32 nSize );
@@ -97,7 +97,7 @@ public:
sal_Int8 *getBuffer()
{ return m_base; }
- inline sal_Bool isSystemLittleEndian()
+ inline sal_Bool isSystemLittleEndian() const
{ return g_bSystemIsLittleEndian; }
private: