diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-13 20:14:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-14 15:15:09 +0200 |
commit | a625049ead3d61f4ed5721b0abafad335aa5f081 (patch) | |
tree | 0fe48c65b586133981d972bbfaa8d4d155866254 /sw/source/ui | |
parent | 524ec386b2438fbcda42a1264ad372285a91be7f (diff) |
cid#1608453 COPY_INSTEAD_OF_MOVE
Change-Id: I059fb6a6b3af58ecedcf14c347adbb698348da1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170441
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/envelp/envfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx index 4fdab3132d05..cea77abbdb80 100644 --- a/sw/source/ui/envelp/envfmt.cxx +++ b/sw/source/ui/envelp/envfmt.cxx @@ -191,7 +191,7 @@ void SwEnvFormatPage::Edit(std::u16string_view rIdent, bool bSender) const OUString sFormatStr = pColl->GetName(); VclPtr<SfxAbstractTabDialog> pDlg(rFact.CreateSwCharDlg(GetFrameWeld(), pSh->GetView(), *xTmpSet, SwCharDlgMode::Env, &sFormatStr)); pDlg->StartExecuteAsync( - [pDlg, xTmpSet, pCollSet] (sal_Int32 nResult)->void + [pDlg, xTmpSet=std::move(xTmpSet), pCollSet] (sal_Int32 nResult)->void { if (nResult == RET_OK) { |