make it compile again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16211 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-12-08 19:41:20 +00:00
parent a781d8c98d
commit 8193ac607b
2 changed files with 5 additions and 6 deletions

View File

@ -27,8 +27,6 @@ extern "C" {
namespace lyx { namespace lyx {
using docstring;
using std::endl; using std::endl;
using std::string; using std::string;
@ -155,8 +153,9 @@ docstring const PSpell::error()
} }
if (err) if (err)
return err; // FIXME UNICODE: err is not in UTF8, but probably the locale encoding
return ""; return from_utf8(err);
return docstring();
} }

View File

@ -18,13 +18,13 @@
#include <map> #include <map>
namespace lyx {
class PspellManager; class PspellManager;
class PspellStringEmulation; class PspellStringEmulation;
class PspellCanHaveError; class PspellCanHaveError;
class PspellConfig; class PspellConfig;
namespace lyx {
class BufferParams; class BufferParams;