summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-22 17:13:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-22 17:13:58 +0200
commite761ae784775b0e533d0eca343ece9cc750eeb37 (patch)
treeafdaea480c1b2bce9d468c4c6f2769bef4b293c6
parent04834f4ad1682e7853536ffcdd9b19a9848c4c70 (diff)
loplugin:passstuffbyref
Change-Id: Ibba2d7322a3708bce186bb6f8de44ffa18c5146e
-rw-r--r--cui/source/options/optaboutconfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index cd1cd4bcff26..ebebbd9bf7b1 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -61,12 +61,12 @@ struct UserData
OUString sPropertyPath;
Reference<XNameAccess> aXNameAccess;
- UserData( OUString rPropertyPath )
+ UserData( OUString const & rPropertyPath )
: bIsPropertyPath( true )
, sPropertyPath(rPropertyPath)
{}
- UserData( Reference<XNameAccess> rXNameAccess )
+ UserData( Reference<XNameAccess> const & rXNameAccess )
: bIsPropertyPath( false )
, aXNameAccess( rXNameAccess )
{}