summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2017-09-14 10:29:32 +0100
committerMichael Meeks <michael.meeks@collabora.com>2017-09-14 12:59:59 +0200
commitf2de8a282a131f0294c41fa994083df47d5d61f0 (patch)
tree9ee171b4963bccd9206e9c0286bdeff5dffb0b0c /sd
parent91cf85936aff8bcc3b837584a834a0f2d9f3ed3a (diff)
Revert "Disable spellcheck when LOK is active"
This reverts commit c92ebc850345924619a12327f36cc6ac9c0b09d1. Change-Id: Idd01cffbd71643d5a9132b518432c5e173b4787a Reviewed-on: https://gerrit.libreoffice.org/42270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index b418f1ed7a2c..54b2474008b9 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -100,7 +100,6 @@
#include <tools/tenccvt.hxx>
#include <vcl/settings.hxx>
-#include <comphelper/lok.hxx>
using namespace ::sd;
using namespace ::com::sun::star;
@@ -229,8 +228,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
SetLanguage( MsLangId::resolveSystemLanguageByScriptType(aOptions.nDefaultLanguage_CTL,
css::i18n::ScriptType::COMPLEX), EE_CHAR_LANGUAGE_CTL );
- if (!comphelper::LibreOfficeKit::isActive())
- mbOnlineSpell = aOptions.bIsSpellAuto;
+ mbOnlineSpell = aOptions.bIsSpellAuto;
}
LanguageType eRealLanguage = MsLangId::getRealLanguage( meLanguage );