summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 12:08:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 11:37:19 +0000
commit62633dfe026bc3badf7066e5fb454036bae9cfdc (patch)
treeb1a30ddd709ba80b8629d916d54c03d733651d12 /configmgr
parentaa458c31a5dfa2be8b6bd8f1b4e402ce8c27edde (diff)
clang-tidy performance-unnecessary-value-param in various
Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/configurationprovider.cxx4
-rw-r--r--configmgr/source/update.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx
index 65e33b7ce55d..ed4fe6a098d4 100644
--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -92,7 +92,7 @@ class Service:
{
public:
explicit Service(
- css::uno::Reference< css::uno::XComponentContext > const context):
+ const css::uno::Reference< css::uno::XComponentContext >& context):
ServiceBase(m_aMutex), context_(context), default_(true),
lock_( lock() )
{
@@ -100,7 +100,7 @@ public:
}
Service(
- css::uno::Reference< css::uno::XComponentContext > const context,
+ const css::uno::Reference< css::uno::XComponentContext >& context,
OUString const & locale):
ServiceBase(m_aMutex), context_(context), locale_(locale),
default_(false),
diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx
index b479ffe40585..054bca7be646 100644
--- a/configmgr/source/update.cxx
+++ b/configmgr/source/update.cxx
@@ -60,7 +60,7 @@ class Service:
public cppu::WeakImplHelper< css::configuration::XUpdate >
{
public:
- explicit Service(css::uno::Reference< css::uno::XComponentContext > const context):
+ explicit Service(const css::uno::Reference< css::uno::XComponentContext >& context):
context_(context)
{
assert(context.is());