diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-18 21:10:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-19 15:14:38 +0200 |
commit | fe2c7f209b0ecfcf81ba775bd39cd355af2a64df (patch) | |
tree | 06614b59232ecee5d34dff3599784765954f6779 /sd/source | |
parent | 93c17f16b064ded262b23eb8aa60ff58bda18bc7 (diff) |
cid#1616525 COPY_INSTEAD_OF_MOVE
Change-Id: I508df311ec1785be11077c1f657be57b84ed8cfa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172021
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/func/fuoaprms.cxx | 2 |
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); } |