diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.cxx | 4 | ||||
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 2 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index fbc8680ea374..dd0465eb0198 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -584,7 +584,7 @@ namespace dlgprov Reference< XWindow > xWindow( m_xControl, UNO_QUERY ); pArgs[0] <<= xWindow; } - pArgs[1] = aEventObject; + pArgs[1] = std::move(aEventObject); aRet = xMethod->invoke( aHandlerObject, Args ); bHandled = true; } @@ -598,7 +598,7 @@ namespace dlgprov if( bHandled ) { if( pRet ) - *pRet = aRet; + *pRet = std::move(aRet); } else { diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 683007e7c825..bcf53854ebf6 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -264,7 +264,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( css::frame::DispatchResultEvent aEvent; aEvent.Source = getXWeak(); - aEvent.Result = invokeResult; + aEvent.Result = std::move(invokeResult); aEvent.State = aState; try diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 0e8acbcc3677..7c02c658a134 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -475,7 +475,7 @@ ReadOnlyEventsNameContainer::ReadOnlyEventsNameContainer( const Sequence< OUStri if ( eventMethodToDescriptor( rSrc, evtDesc, sCodeName ) ) { aDesc <<= evtDesc; - m_hEvents[ rSrc ] = aDesc; + m_hEvents[ rSrc ] = std::move(aDesc); } } } |