fixes building --with-pspell

Regards,
Juergen
Index: src/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v
retrieving revision 1.1402
diff -u -r1.1402 ChangeLog
--- src/ChangeLog	2003/07/01 11:51:17	1.1402
+++ src/ChangeLog	2003/07/01 17:20:29
@@ -1,4 +1,7 @@
+2003-07-01  Juergen Spitzmueller  <[EMAIL PROTECTED]>
 
+	* aspell.C: add missing namespace lyx::support
+
 2003-07-01  André Pönitz  <[EMAIL PROTECTED]>
 
 	* text.C:
Index: src/aspell.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/aspell.C,v
retrieving revision 1.1
diff -u -r1.1 aspell.C
--- src/aspell.C	2003/03/26 01:20:24	1.1
+++ src/aspell.C	2003/07/01 17:20:29
@@ -19,6 +19,7 @@
 #include "aspell_local.h"
 #include "WordLangTuple.h"

+using namespace lyx::support;
 using std::endl;
 
 ASpell::ASpell(BufferParams const &, string const & lang)
@@ -85,14 +86,14 @@
 	AspellSpeller * m = it->second.speller;
 
 	int word_ok = aspell_speller_check(m, word.word().c_str(), -1);
-	lyx::Assert(word_ok != -1);
+	Assert(word_ok != -1);
 
 	if (word_ok) {
 		res = OK;
 	} else {
 		AspellWordList const * sugs =
 			aspell_speller_suggest(m, word.word().c_str(), -1);
-		lyx::Assert(sugs != 0);
+		Assert(sugs != 0);
 		els = aspell_word_list_elements(sugs);
 		if (aspell_word_list_empty(sugs))
 			res = UNKNOWN;

Reply via email to