[Libreoffice-commits] core.git: editeng/source
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 7 13:37:01 UTC 2021
editeng/source/editeng/editview.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 4079d59c01e68cd7ceb04adf27cb2ab426bc32f0
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Apr 6 10:41:40 2021 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Wed Apr 7 15:36:16 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>
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 6320c1f8dfbd..5184a5cedc6f 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -1143,9 +1143,11 @@ void EditView::ExecuteSpellPopup(const Point& rPosPixel, const Link<SpellCallbac
EPaM aP = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM);
EPaM aP2 = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM2);
-
if (comphelper::LibreOfficeKit::isActive())
{
+ xPopupMenu->remove("autocorrect");
+ xPopupMenu->remove("autocorrectdlg");
+
// 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