editeng/source/editeng/editview.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 4079d59c01e68cd7ceb04adf27cb2ab426bc32f0 Author: Henry Castro <[email protected]> AuthorDate: Tue Apr 6 10:41:40 2021 -0400 Commit: Henry Castro <[email protected]> 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 <[email protected]> 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()) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
