diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index ec4aae63b63a..eaa9fe05e932 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1076,13 +1076,13 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo if (comphelper::LibreOfficeKit::isActive()) { - // For mobile, send the context menu structure - if (comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView())) + // For mobile phone, send the context menu structure + if (comphelper::LibreOfficeKit::isMobilePhone(SfxLokHelper::getView())) { LOKSendSpellPopupMenu(aPopupMenu, nGuessLangWord, nGuessLangPara, nWords); return; } - else // For desktop, we use the tunneled dialog + else // For desktop or tablet, we use the tunneled dialog aPopupMenu->SetLOKNotifier(SfxViewShell::Current()); } sal_uInt16 nId = aPopupMenu->Execute(pImpEditView->GetWindow(), aTempRect, PopupMenuFlags::NoMouseUpClose); |