From 256339c2c3d55fba076c4bc572e2554a3f7855e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Vigna?= Date: Fri, 27 Apr 2001 12:17:34 +0000 Subject: [PATCH] Small Assert -> lyx::Assert fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1967 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/spellchecker.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5dbf0db0e1..42e7c5501b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-04-27 Juergen Vigna + + * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert. + 2001-04-27 Lars Gullik Bjønnes * lyxfunc.C (Dispatch): hack to make listof algorithm work diff --git a/src/spellchecker.C b/src/spellchecker.C index 989c1cd690..34c097884d 100644 --- a/src/spellchecker.C +++ b/src/spellchecker.C @@ -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; -- 2.39.5