]> git.lyx.org Git - lyx.git/blobdiff - src/PSpell.cpp
Remove invalid comment.
[lyx.git] / src / PSpell.cpp
index c4b4d980ac661a2d8640a913e35285dc566bf25b..09044af8560759993b5c41ae4c2654dfd66b5f5b 100644 (file)
@@ -22,7 +22,7 @@ extern "C" {
 #include "PSpell.h"
 #include "WordLangTuple.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 using namespace std;
 using namespace lyx::support;
@@ -98,14 +98,14 @@ enum PSpell::Result PSpell::check(WordLangTuple const & word)
        PspellManager * m = it->second.manager;
 
        int word_ok = pspell_manager_check(m, to_utf8(word.word()).c_str());
-       BOOST_ASSERT(word_ok != -1);
+       LASSERT(word_ok != -1, /**/);
 
        if (word_ok) {
                res = OK;
        } else {
                PspellWordList const * sugs =
                        pspell_manager_suggest(m, to_utf8(word.word()).c_str());
-               BOOST_ASSERT(sugs != 0);
+               LASSERT(sugs != 0, /**/);
                els = pspell_word_list_elements(sugs);
                if (pspell_word_list_empty(sugs))
                        res = UNKNOWN_WORD;