summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:33:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:33:17 +0200
commitd30f4e3647483b4ef9c98d0f9c93c50905005d3c (patch)
tree55f8e027c744e69f33bb7a7dd1a445176670ce1b /include/cppuhelper
parentloplugin:casttovoid: cui (diff)
downloadcore-d30f4e3647483b4ef9c98d0f9c93c50905005d3c.tar.gz
core-d30f4e3647483b4ef9c98d0f9c93c50905005d3c.zip
loplugin:casttovoid: cppuhelper
Change-Id: I70a8f00b5ec9d100185d2865bcf54ce96c93adc3
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/weak.hxx8
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