summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-08-24 14:45:55 -0400
committerAndras Timar <andras.timar@collabora.com>2022-02-14 11:00:12 +0100
commit71f1d3c9304cd6051119da8d66d2367553ecf277 (patch)
treef466dc0a2f2e4f43bf745d4e533dda4bea583fee /editeng
parent00ac75e77f3b02dc1e76fbc34a5e502830755cd2 (diff)
lok: ensure no more tunneled spellchecking menu
Change-Id: Ic79d9b6d606573d93830347390c6466b033e9f12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120963 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129460 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editview.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index fe6711ff6eaf..c227cbc93182 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -1161,14 +1161,8 @@ void EditView::ExecuteSpellPopup(const Point& rPosPixel, const Link<SpellCallbac
xPopupMenu->remove("autocorrect");
xPopupMenu->remove("autocorrectdlg");
- // For mobile phones, send the context menu structure
- const SfxViewShell* pViewShell = SfxViewShell::Current();
- if (pViewShell && pViewShell->isLOKMobilePhone())
- {
- LOKSendSpellPopupMenu(*xPopupMenu, nGuessLangWord, nGuessLangPara, nWords);
- return;
- }
- // note, there is special handling of this menu 'editviewspellmenu' by vcl's PopupMenu::ImplExecute
+ LOKSendSpellPopupMenu(*xPopupMenu, nGuessLangWord, nGuessLangPara, nWords);
+ return;
}
OString sId = xPopupMenu->popup_at_rect(pPopupParent, aTempRect);