summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-08-17 00:27:24 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-08-17 00:32:03 +0200
commitfb1f710d3f58337e8a05e476326453b584e87fa2 (patch)
tree356d8daa4dd39a6097252e6ad1bd59e5ba9db9b7 /test/source
parent46b7a08767e17ff1ef086393c4e111a8ffa19d55 (diff)
loplugin:passstuffbyref (Primitive2DSequence)
Change-Id: I3d9c6daa09d71ca872021fe13405b08050e191d9
Diffstat (limited to 'test/source')
-rw-r--r--test/source/primitive2dxmldump.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/primitive2dxmldump.cxx b/test/source/primitive2dxmldump.cxx
index ea125620b638..da6f4e20dde3 100644
--- a/test/source/primitive2dxmldump.cxx
+++ b/test/source/primitive2dxmldump.cxx
@@ -59,7 +59,7 @@ void Primitive2dXmlDump::filterAllActionTypes()
maFilter.assign(constMaxActionType, true);
}
-xmlDocPtr Primitive2dXmlDump::dumpAndParse(Primitive2DSequence aPrimitive2DSequence, const OUString& rTempStreamName)
+xmlDocPtr Primitive2dXmlDump::dumpAndParse(const Primitive2DSequence& rPrimitive2DSequence, const OUString& rTempStreamName)
{
boost::scoped_ptr<SvStream> pStream;
@@ -72,7 +72,7 @@ xmlDocPtr Primitive2dXmlDump::dumpAndParse(Primitive2DSequence aPrimitive2DSeque
aWriter.startDocument();
aWriter.startElement("primitive2D");
- decomposeAndWrite(aPrimitive2DSequence, aWriter);
+ decomposeAndWrite(rPrimitive2DSequence, aWriter);
aWriter.endElement();
aWriter.endDocument();