summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-26 16:44:23 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-26 20:46:12 +0200
commitaf1f7d66861e81717881f632ac9860e719b62e5f (patch)
tree4c7a70e9c49dd0e351c6d84d0db28c34bd78e5b9 /sc
parent328b4c40784cb5e28535d73f0e1220b3f47f0b2e (diff)
cid#1554754 COPY_INSTEAD_OF_MOVE
Change-Id: I6e34552074ba76f67a93686c70e26c68a884f794 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172429 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 09ba678edd6f..7e944557856f 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1283,7 +1283,8 @@ void ScViewFunc::MergeCells( bool bApi, bool bDoContents, bool bCenter,
SfxViewShell* pViewShell = GetViewData().GetViewShell();
- weld::DialogController::runAsync(pBox, [=](sal_Int32 nRetVal) {
+ weld::DialogController::runAsync(pBox, [pBox, bDoContents, bEmptyMergedCells, pViewShell,
+ nSlot, bApi, doMerge=std::move(doMerge)](sal_Int32 nRetVal) {
if (nRetVal == RET_OK)
{
bool bRealDoContents = bDoContents;