[Libreoffice-commits] core.git: sc/source
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Sun Dec 22 23:55:08 UTC 2019
sc/source/ui/view/spelldialog.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 43305a977d28d3e00e60d140d3877a6f369fc1a9
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sat Aug 10 12:26:40 2019 -0400
Commit: Ashod Nakashian <ashnakash at gmail.com>
CommitDate: Mon Dec 23 00:54:11 2019 +0100
sc: clear the spell checking markers after applying corrections
Change-Id: Ia3fc3b5a21d21b9b945ce72f397350a57859f107
(cherry picked from commit afa5f2b0edb43b36b1b4f0ab8f70ecbe638435e5)
Reviewed-on: https://gerrit.libreoffice.org/85006
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
(cherry picked from commit e1ca2b989bf4d124588c35f7f4a0bc3da3c1f58e)
Reviewed-on: https://gerrit.libreoffice.org/85682
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/sc/source/ui/view/spelldialog.cxx b/sc/source/ui/view/spelldialog.cxx
index d9780959a5c3..e742b073bff8 100644
--- a/sc/source/ui/view/spelldialog.cxx
+++ b/sc/source/ui/view/spelldialog.cxx
@@ -92,7 +92,12 @@ void ScSpellDialogChildWindow::ApplyChangedSentence( const svx::SpellPortions& r
{
if( mxEngine.get() && mpViewData )
if( EditView* pEditView = mpViewData->GetSpellingView() )
+ {
mxEngine->ApplyChangedSentence( *pEditView, rChanged, bRecheck );
+
+ // Reset the spell checking results to clear the markers.
+ mpViewData->GetActiveWin()->ResetAutoSpell();
+ }
}
void ScSpellDialogChildWindow::GetFocus()
More information about the Libreoffice-commits
mailing list