diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-12 17:27:10 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-27 12:22:55 +0200 |
commit | 0021f40cfd14d6f746d9a4eeed529beb3a0773e6 (patch) | |
tree | 797c1eb5a89699dbc1eba511f992f7e0e0ec1ca4 /sw | |
parent | 75f2d26ab6d83c91e8ce511926186e958f3e5000 (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>
(cherry picked from commit eda8d131c327a2fe360ac28a4b1014a4947a68bc)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 63f41303f60a..da3f7a6a4cad 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/linguistic2/ProofreadingResult.hpp> #include <com/sun/star/i18n/TextConversionOption.hpp> #include <linguistic/lngprops.hxx> -#include <comphelper/lok.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/propertyvalue.hxx> #include <comphelper/propertysequence.hxx> @@ -722,14 +721,9 @@ bool SwView::ExecSpellPopup(const Point& rPt) OUString sMenuName = bUseGrammarContext ? OUString("private:resource/GrammarContextMenu") : OUString("private:resource/SpellContextMenu"); - - if (comphelper::LibreOfficeKit::isActive()) - { - // TODO for LOK, we'll need to convert the spelling popup menu to - // something much more sfx2-based & non-modal... - } - else if (TryContextMenuInterception(xPopup->GetMenu(), sMenuName, pMenu, aEvent)) + if (TryContextMenuInterception(xPopup->GetMenu(), sMenuName, pMenu, aEvent)) { + //! happy hacking for context menu modifying extensions of this //! 'custom made' menu... *sigh* (code copied from sfx2 and framework) if ( pMenu ) |