[Libreoffice-commits] .: bridges/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Nov 25 02:27:11 PST 2010


 bridges/source/remote/urp/urp_unmarshal.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7f92ccf47c502a3e2b65a386d1f286b0161765cb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 25 10:27:05 2010 +0000

    cppcheck: methods can be const

diff --git a/bridges/source/remote/urp/urp_unmarshal.hxx b/bridges/source/remote/urp/urp_unmarshal.hxx
index 07b03b6..0eefd7c 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:


More information about the Libreoffice-commits mailing list