summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/fmPropBrw.cxx2
-rw-r--r--svx/source/form/fmshimp.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx
index 8516cb2d49f3..466efe1ef8ec 100644
--- a/svx/source/form/fmPropBrw.cxx
+++ b/svx/source/form/fmPropBrw.cxx
@@ -520,7 +520,7 @@ void FmPropBrw::impl_ensurePropertyBrowser_nothrow( FmFormShell* _pFormShell )
{
DBG_UNHANDLED_EXCEPTION("svx");
}
- m_xLastKnownDocument = xDocument;
+ m_xLastKnownDocument = std::move(xDocument);
}
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index dca4a634ceee..e43c8606c9ad 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -3433,13 +3433,13 @@ void FmXFormShell::CreateExternalView_Lock()
Reference< XResultSet> xForm(xCurrentNavController->getModel(), UNO_QUERY);
aArg.Value <<= xForm;
- m_xExternalDisplayedForm = xForm;
+ m_xExternalDisplayedForm = std::move(xForm);
// do this before dispatching the "attach" command, as the attach may result in a call to our queryDispatch (for the FormSlots)
// which needs the m_xExternalDisplayedForm
xAttachDispatch->dispatch(aAttachURL, Sequence< PropertyValue>(&aArg, 1));
- m_xExtViewTriggerController = xCurrentNavController;
+ m_xExtViewTriggerController = std::move(xCurrentNavController);
// we want to know modifications done in the external view
// if the external controller is a XFormController we can use all our default handlings for it