]> git.lyx.org Git - lyx.git/blobdiff - src/aspell_local.h
Fix dEPM crash:
[lyx.git] / src / aspell_local.h
index 7bfcd01238ff00b5072886380a08c8175ca103a1..f7e840d5f45e44b5dbe0333d7489bba0b8e5f4e4 100644 (file)
 #ifndef LYX_ASPELL_H
 #define LYX_ASPELL_H
 
+#include "SpellBase.h"
+
 #include <map>
 
-#include "SpellBase.h"
 
 class AspellSpeller;
 class AspellStringEnumeration;
 class AspellCanHaveError;
 class AspellConfig;
 
+namespace lyx {
+
 class BufferParams;
 
 
@@ -50,10 +53,10 @@ public:
        virtual void accept(WordLangTuple const &);
 
        /// return the next near miss after a SUGGESTED_WORDS result
-       virtual std::string const nextMiss();
+       virtual docstring const nextMiss();
 
        /// give an error message on messy exit
-       virtual std::string const error();
+       virtual docstring const error();
 
 private:
        /// add a speller of the given language
@@ -75,4 +78,7 @@ private:
        AspellCanHaveError * spell_error_object;
 };
 
+
+} // namespace lyx
+
 #endif // LYX_ASPELL_H