summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-18 21:17:21 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-19 15:15:06 +0200
commita971a176b476eae49784261e6b6e46f3210e43af (patch)
treed81dfb0b08b112950f5560e350a03884d0a06e88
parent372060b8a3d74c854dff7abe24eed5856a9ce3d4 (diff)
cid#1616524 COPY_INSTEAD_OF_MOVE
Change-Id: Idb3775f795056ec848b01b666cc258604eda7588 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172023 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-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 95ddea361627..d6f356d257f3 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=std::move(xRequest), aSet](sal_Int32 nResult){
+ pDlg->StartExecuteAsync([pDlg, xThis, xRequest=std::move(xRequest), aSet=std::move(aSet)](sal_Int32 nResult){
if (nResult == RET_OK) {
xThis->Finish(xRequest, pDlg);
}