X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fpspell.C;h=cd03873b4440ae13ca9fd192ba683580608b2013;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=9ca0feaeeec9882301fdbf6d0324c938943158b4;hpb=1b264d6f7dd66d3824c2dd4649cf5b0cd2e3fe48;p=lyx.git diff --git a/src/pspell.C b/src/pspell.C index 9ca0feaeee..cd03873b44 100644 --- a/src/pspell.C +++ b/src/pspell.C @@ -11,8 +11,6 @@ #include -#ifdef USE_PSPELL - #include "debug.h" #define USE_ORIGINAL_MANAGER_FUNCS 1 @@ -26,6 +24,11 @@ extern "C" { #include + +namespace lyx { + +using docstring; + using std::endl; using std::string; @@ -143,7 +146,7 @@ string const PSpell::nextMiss() } -string const PSpell::error() +docstring const PSpell::error() { char const * err = 0; @@ -156,4 +159,5 @@ string const PSpell::error() return ""; } -#endif // USE_PSPELL + +} // namespace lyx