[Libreoffice-commits] core.git: lingucomponent/source

Caolán McNamara caolanm at redhat.com
Thu Dec 15 09:46:22 UTC 2016


 lingucomponent/source/spellcheck/spell/sspellimp.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 484370526ddf1ae94a62439d879f8ef592180d19
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 15 09:45:33 2016 +0000

    fix collision
    
    Change-Id: I73371e19877a8b192b188c1c6367ba0d391530df

diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index c09f7a4..a01d23d 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)


More information about the Libreoffice-commits mailing list