]> git.lyx.org Git - lyx.git/blobdiff - src/SpellBase.h
Replace boost::shared_ptr<TextClass> with a global cache of sorts of the TextClass...
[lyx.git] / src / SpellBase.h
index f9f2a4a7328c62a2d84c64135915dd3acf6eb898..75336376f313a01466f9a0248dd553a8b6054613 100644 (file)
@@ -13,9 +13,7 @@
 #ifndef SPELL_BASE_H
 #define SPELL_BASE_H
 
-#include "support/docstring.h"
-
-#include <string>
+#include "support/strfwd.h"
 
 
 namespace lyx {
@@ -61,7 +59,7 @@ 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 docstring const error();