diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:33:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:33:17 +0200 |
commit | d30f4e3647483b4ef9c98d0f9c93c50905005d3c (patch) | |
tree | 55f8e027c744e69f33bb7a7dd1a445176670ce1b /include | |
parent | bee3461c8756d707d042a71a92f81de943229db9 (diff) |
loplugin:casttovoid: cppuhelper
Change-Id: I70a8f00b5ec9d100185d2865bcf54ce96c93adc3
Diffstat (limited to 'include')
-rw-r--r-- | include/cppuhelper/weak.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx index 8c8126e47a54..44e026743d2a 100644 --- a/include/cppuhelper/weak.hxx +++ b/include/cppuhelper/weak.hxx @@ -106,17 +106,13 @@ public: {} #endif /** Dummy copy constructor. Set the reference count to zero. - - @param rObj dummy param */ - OWeakObject( const OWeakObject & rObj ) + OWeakObject( const OWeakObject & ) : css::uno::XWeak() , m_refCount( 0 ) , m_pWeakConnectionPoint( NULL ) , m_pReserved(NULL) - { - (void) rObj; - } + {} /** Dummy assignment operator. Does not affect reference count. @return this OWeakObject |