summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-15 09:45:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-15 09:45:33 +0000
commit484370526ddf1ae94a62439d879f8ef592180d19 (patch)
tree09b5d47e78c6807efa659ef4ab6a4208a5a2873b /lingucomponent
parent043c1886d559b58cc8948b0543b656a9039c8197 (diff)
fix collision
Change-Id: I73371e19877a8b192b188c1c6367ba0d391530df
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx6
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)