X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FASpell.cpp;h=310f5dc38ff4063b7c266125084698257598bd6e;hb=4a75fe0310ac64a079edab0c07d8f8eebaf519c0;hp=0cef57293d15ebdde8266c42b20a91423f01b226;hpb=5cad12a696b87ff0ea6b4eed74ba4d4957599718;p=lyx.git diff --git a/src/ASpell.cpp b/src/ASpell.cpp index 0cef57293d..310f5dc38f 100644 --- a/src/ASpell.cpp +++ b/src/ASpell.cpp @@ -19,7 +19,7 @@ #include "LyXRC.h" #include "WordLangTuple.h" -#include +#include "support/lassert.h" using namespace std; @@ -104,14 +104,14 @@ ASpell::Result ASpell::check(WordLangTuple const & word) AspellSpeller * m = it->second.speller; int const word_ok = aspell_speller_check(m, to_utf8(word.word()).c_str(), -1); - BOOST_ASSERT(word_ok != -1); + LASSERT(word_ok != -1, /**/); if (word_ok) return OK; AspellWordList const * sugs = aspell_speller_suggest(m, to_utf8(word.word()).c_str(), -1); - BOOST_ASSERT(sugs != 0); + LASSERT(sugs != 0, /**/); els = aspell_word_list_elements(sugs); if (aspell_word_list_empty(sugs)) res = UNKNOWN_WORD;