summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
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 );