summaryrefslogtreecommitdiff
path: root/sax/qa/cppunit/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/qa/cppunit/parser.cxx')
-rw-r--r--sax/qa/cppunit/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/qa/cppunit/parser.cxx b/sax/qa/cppunit/parser.cxx
index 5ee1613f2674..74ab76a8ac5d 100644
--- a/sax/qa/cppunit/parser.cxx
+++ b/sax/qa/cppunit/parser.cxx
@@ -39,7 +39,7 @@ public:
CPPUNIT_TEST_SUITE_END();
private:
- uno::Reference< io::XInputStream > createStream(OString sInput);
+ uno::Reference< io::XInputStream > createStream(const OString& sInput);
};
void ParserTest::setUp()
@@ -55,7 +55,7 @@ void ParserTest::tearDown()
test::BootstrapFixture::tearDown();
}
-uno::Reference< io::XInputStream > ParserTest::createStream(OString sInput)
+uno::Reference< io::XInputStream > ParserTest::createStream(const OString& sInput)
{
uno::Reference< io::XOutputStream > xPipe( io::Pipe::create(m_xContext) );
uno::Reference< io::XInputStream > xInStream( xPipe, uno::UNO_QUERY );