diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/lokcharthelper.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 851d3b9f5307..47411f419f12 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -575,8 +575,8 @@ static SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame2 >& rHelpTask , xHelpContent->setName(u"OFFICE_HELP"_ustr); - rHelpTask = xHelpTask; - rHelpContent = xHelpContent; + rHelpTask = std::move(xHelpTask); + rHelpContent = std::move(xHelpContent); return pHelpWindow; } diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index 73b270e78f54..5f19e4988d8f 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -1928,7 +1928,7 @@ SfxDocumentMetaData::loadFromStorage( css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( m_xContext->getServiceManager()); css::xml::sax::InputSource input; - input.aInputStream = xInStream; + input.aInputStream = std::move(xInStream); sal_uInt64 version = SotStorage::GetVersion( xStorage ); // Oasis is also the default (0) diff --git a/sfx2/source/view/lokcharthelper.cxx b/sfx2/source/view/lokcharthelper.cxx index f8b31f7c4f10..f6dd091ebd87 100644 --- a/sfx2/source/view/lokcharthelper.cxx +++ b/sfx2/source/view/lokcharthelper.cxx @@ -62,7 +62,7 @@ css::uno::Reference<css::frame::XDispatch>& LokChartHelper::GetXDispatcher() ::css::uno::Reference< ::css::frame::XDispatch > xDispatcher( xChartController, uno::UNO_QUERY ); if( xDispatcher.is() ) { - mxDispatcher = xDispatcher; + mxDispatcher = std::move(xDispatcher); } } } |