diff options
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index 173426f019f4..5a1abd76d130 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -270,6 +270,10 @@ 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) |