From 8193ac607b4c9b3eccb436234882734b718845b3 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 8 Dec 2006 19:41:20 +0000 Subject: [PATCH] make it compile again git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16211 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/pspell.C | 7 +++---- src/pspell.h | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pspell.C b/src/pspell.C index cd03873b44..9d876c1ff8 100644 --- a/src/pspell.C +++ b/src/pspell.C @@ -27,8 +27,6 @@ extern "C" { namespace lyx { -using docstring; - using std::endl; using std::string; @@ -155,8 +153,9 @@ docstring const PSpell::error() } if (err) - return err; - return ""; + // FIXME UNICODE: err is not in UTF8, but probably the locale encoding + return from_utf8(err); + return docstring(); } diff --git a/src/pspell.h b/src/pspell.h index 0080348797..7d2cfc14ef 100644 --- a/src/pspell.h +++ b/src/pspell.h @@ -18,13 +18,13 @@ #include -namespace lyx { - class PspellManager; class PspellStringEmulation; class PspellCanHaveError; class PspellConfig; +namespace lyx { + class BufferParams; -- 2.39.2