summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 09:29:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 08:19:00 +0200
commit27463197176fd7f68cbdeed790621dad6b4c63d3 (patch)
treec9fe64f7b6d5e30e05f4ff18b5fdf71a05a4ab0a /UnoControls
parentb40e57f403b3d4ccb90f3b76caf8d537b61826dc (diff)
clang-tidy bugprone-copy-constructor-init
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57 warning: calling a base constructor other than the copy constructor Reviewed-on: https://gerrit.libreoffice.org/60239 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/multiplexer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 9b9e93a96e5b..e1353add0d80 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -72,7 +72,7 @@ OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const Referenc
{
}
-OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListenerMultiplexerHelper& /*aCopyInstance*/ )
+OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListenerMultiplexerHelper& aCopyInstance )
: XFocusListener()
, XWindowListener()
, XKeyListener()
@@ -80,7 +80,7 @@ OMRCListenerMultiplexerHelper::OMRCListenerMultiplexerHelper( const OMRCListener
, XMouseMotionListener()
, XPaintListener()
, XTopWindowListener()
- , OWeakObject()
+ , OWeakObject(aCopyInstance)
, m_aListenerHolder ( m_aMutex )
{
}