]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.C
* src/LaTeX.C: beautification: use identical user messages
[lyx.git] / src / pspell.C
index 9ca0feaeeec9882301fdbf6d0324c938943158b4..cd03873b4440ae13ca9fd192ba683580608b2013 100644 (file)
@@ -11,8 +11,6 @@
 
 #include <config.h>
 
-#ifdef USE_PSPELL
-
 #include "debug.h"
 
 #define USE_ORIGINAL_MANAGER_FUNCS 1
@@ -26,6 +24,11 @@ extern "C" {
 
 #include <boost/assert.hpp>
 
+
+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