diff options
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index c09f7a48b3f9..a01d23d4fe67 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -58,7 +58,7 @@ using namespace com::sun::star::linguistic2; using namespace linguistic; // XML-header of SPELLML queries -#if defined SPELL_XML +#if !defined SPELL_XML #define SPELL_XML "<?xml?>" #endif @@ -277,10 +277,6 @@ sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) return bRes; } -#ifndef MAXWORDLEN -# define MAXWORDLEN 176 -#endif - sal_Int16 SpellChecker::GetSpellFailure(const OUString &rWord, const Locale &rLocale) { if (rWord.getLength() > MAXWORDLEN) |