summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/editview.cxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-04-06 10:41:40 -0400
committerHenry Castro <hcastro@collabora.com>2021-04-07 15:36:16 +0200
commit4079d59c01e68cd7ceb04adf27cb2ab426bc32f0 (patch)
tree42059ef83eb38d2054789063a4d3eca2704d12a3 /editeng/source/editeng/editview.cxx
parent7ecd3a095b33660f07f5361ead7e74530e7dadba (diff)
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@collabora.com>
Diffstat (limited to 'editeng/source/editeng/editview.cxx')
-rw-r--r--editeng/source/editeng/editview.cxx4
1 files changed, 3 insertions, 1 deletions
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())