summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/func/fuoaprms.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx
index f90354e2b601..976defe90259 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -448,7 +448,7 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
VclPtr<SfxAbstractDialog> pDlg( pFact->CreatSdActionDialog(mpViewShell->GetFrameWeld(), &*aSet, mpView) );
rtl::Reference<FuObjectAnimationParameters> xThis( this ); // avoid destruction within async processing
- pDlg->StartExecuteAsync([pDlg, xThis, xRequest, aSet](sal_Int32 nResult){
+ pDlg->StartExecuteAsync([pDlg, xThis, xRequest=std::move(xRequest), aSet](sal_Int32 nResult){
if (nResult == RET_OK) {
xThis->Finish(xRequest, pDlg);
}