From f678b82f0e4dea47dfc8938f01442b6eb1ce23ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Apr 2016 10:20:19 +0200 Subject: clang-tidy performance-unnecessary-value-param in basic Change-Id: I997213ca28efc2df04d454ffaf3c81c9cbad09ac --- basic/source/sbx/sbxvar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic/source/sbx/sbxvar.cxx') diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 20361375a669..bc5c8f2668f9 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -450,7 +450,7 @@ void SbxVariable::SetDeclareClassName( const OUString& rDeclareClassName ) pImpl->m_aDeclareClassName = rDeclareClassName; } -void SbxVariable::SetComListener( css::uno::Reference< css::uno::XInterface > xComListener, +void SbxVariable::SetComListener( const css::uno::Reference< css::uno::XInterface >& xComListener, StarBASIC* pParentBasic ) { SbxVariableImpl* pImpl = getImpl(); -- cgit