summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-13 14:52:49 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-08-13 18:11:25 +0200
commit1b2219cec9abe0ac77360ca2cc252d11d7f512e3 (patch)
tree04ad53b4eae289b2dd4f5eec41924f5c6882235b /sw/source
parent5374b7107648757b572249777a5a00d4ad2eaac8 (diff)
cid#1539911 Big parameter passed by value
Change-Id: Ib48be194ca09c5d94253da9d725ed51bd8b71a50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155646 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/shells/txtnum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx
index 412f603dcb32..3a2df2cdc0cf 100644
--- a/sw/source/uibase/shells/txtnum.cxx
+++ b/sw/source/uibase/shells/txtnum.cxx
@@ -200,7 +200,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
auto pRequest = std::make_shared<SfxRequest>(rReq);
rReq.Ignore(); // the 'old' request is not relevant any more
- pDlg->StartExecuteAsync([aSet, pDlg, pNumRuleAtCurrentSelection, pRequest, this](sal_Int32 nResult){
+ pDlg->StartExecuteAsync([aSet=std::move(aSet), pDlg, pNumRuleAtCurrentSelection, pRequest, this](sal_Int32 nResult){
if (RET_OK == nResult)
{
const SvxNumBulletItem* pBulletItem = pDlg->GetOutputItemSet()->GetItemIfSet(SID_ATTR_NUMBERING_RULE, false);