diff options
author | David Tardon <dtardon@redhat.com> | 2010-12-23 11:21:14 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-12-23 11:21:14 +0100 |
commit | 0f949c0b530c74cfff999fa3c1b69403cdf0e6b8 (patch) | |
tree | 193467fb95eac92047b13347b1e71ac63b3fe75f | |
parent | da371e2fb97603dbf9067e637f8d3629b8489b50 (diff) |
suppress compiler warning
-rw-r--r-- | cppu/inc/cppu/Enterable.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cppu/inc/cppu/Enterable.hxx b/cppu/inc/cppu/Enterable.hxx index cf238edb0..536479189 100644 --- a/cppu/inc/cppu/Enterable.hxx +++ b/cppu/inc/cppu/Enterable.hxx @@ -51,16 +51,16 @@ public: virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam) = 0; virtual int v_isValid (rtl::OUString * pReason) = 0; - virtual ~Enterable() {}; + virtual ~Enterable() {} public: inline explicit Enterable(void); - inline void enter(void) {m_enter(this);}; - inline void leave(void) {m_leave(this);}; + inline void enter(void) {m_enter(this);} + inline void leave(void) {m_leave(this);} - inline void callInto_v(uno_EnvCallee * pCallee, va_list * pParam) {m_callInto_v(this, pCallee, pParam);}; - inline void callOut_v (uno_EnvCallee * pCallee, va_list * pParam) {m_callOut_v (this, pCallee, pParam);}; + inline void callInto_v(uno_EnvCallee * pCallee, va_list * pParam) {m_callInto_v(this, pCallee, pParam);} + inline void callOut_v (uno_EnvCallee * pCallee, va_list * pParam) {m_callOut_v (this, pCallee, pParam);} inline void callInto(uno_EnvCallee * pCallee, ...); inline void callOut (uno_EnvCallee * pCallee, ...); @@ -72,12 +72,12 @@ private: Enterable & operator = (Enterable const &); }; -extern "C" inline void Enterable_call_enter (void * context) { ((Enterable *)context)->v_enter(); }; -extern "C" inline void Enterable_call_leave (void * context) { ((Enterable *)context)->v_leave(); }; +extern "C" inline void Enterable_call_enter (void * context) { ((Enterable *)context)->v_enter(); } +extern "C" inline void Enterable_call_leave (void * context) { ((Enterable *)context)->v_leave(); } extern "C" inline void Enterable_call_callInto_v(void * context, uno_EnvCallee * pCallee, va_list * pParam) - { ((Enterable *)context)->v_callInto_v(pCallee, pParam); }; + { ((Enterable *)context)->v_callInto_v(pCallee, pParam); } extern "C" inline void Enterable_call_callOut_v (void * context, uno_EnvCallee * pCallee, va_list * pParam) - { ((Enterable *)context)->v_callOut_v(pCallee, pParam); }; + { ((Enterable *)context)->v_callOut_v(pCallee, pParam); } extern "C" inline int Enterable_call_isValid (void * context, rtl_uString ** pReason) {return ((Enterable *)context)->v_isValid((rtl::OUString *)pReason);} |