From 6f82f85228801eccf1ed7afba18a7499337136ee Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 2 Jul 2010 12:38:39 +0000 Subject: [PATCH] style git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34744 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/EnchantChecker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EnchantChecker.cpp b/src/EnchantChecker.cpp index e67f525c3e..3f3b138f58 100644 --- a/src/EnchantChecker.cpp +++ b/src/EnchantChecker.cpp @@ -34,7 +34,7 @@ struct Speller { enchant::Dict * speller; }; -typedef std::map Spellers; +typedef map 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;