summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/spelldialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/spelldialog.cxx')
-rw-r--r--sc/source/ui/view/spelldialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/spelldialog.cxx b/sc/source/ui/view/spelldialog.cxx
index 9b498b6b820c..0678f8aea6b1 100644
--- a/sc/source/ui/view/spelldialog.cxx
+++ b/sc/source/ui/view/spelldialog.cxx
@@ -126,8 +126,8 @@ void ScSpellDialogChildWindow::Reset()
SCROW nNewRow = mpViewData->GetCurY();
mpDocShell->GetUndoManager()->AddUndoAction( new ScUndoConversion(
mpDocShell, mpViewData->GetMarkData(),
- nOldCol, nOldRow, nTab, mxUndoDoc.release(),
- nNewCol, nNewRow, nTab, mxRedoDoc.release(),
+ nOldCol, nOldRow, nTab, std::move(mxUndoDoc),
+ nNewCol, nNewRow, nTab, std::move(mxRedoDoc),
ScConversionParam( SC_CONVERSION_SPELLCHECK ) ) );
sc::SetFormulaDirtyContext aCxt;