[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 16 12:51:40 UTC 2019


 sc/source/ui/undo/undoblk3.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a05fd0eb30767471c6d20c93e0fb8b3ff7c7eaee
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sat Aug 10 11:33:58 2019 -0400
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Dec 16 13:50:50 2019 +0100

    sc: correctly update spelling markers on undo/redo
    
    Change-Id: I946cede7967f454813f717273c4114d31167c8c6
    (cherry picked from commit 62eb6210895b24855b077fb0d89f182beac4a43c)
    Reviewed-on: https://gerrit.libreoffice.org/85005
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx
index bc7173aa15bb..8457dae0b5c0 100644
--- a/sc/source/ui/undo/undoblk3.cxx
+++ b/sc/source/ui/undo/undoblk3.cxx
@@ -1240,6 +1240,10 @@ void ScUndoConversion::DoChange( ScDocument* pRefDoc, const ScAddress& rCursorPo
         pRefDoc->CopyToDocument( 0,      0,      0,
                                  MAXCOL, MAXROW, nTabCount-1,
                                  InsertDeleteFlags::CONTENTS, bMulti, rDoc, &aMarkData );
+
+        // Reset the spell checking results to re-check on paint, otherwise
+        // we show the previous spelling markers (or lack thereof on misspellings).
+        pDocShell->GetViewData()->GetActiveWin()->ResetAutoSpell();
         pDocShell->PostPaintGridAll();
     }
     else


More information about the Libreoffice-commits mailing list