]> git.lyx.org Git - lyx.git/blobdiff - src/AppleSpellChecker.cpp
tex2lyx: fix import of umlauts and ß in math (#12739)
[lyx.git] / src / AppleSpellChecker.cpp
index 763b809f2e73f3af7bc97e19370c178ab2f0a8cb..0a82d38b3228f04ee27ad3e45bbd889e6947690d 100644 (file)
@@ -92,7 +92,7 @@ SpellChecker::Result AppleSpellChecker::check(WordLangTuple const & word,
                if (it->lang()->code() != word.lang()->code())
                        continue;
                if (it->word() == word.word())
-                       return LEARNED_WORD;
+                       return DOCUMENT_LEARNED_WORD;
        }
 
        SpellCheckResult result =