From 17a2c9e8e2361de27013a25e51f3a3ca729f1b31 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Jun 2017 08:34:22 +0200 Subject: clang-tidy performance-unnecessary-value-param Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192 Reviewed-on: https://gerrit.libreoffice.org/38400 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/controls/OConnectionPointHelper.cxx | 2 +- UnoControls/source/inc/OConnectionPointHelper.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx index fff245e8341c..e54acbdf46fb 100644 --- a/UnoControls/source/controls/OConnectionPointHelper.cxx +++ b/UnoControls/source/controls/OConnectionPointHelper.cxx @@ -38,7 +38,7 @@ namespace unocontrols{ OConnectionPointHelper::OConnectionPointHelper( Mutex& aMutex , OConnectionPointContainerHelper* pContainerImplementation , - Type aType + Type const & aType ) : m_aSharedMutex ( aMutex ) , m_oContainerWeakReference ( pContainerImplementation ) , m_pContainerImplementation ( pContainerImplementation ) diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index 2e86fc29f302..77a788651b77 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -42,7 +42,7 @@ public: OConnectionPointHelper( ::osl::Mutex& aMutex , OConnectionPointContainerHelper* pContainerImplementation , - css::uno::Type aType ); + css::uno::Type const & aType ); virtual ~OConnectionPointHelper() override; -- cgit