git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-07-02 12:38:39 +00:00
parent 62d537b5da
commit 6f82f85228

View 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;