X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Faspell_local.h;h=7bfcd01238ff00b5072886380a08c8175ca103a1;hb=65ca7003ba47b7348610393a9a0d2d309b4e9702;hp=645b2cd6cbd4226791070d15b9e67a60abfbd49c;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/aspell_local.h b/src/aspell_local.h index 645b2cd6cb..7bfcd01238 100644 --- a/src/aspell_local.h +++ b/src/aspell_local.h @@ -30,7 +30,7 @@ public: /** * Initialise the spellchecker with the given buffer params and language. */ - ASpell(BufferParams const & params, string const & lang); + ASpell(BufferParams const & params, std::string const & lang); virtual ~ASpell(); @@ -49,22 +49,22 @@ public: /// accept the given word temporarily virtual void accept(WordLangTuple const &); - /// return the next near miss after a MISSED result - virtual string const nextMiss(); + /// return the next near miss after a SUGGESTED_WORDS result + virtual std::string const nextMiss(); /// give an error message on messy exit - virtual string const error(); + virtual std::string const error(); private: /// add a speller of the given language - void addSpeller(string const & lang); + void addSpeller(std::string const & lang); struct Speller { AspellSpeller * speller; AspellConfig * config; }; - typedef std::map Spellers; + typedef std::map Spellers; /// the spellers Spellers spellers_; @@ -75,4 +75,4 @@ private: AspellCanHaveError * spell_error_object; }; -#endif // ASPELL_H +#endif // LYX_ASPELL_H