summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 08:34:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-05 09:22:51 +0200
commit17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch)
tree1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /UnoControls
parent8fa4b0429b514c0d696ebfc2e47418292d7ec367 (diff)
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192 Reviewed-on: https://gerrit.libreoffice.org/38400 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx2
-rw-r--r--UnoControls/source/inc/OConnectionPointHelper.hxx2
2 files changed, 2 insertions, 2 deletions
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;