summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-07 23:18:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-07 23:18:54 +0200
commitf120be20792ab862389a3dc24d9706821f91c571 (patch)
tree0a3dac6c266d5b7662e0ccd83ada2f292c39b617 /svgio
parent90ebe26e5d7c23579987bdb4115167beb6f6a66f (diff)
loplugin:passstuffbyref
Change-Id: Ib2b244f466d21835229a5a42e6decf4cf4aba653
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svgio/svgreader/svgnode.hxx2
-rw-r--r--svgio/source/svgreader/svgnode.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svgio/inc/svgio/svgreader/svgnode.hxx b/svgio/inc/svgio/svgreader/svgnode.hxx
index 9fa9e723b3fc..ac91af9085e2 100644
--- a/svgio/inc/svgio/svgreader/svgnode.hxx
+++ b/svgio/inc/svgio/svgreader/svgnode.hxx
@@ -129,7 +129,7 @@ namespace svgio
void fillCssStyleVectorUsingHierarchyAndSelectors(
const OUString& rClassStr,
const SvgNode& rCurrent,
- OUString aConcatenated);
+ const OUString& aConcatenated);
public:
SvgNode(
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index d771c5178a86..b68d083532a9 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -43,7 +43,7 @@ namespace svgio
void SvgNode::fillCssStyleVectorUsingHierarchyAndSelectors(
const OUString& rClassStr,
const SvgNode& rCurrent,
- OUString aConcatenated)
+ const OUString& aConcatenated)
{
const SvgDocument& rDocument = getDocument();