diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-14 14:34:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-14 16:54:27 +0200 |
commit | b2096deaff52f462e2df4e7bdc9816bb3604fb08 (patch) | |
tree | 3df2f9284132042730e12c3f11b6b7a5f13d35cf /scripting | |
parent | 83d77931e03908c1718d9dc48f29c1db984fba85 (diff) |
various loplugin:passsequencebyref
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |