summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 10:20:52 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 10:24:47 +0200
commitb8eb2946511ce617323b13dffe2b1d9704e0be60 (patch)
treed5aa4f91e75d654a1cdfcd75f26dd4b813a73ff7 /configmgr
parentd8644c8edb405abd9d71e62e43e898c1d2a28fd2 (diff)
loplugin:passstuffbyref in various
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/localizedvaluenode.hxx2
-rw-r--r--configmgr/source/rootaccess.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx
index f4300e977b04..e3055aecf9f3 100644
--- a/configmgr/source/localizedvaluenode.hxx
+++ b/configmgr/source/localizedvaluenode.hxx
@@ -39,7 +39,7 @@ public:
virtual OUString getTemplateName() const override;
- css::uno::Any getValue() const { return value_;}
+ const css::uno::Any& getValue() const { return value_;}
css::uno::Any *getValuePtr(int layer)
{
setLayer(layer);
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index 4c16a2932ea4..a308ef59b223 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -72,7 +72,7 @@ public:
OUString getAbsolutePathRepresentation();
- OUString getLocale() const { return locale_;}
+ const OUString& getLocale() const { return locale_;}
bool isUpdate() const { return update_;}