X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAppleSpellChecker.cpp;h=0a82d38b3228f04ee27ad3e45bbd889e6947690d;hb=b08a653f3549e08fffc5318c87da305651ecc197;hp=763b809f2e73f3af7bc97e19370c178ab2f0a8cb;hpb=2cf86771ed0bc60b13f6303fcfe10baf95133fac;p=lyx.git diff --git a/src/AppleSpellChecker.cpp b/src/AppleSpellChecker.cpp index 763b809f2e..0a82d38b32 100644 --- a/src/AppleSpellChecker.cpp +++ b/src/AppleSpellChecker.cpp @@ -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 =