summaryrefslogtreecommitdiff
path: root/stoc/source/invocation/invocation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r--stoc/source/invocation/invocation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 9f2c4c0fc06d..370478f2a470 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -204,7 +204,7 @@ private:
void getInfoSequenceImpl( Sequence< OUString >* pStringSeq, Sequence< InvocationInfo >* pInfoSeq );
void fillInfoForNameAccess( InvocationInfo& rInfo, const OUString& aName );
static void fillInfoForProperty( InvocationInfo& rInfo, const Property& rProp );
- static void fillInfoForMethod( InvocationInfo& rInfo, const Reference< XIdlMethod > xMethod );
+ static void fillInfoForMethod( InvocationInfo& rInfo, const Reference< XIdlMethod >& xMethod );
Reference<XTypeConverter> xTypeConverter;
Reference<XIntrospection> xIntrospection;
@@ -960,7 +960,7 @@ void Invocation_Impl::fillInfoForProperty
void Invocation_Impl::fillInfoForMethod
(
InvocationInfo& rInfo,
- const Reference< XIdlMethod > xMethod
+ const Reference< XIdlMethod >& xMethod
)
{
rInfo.aName = xMethod->getName();