diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-05 14:03:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-06 22:14:07 +0200 |
commit | 1227e651bcf3e7adae49670bb849abd71c231b8c (patch) | |
tree | 2f90fbd6463f79967bdcad5bd5fc2e7e2859d55f /chart2/source/controller | |
parent | 0faabc057096631d660725318716638695173298 (diff) |
cid#1608554 COPY_INSTEAD_OF_MOVE
Change-Id: I466a68048496fa4f4aa8177621a6484a261d2069
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170021
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'chart2/source/controller')
-rw-r--r-- | chart2/source/controller/main/ChartController_Insert.cxx | 3 |
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 d74ede874b36..787d094c8635 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -501,7 +501,8 @@ void ChartController::executeDispatch_InsertTrendline() // note: when a user pressed "OK" but didn't change any settings in the // dialog, the SfxTabDialog returns "Cancel" - SfxTabDialogController::runAsync(aDialog, [this, aDialog, aItemConverter, xUndoGuard=std::move(xUndoGuard)](int nResult) { + SfxTabDialogController::runAsync(aDialog, [this, aDialog, aItemConverter = std::move(aItemConverter), + xUndoGuard=std::move(xUndoGuard)](int nResult) { if ( nResult == RET_OK || aDialog->DialogWasClosedWithOK() ) { const SfxItemSet* pOutItemSet = aDialog->GetOutputItemSet(); |