summaryrefslogtreecommitdiff
path: root/chart2/source/controller
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-10 17:12:06 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-11 09:26:28 +0200
commite68f28ec9f68a1f70afce7acfa38ce7a63ccdafe (patch)
tree45593e64ba3faa1b22f794743876ce13abd85c84 /chart2/source/controller
parent3aac0f9b378e12cb51d8e8239f8c0f7627d0f8ca (diff)
cid#1607892 COPY_INSTEAD_OF_MOVE
and cid#1607910 COPY_INSTEAD_OF_MOVE cid#1607818 COPY_INSTEAD_OF_MOVE cid#1557402 COPY_INSTEAD_OF_MOVE cid#1556530 COPY_INSTEAD_OF_MOVE cid#1557396 COPY_INSTEAD_OF_MOVE cid#1556522 COPY_INSTEAD_OF_MOVE cid#1555628 COPY_INSTEAD_OF_MOVE cid#1554705 COPY_INSTEAD_OF_MOVE Change-Id: Iae3fbf4a04bf3714f416995640b9d70fe204cf73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170321 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'chart2/source/controller')
-rw-r--r--chart2/source/controller/main/ChartController_Insert.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx
index 787d094c8635..442c1e66a032 100644
--- a/chart2/source/controller/main/ChartController_Insert.cxx
+++ b/chart2/source/controller/main/ChartController_Insert.cxx
@@ -101,7 +101,8 @@ void ChartController::executeDispatch_InsertAxes()
SolarMutexGuard aGuard;
auto aDlg = std::make_shared<SchAxisDlg>(GetChartFrame(), *aDialogInput);
- weld::DialogController::runAsync(aDlg, [this, aDlg, aDialogInput, xUndoGuard=std::move(xUndoGuard)](int nResult) {
+ weld::DialogController::runAsync(aDlg, [this, aDlg, aDialogInput=std::move(aDialogInput),
+ xUndoGuard=std::move(xUndoGuard)](int nResult) {
if ( nResult == RET_OK )
{
// lock controllers till end of block