summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 11d9b5aa743a..f5d8a0ab17ea 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2851,7 +2851,7 @@ void ScCellShell::ExecuteDataPilotDialog()
}
pTypeDlg->StartExecuteAsync([this, pTypeDlg, pTabViewShell,
- pScMod, pFact, pDoc, &rMark, &aDestPos](int nResult) {
+ pScMod, pFact, pDoc, &rMark, aDestPos](int nResult) mutable {
const char* pSrcErrorId = nullptr;
std::unique_ptr<ScDPObject> pNewDPObject;