summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
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());