summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-14 14:34:42 +0200
committerNoel Grandin <noel@peralex.com>2014-05-14 16:54:27 +0200
commitb2096deaff52f462e2df4e7bdc9816bb3604fb08 (patch)
tree3df2f9284132042730e12c3f11b6b7a5f13d35cf /sax/qa
parent83d77931e03908c1718d9dc48f29c1db984fba85 (diff)
various loplugin:passsequencebyref
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
Diffstat (limited to 'sax/qa')
-rw-r--r--sax/qa/cppunit/test_converter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx
index 3fad00b5bc5f..968292a54154 100644
--- a/sax/qa/cppunit/test_converter.cxx
+++ b/sax/qa/cppunit/test_converter.cxx
@@ -643,7 +643,7 @@ void ConverterTest::testNumber()
doTestNumberToString("0", -0);
}
-void doTestEncodeBase64(char const*const pis, const uno::Sequence<sal_Int8> aPass)
+void doTestEncodeBase64(char const*const pis, const uno::Sequence<sal_Int8>& aPass)
{
OUString const is(OUString::createFromAscii(pis));
OUStringBuffer buf;
@@ -652,7 +652,7 @@ void doTestEncodeBase64(char const*const pis, const uno::Sequence<sal_Int8> aPas
CPPUNIT_ASSERT_EQUAL(is, buf.makeStringAndClear());
}
-void doTestDecodeBase64(const uno::Sequence<sal_Int8> aPass, char const*const pis)
+void doTestDecodeBase64(const uno::Sequence<sal_Int8>& aPass, char const*const pis)
{
OUString const is(OUString::createFromAscii(pis));
uno::Sequence< sal_Int8 > tempSequence;