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
commit7f92ccf47c502a3e2b65a386d1f286b0161765cb (patch)
treece73459661b5eef1ae86e5be5544562ab6a5888c /bridges/source
parent51fdb0e8e2636671bea49ce1f53a149f9e0861df (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 07b03b606..0eefd7c95 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: