summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-21 20:51:24 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-22 11:14:41 +0200
commit3133788fb5b8598ae275c566a9f55f88a668abf3 (patch)
tree1c12bd229dd74a4af3d8808efba92eefb225e2d5 /chart2/source
parentb547d13a4672ebc3fd355f6f1751965d82fdcdfc (diff)
cid#1608424 COPY_INSTEAD_OF_MOVE
and cid#1607592 COPY_INSTEAD_OF_MOVE cid#1607487 COPY_INSTEAD_OF_MOVE cid#1607480 COPY_INSTEAD_OF_MOVE cid#1607444 COPY_INSTEAD_OF_MOVE cid#1607369 COPY_INSTEAD_OF_MOVE cid#1607356 COPY_INSTEAD_OF_MOVE cid#1607342 COPY_INSTEAD_OF_MOVE cid#1607329 COPY_INSTEAD_OF_MOVE cid#1607327 COPY_INSTEAD_OF_MOVE cid#1607303 COPY_INSTEAD_OF_MOVE cid#1607284 COPY_INSTEAD_OF_MOVE Change-Id: Ia2d5d4e2de8ca96a9557df5266754e52efa4f60e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170826 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'chart2/source')
-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 442c1e66a032..c5d0822346bc 100644
--- a/chart2/source/controller/main/ChartController_Insert.cxx
+++ b/chart2/source/controller/main/ChartController_Insert.cxx
@@ -565,7 +565,8 @@ void ChartController::executeDispatch_InsertErrorBars( bool bYError )
// note: when a user pressed "OK" but didn't change any settings in the
// dialog, the SfxTabDialog returns "Cancel"
- SfxTabDialogController::runAsync(aDlg, [this, aDlg, aItemConverter, xUndoGuard=std::move(xUndoGuard)](int nResult) {
+ SfxTabDialogController::runAsync(aDlg, [this, aDlg, aItemConverter=std::move(aItemConverter),
+ xUndoGuard=std::move(xUndoGuard)](int nResult) {
if ( nResult == RET_OK || aDlg->DialogWasClosedWithOK() )
{
const SfxItemSet* pOutItemSet = aDlg->GetOutputItemSet();