]> git.lyx.org Git - lyx.git/blobdiff - src/aspell_local.h
fix arabtex-related problems (bug 1225 and bug 1404)
[lyx.git] / src / aspell_local.h
index 645b2cd6cbd4226791070d15b9e67a60abfbd49c..f7e94141014eca635c6acba9222f8305df4ba0fa 100644 (file)
@@ -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();
 
@@ -50,21 +50,21 @@ public:
        virtual void accept(WordLangTuple const &);
 
        /// return the next near miss after a MISSED result
-       virtual string const nextMiss();
+       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<string, struct Speller> Spellers;
+       typedef std::map<std::string, struct Speller> Spellers;
 
        /// the spellers
        Spellers spellers_;