diff options
Diffstat (limited to 'sc/source/ui/view/spelldialog.cxx')
-rw-r--r-- | sc/source/ui/view/spelldialog.cxx | 4 |
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; |