diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-12 21:02:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-13 06:35:19 +0100 |
commit | a34d9e36193821fdbc8fb7d6b3527daf076b2069 (patch) | |
tree | 1dce27319e0701699013916758775b3b84b8b8a3 /scripting/source | |
parent | ec3850e661e40c146edd55c6ad1fce3996e421c4 (diff) |
loplugin:reftotemp in scripting..uui
Change-Id: I6953958b4429dd0fa1a44d02b0b49618f97baf90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176500
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index 30cade77c880..fbc8680ea374 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -554,19 +554,19 @@ namespace dlgprov try { // call method - const Reference< XIdlMethod >& rxMethod = m_xIntrospectionAccess-> + const Reference< XIdlMethod > xMethod = m_xIntrospectionAccess-> getMethod( aMethodName, MethodConcept::ALL - MethodConcept::DANGEROUS ); Reference< XMaterialHolder > xMaterialHolder = Reference< XMaterialHolder >::query( m_xIntrospectionAccess ); Any aHandlerObject = xMaterialHolder->getMaterial(); - Sequence< Reference< XIdlClass > > aParamTypeSeq = rxMethod->getParameterTypes(); + Sequence< Reference< XIdlClass > > aParamTypeSeq = xMethod->getParameterTypes(); sal_Int32 nParamCount = aParamTypeSeq.getLength(); if( nParamCount == 0 ) { Sequence<Any> args; - rxMethod->invoke( aHandlerObject, args ); + xMethod->invoke( aHandlerObject, args ); bHandled = true; } else if( nParamCount == 2 ) @@ -585,7 +585,7 @@ namespace dlgprov pArgs[0] <<= xWindow; } pArgs[1] = aEventObject; - aRet = rxMethod->invoke( aHandlerObject, Args ); + aRet = xMethod->invoke( aHandlerObject, Args ); bHandled = true; } } |