From b2096deaff52f462e2df4e7bdc9816bb3604fb08 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 May 2014 14:34:42 +0200 Subject: various loplugin:passsequencebyref Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72 --- scripting/source/stringresource/stringresource.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripting') diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 910a165d44fa..983bd2ca5811 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -1473,7 +1473,7 @@ class BinaryInput sal_Int32 m_nSize; public: - BinaryInput( Sequence< ::sal_Int8 > aData, Reference< XMultiComponentFactory > xMCF, + BinaryInput( const Sequence< ::sal_Int8 >& aData, Reference< XMultiComponentFactory > xMCF, Reference< XComponentContext > xContext ); Reference< io::XInputStream > getInputStreamForSection( sal_Int32 nSize ); @@ -1488,7 +1488,7 @@ public: OUString readString( void ); }; -BinaryInput::BinaryInput( Sequence< ::sal_Int8 > aData, Reference< XMultiComponentFactory > xMCF, +BinaryInput::BinaryInput( const Sequence< ::sal_Int8 >& aData, Reference< XMultiComponentFactory > xMCF, Reference< XComponentContext > xContext ) : m_aData( aData ) , m_xMCF( xMCF ) -- cgit v1.2.3