diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:05:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 12:02:13 +0000 |
commit | 3a7600501d9eccca6aeb38c77e83d30d397a2676 (patch) | |
tree | 10533af6c2928acf03fd1f9fc080e206999b379f /bridges | |
parent | 4a1aee9ac3156bc6c05d82ffe7fc70f53ac6a310 (diff) |
cppcheck: methods can be const
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/remote/urp/urp_job.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bridges/source/remote/urp/urp_job.hxx b/bridges/source/remote/urp/urp_job.hxx index 08bc43f89..fe353e8c7 100644 --- a/bridges/source/remote/urp/urp_job.hxx +++ b/bridges/source/remote/urp/urp_job.hxx @@ -117,13 +117,13 @@ public: inline void setBridgePropertyCall() { m_bBridgePropertyCall = sal_True; } - inline sal_Bool isBridgePropertyCall() + inline sal_Bool isBridgePropertyCall() const { return m_bBridgePropertyCall; } - inline sal_Bool isOneway() + inline sal_Bool isOneway() const { return m_bOneway; } - inline void setUnmarshal( Unmarshal *p ) - { m_pUnmarshal = p; } + inline void setUnmarshal( Unmarshal *p ) + { m_pUnmarshal = p; } public: typelib_InterfaceMethodTypeDescription *m_pMethodType; typelib_InterfaceAttributeTypeDescription *m_pAttributeType; @@ -248,7 +248,7 @@ public: m_aEntries[m_nCalls].m_bIgnoreCache = bIgnoreCache; } - inline sal_Bool isFull() + inline sal_Bool isFull() const { return m_nCalls >= m_nMaxMessages; } inline sal_Int8 *getHeap( sal_Int32 nSizeToAlloc ) |