diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-12 17:27:10 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-03-13 09:31:01 +0100 |
commit | eda8d131c327a2fe360ac28a4b1014a4947a68bc (patch) | |
tree | 9c7d9411e71dde5dfc49db7e04210058c909c7e2 /editeng | |
parent | 71f2669b7fbbf3f51f43286dd64608a75ce95ad7 (diff) |
Revert "lok: Don't freeze the LibreOfficeKit via the spell-checking popup..."
This reverts commit 551e639f467813e52ff4301822b6a7f8778a2ef4.
Change-Id: I0c7c85fe22d53aa5587ec119e1c3242682b88e43
Reviewed-on: https://gerrit.libreoffice.org/51164
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index c4af0dcafb17..22b66cbce8c2 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1025,11 +1025,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); |