summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-03-08 17:26:27 +0100
committerpranavk <pranavk@collabora.co.uk>2018-03-12 17:10:11 +0100
commitb166510d382302622cc6acc3e00ee7fdfd6dbad9 (patch)
tree67f1b083819fa37cb915c4a6ff5c86ba2fb2758f /editeng/source
parente169df73408a48427a2b4b2a1927da09fc740169 (diff)
Revert "lok: Don't freeze the LibreOfficeKit via the spell-checking popup..."
We want to re-introduce the spell-checking context menu, and use dialog tunneling for that. This reverts commit eb5e45782b0e805455d383e9d020aae5bb70d619. Change-Id: I068585b9e70409fe3e64f2d7039fb4a23af08738 Reviewed-on: https://gerrit.libreoffice.org/51061 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/editview.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index bb9093c3904d..f6f75235fd14 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -983,11 +983,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo
EPaM aP = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM);
EPaM aP2 = pImpEditView->pEditEngine->pImpEditEngine->CreateEPaM(aPaM2);
- sal_uInt16 nId = 0;
- // TODO for LOK, we'll need to convert the spelling popup menu to
- // something much more sfx2-based & non-modal...
- if (!comphelper::LibreOfficeKit::isActive())
- nId = aPopupMenu->Execute( pImpEditView->GetWindow(), aTempRect, PopupMenuFlags::NoMouseUpClose );
+ sal_uInt16 nId = aPopupMenu->Execute( pImpEditView->GetWindow(), aTempRect, PopupMenuFlags::NoMouseUpClose );
aPaM2 = pImpEditView->pEditEngine->pImpEditEngine->CreateEditPaM(aP2);
aPaM = pImpEditView->pEditEngine->pImpEditEngine->CreateEditPaM(aP);