summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-21 11:23:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-21 11:23:58 +0200
commit647cff03bc052cecb5da048d49cad6384c3322f4 (patch)
tree9e8888589659d2ef9e7056aaa9ce32fb9bdfd6d1
parentd3549ce6ff87a42d3d350a21d8042cf03dc247e9 (diff)
loplugin:passstuffbyref
Change-Id: I882ef5f8d1193ab3f3daeff0f4eb755c40c898ba
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index fcadbc9b149d..d91f412aabe8 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -40,15 +40,15 @@ namespace sfx2 { namespace sidebar {
namespace
{
-OUString getString(utl::OConfigurationNode aNode, const char* pNodeName)
+OUString getString(utl::OConfigurationNode const & aNode, const char* pNodeName)
{
return comphelper::getString(aNode.getNodeValue(pNodeName));
}
-sal_Int32 getInt32(utl::OConfigurationNode aNode, const char* pNodeName)
+sal_Int32 getInt32(utl::OConfigurationNode const & aNode, const char* pNodeName)
{
return comphelper::getINT32(aNode.getNodeValue(pNodeName));
}
-bool getBool(utl::OConfigurationNode aNode, const char* pNodeName)
+bool getBool(utl::OConfigurationNode const & aNode, const char* pNodeName)
{
return comphelper::getBOOL(aNode.getNodeValue(pNodeName));
}