diff options
Diffstat (limited to 'framework')
6 files changed, 9 insertions, 9 deletions
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index fe88000996f8..b4b1366554d7 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -319,7 +319,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed() if (xFrame.is()) xParentWindow = xFrame->getContainerWindow(); else - xParentWindow = xPluggWindow; + xParentWindow = std::move(xPluggWindow); // don't disturb user in case he put the loading document into the background! // Suppress any setVisible() or toFront() call in case the initial show was @@ -477,7 +477,7 @@ void StatusIndicatorFactory::impl_showProgress() } std::scoped_lock g(m_mutex); - m_xProgress = xProgress; + m_xProgress = std::move(xProgress); } void StatusIndicatorFactory::impl_hideProgress() diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx index 5776d5cee19e..8f4fb11f02ec 100644 --- a/framework/source/helper/tagwindowasmodified.cxx +++ b/framework/source/helper/tagwindowasmodified.cxx @@ -135,7 +135,7 @@ void TagWindowAsModified::impl_update (const css::uno::Reference< css::frame::XF // Note: frame was set as member outside ! we have to refresh connections // regarding window and model only here. m_xWindow = std::move(pWindow); - m_xModel = xModel; + m_xModel = std::move(xModel); } m_xModel->addModifyListener (this); diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 081ead8e70b7..aa9568700a5c 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1165,7 +1165,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL XFrameImpl::findFrame( const ) { if (xParent->getName() == sTargetFrameName) - xTarget = xParent; + xTarget = std::move(xParent); else { sal_Int32 nRightFlags = nSearchFlags & ~css::frame::FrameSearchFlag::CHILDREN; diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index e85d9a08789b..3dcfe40d764f 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -818,7 +818,7 @@ void ImageManagerImpl::replaceImages( ConfigurationEvent aReplaceEvent; aReplaceEvent.aInfo <<= nImageType; aReplaceEvent.Accessor <<= xOwner; - aReplaceEvent.Source = xOwner; + aReplaceEvent.Source = std::move(xOwner); aReplaceEvent.ResourceURL = m_aResourceString; aReplaceEvent.ReplacedElement = Any(); aReplaceEvent.Element <<= uno::Reference< XNameAccess >(pReplacedImages); @@ -1062,7 +1062,7 @@ void ImageManagerImpl::reload() ConfigurationEvent aRemoveEvent; aRemoveEvent.aInfo <<= static_cast<sal_uInt16>(i); aRemoveEvent.Accessor <<= xOwner; - aRemoveEvent.Source = xOwner; + aRemoveEvent.Source = std::move(xOwner); aRemoveEvent.ResourceURL = m_aResourceString; aRemoveEvent.Element <<= uno::Reference< XNameAccess >( pRemovedImages ); implts_notifyContainerListener( aRemoveEvent, NotifyOp_Remove ); diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 155334b72ed1..eeebdfc73730 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -1313,7 +1313,7 @@ void SAL_CALL ModuleUIConfigurationManager::removeSettings( const OUString& Reso aEvent.ResourceURL = ResourceURL; aEvent.Accessor <<= xThis; - aEvent.Source = xIfac; + aEvent.Source = std::move(xIfac); aEvent.Element <<= xRemovedSettings; aEvent.ReplacedElement <<= pDefaultDataSettings->xSettings; @@ -1328,7 +1328,7 @@ void SAL_CALL ModuleUIConfigurationManager::removeSettings( const OUString& Reso aEvent.ResourceURL = ResourceURL; aEvent.Accessor <<= xThis; - aEvent.Source = xIfac; + aEvent.Source = std::move(xIfac); aEvent.Element <<= xRemovedSettings; aGuard.clear(); diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 91b4624595ec..29be73cc0a72 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -660,7 +660,7 @@ void UIConfigurationManager::impl_Initialize() m_aUIElements[i].nElementType = i; m_aUIElements[i].bModified = false; - m_aUIElements[i].xStorage = xElementTypeStorage; + m_aUIElements[i].xStorage = std::move(xElementTypeStorage); } } else |