]> git.lyx.org Git - lyx.git/blobdiff - src/EnchantChecker.cpp
Partially revert r34995, which broke math output. Not sure why yet....
[lyx.git] / src / EnchantChecker.cpp
index e67f525c3ee643a574371e431b4519b6334aca97..3f3b138f58a0d36a7f27f36758b4b4ca515832e8 100644 (file)
@@ -34,7 +34,7 @@ struct Speller {
        enchant::Dict * speller;
 };
 
-typedef std::map<std::string, Speller> Spellers;
+typedef map<string, Speller> Spellers;
   
 } // anon namespace
 
@@ -115,7 +115,7 @@ SpellChecker::Result EnchantChecker::check(WordLangTuple const & word)
        if (!m)
                return OK;
 
-       std::string utf8word(to_utf8(word.word()));
+       string utf8word = to_utf8(word.word());
 
        if (m->check(utf8word))
                return OK;