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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 19 14:55:01 UTC 2021


 editeng/source/editeng/editview.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 71124627ac8ed2037bf371db06a2793d12687b81
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Apr 6 10:41:40 2021 -0400
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon Apr 19 16:54:17 2021 +0200

    lok: remove popup auto correct item
    
    The auto correct options and auto correct
    menu item are no longer need it.
    
    Change-Id: I0a5e624c3393151cf80a06961f96d6a5fb8891ab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113680
    Tested-by: Jenkins
    Reviewed-by: Henry Castro <hcastro at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113740
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index aa003718b139..e76d8eb60374 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -1093,6 +1093,9 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo
 
         if (comphelper::LibreOfficeKit::isActive())
         {
+            aPopupMenu->RemoveItem(nAutoCorrId);
+            aPopupMenu->RemoveItem(nAutoCorrectDlgId);
+
             // For mobile phones, send the context menu structure
             const SfxViewShell* pViewShell = SfxViewShell::Current();
             if (pViewShell && pViewShell->isLOKMobilePhone())


More information about the Libreoffice-commits mailing list