From 0b424c25066cc9c9bc7f72ce56096933eee6feab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jul 2016 15:55:47 +0200 Subject: loplugin:passstuffbyref also for {css::uno,rtl}::Reference Change-Id: I614d91e7e4a686613dc0cbe1b9f4fabb978ffc77 --- basic/source/classes/sbunoobj.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/classes') diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index cc1b6aa9706f..370ae2018a4e 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2501,7 +2501,7 @@ SbUnoMethod::SbUnoMethod ( const OUString& aName_, SbxDataType eSbxType, - Reference< XIdlMethod > xUnoMethod_, + Reference< XIdlMethod > const & xUnoMethod_, bool bInvocation ) : SbxMethod( aName_, eSbxType ) @@ -3722,7 +3722,7 @@ void clearUnoServiceCtors() } } -SbUnoServiceCtor::SbUnoServiceCtor( const OUString& aName_, Reference< XServiceConstructorDescription > xServiceCtorDesc ) +SbUnoServiceCtor::SbUnoServiceCtor( const OUString& aName_, Reference< XServiceConstructorDescription > const & xServiceCtorDesc ) : SbxMethod( aName_, SbxOBJECT ) , m_xServiceCtorDesc( xServiceCtorDesc ) , pNext(nullptr) -- cgit