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 | 670bb20d25fb2b8b0fe56bc85567cf7ce6fa8d48 (patch) | |
tree | b7c2427bfe5b22a4929646db88edd0492de9f03b /bridges | |
parent | 2a462c138b52e0c211e8e344e461a2721a09b7cf (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 ed31e33c387b..02ef755ecfae 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 ) |