From b8eb2946511ce617323b13dffe2b1d9704e0be60 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Apr 2016 10:20:52 +0200 Subject: loplugin:passstuffbyref in various Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022 --- configmgr/source/localizedvaluenode.hxx | 2 +- configmgr/source/rootaccess.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'configmgr') 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_;} -- cgit v1.2.3