summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:55:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit0b424c25066cc9c9bc7f72ce56096933eee6feab (patch)
tree354668273eb8d59cd0cc7fb90be0a8f6472bc35f /basic/source/classes
parent580c0f5ede31ae497a9fe86790a142a5bce63e69 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I614d91e7e4a686613dc0cbe1b9f4fabb978ffc77
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sbunoobj.cxx4
1 files changed, 2 insertions, 2 deletions
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)