[Libreoffice-commits] core.git: svgio/inc svgio/source
Stephan Bergmann
sbergman at redhat.com
Thu Aug 7 14:19:21 PDT 2014
svgio/inc/svgio/svgreader/svgnode.hxx | 2 +-
svgio/source/svgreader/svgnode.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f120be20792ab862389a3dc24d9706821f91c571
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Aug 7 23:18:54 2014 +0200
loplugin:passstuffbyref
Change-Id: Ib2b244f466d21835229a5a42e6decf4cf4aba653
diff --git a/svgio/inc/svgio/svgreader/svgnode.hxx b/svgio/inc/svgio/svgreader/svgnode.hxx
index 9fa9e72..ac91af9 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 d771c51..b68d083 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();
More information about the Libreoffice-commits
mailing list