X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FEnchantChecker.cpp;h=5b42f33fde7e5f575a418d32e18c9ff476f63ffa;hb=fd5adacef25eb40f813dedd961920c353448213a;hp=8eaea83753681dc677fba1e57138448596eb2fdf;hpb=4210f4c9cc813cc981fec6a90779ecfe4da1df46;p=features.git diff --git a/src/EnchantChecker.cpp b/src/EnchantChecker.cpp index 8eaea83753..5b42f33fde 100644 --- a/src/EnchantChecker.cpp +++ b/src/EnchantChecker.cpp @@ -139,7 +139,7 @@ SpellChecker::Result EnchantChecker::check(WordLangTuple const & word, if (it->lang()->code() != word.lang()->code()) continue; if (it->word() == word.word()) - return LEARNED_WORD; + return DOCUMENT_LEARNED_WORD; } return UNKNOWN_WORD;