]> git.lyx.org Git - lyx.git/blobdiff - src/pspell.h
hopefully fix tex2lyx linking.
[lyx.git] / src / pspell.h
index d645aacad3b98c33b7bbc49fae748b92758f1da9..0080348797d1762726762a8628615464f37136b5 100644 (file)
@@ -17,6 +17,9 @@
 
 #include <map>
 
+
+namespace lyx {
+
 class PspellManager;
 class PspellStringEmulation;
 class PspellCanHaveError;
@@ -53,7 +56,7 @@ public:
        virtual std::string const nextMiss();
 
        /// give an error message on messy exit
-       virtual std::string const error();
+       virtual docstring const error();
 
 private:
        /// add a manager of the given language
@@ -75,4 +78,7 @@ private:
        PspellCanHaveError * spell_error_object;
 };
 
+
+} // namespace lyx
+
 #endif // LYX_PSPELL_H