]> git.lyx.org Git - lyx.git/commitdiff
Small Assert -> lyx::Assert fix.
authorJürgen Vigna <jug@sad.it>
Fri, 27 Apr 2001 12:17:34 +0000 (12:17 +0000)
committerJürgen Vigna <jug@sad.it>
Fri, 27 Apr 2001 12:17:34 +0000 (12:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1967 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/spellchecker.C

index 5dbf0db0e1058e7f7b1d746721ce3231fa0b6b7c..42e7c5501ba1ebb505bf2bc99717ce72ba468283 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-27  Juergen Vigna  <jug@sad.it>
+
+       * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
+
 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * lyxfunc.C (Dispatch): hack to make listof algorithm work
index 989c1cd690bf48d3e4b6de0709470054002d5438..34c097884d7f937e8a095160925830f597f3df01 100644 (file)
@@ -637,14 +637,14 @@ isp_result * sc_check_word(string const & word)
 #warning Why isnt word_ok a bool? (Lgb)
 #endif
        int word_ok = pspell_manager_check(sc, word.c_str());
-       Assert(word_ok != -1);
+       lyx::Assert(word_ok != -1);
 
        if (word_ok) {
                result->flag = ISP_OK;
        } else {
                PspellWordList const * sugs =
                        pspell_manager_suggest(sc, word.c_str());
-               Assert(sugs != 0);
+               lyx::Assert(sugs != 0);
                result->els = pspell_word_list_elements(sugs);
                if (pspell_word_list_empty(sugs)) 
                        result->flag = ISP_UNKNOWN;