diff options
-rw-r--r-- | sd/source/core/drawdoc.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/config/viewopt.cxx | 3 |
2 files changed, 1 insertions, 6 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 ); diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index ecb592979ad0..3a00aa3e7b4b 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -318,9 +318,6 @@ bool SwViewOption::IsAutoCompleteWords() void SwViewOption::SetOnlineSpell(bool b) { - if (comphelper::LibreOfficeKit::isActive()) - return; - b ? (m_nCoreOptions |= ViewOptFlags1::OnlineSpell ) : ( m_nCoreOptions &= ~ViewOptFlags1::OnlineSpell); } |