[EFL][GTK] TextCheckerEnchant uses deprecated enchant_dict_add_to_personal

https://bugs.webkit.org/show_bug.cgi?id=117335

Reviewed by Christophe Dumez.

enchant_dict_add_to_personal has been deprecated at r22321 in Enchant repository.

No behavior change, no new tests needed.

* platform/text/enchant/TextCheckerEnchant.cpp:
(WebCore::TextCheckerEnchant::learnWord):
Use enchant_dict_add instead of enchant_dict_add_to_personal.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 960363eb
2013-06-07 Grzegorz Czajkowski <g.czajkowski@samsung.com>
[EFL][GTK] TextCheckerEnchant uses deprecated enchant_dict_add_to_personal
https://bugs.webkit.org/show_bug.cgi?id=117335
Reviewed by Christophe Dumez.
enchant_dict_add_to_personal has been deprecated at r22321 in Enchant repository.
No behavior change, no new tests needed.
* platform/text/enchant/TextCheckerEnchant.cpp:
(WebCore::TextCheckerEnchant::learnWord):
Use enchant_dict_add instead of enchant_dict_add_to_personal.
2013-06-07 Zalan Bujtas <zalan@apple.com>
Frame flattening: crash when child iframe is removed during beforeload.
......
......@@ -60,7 +60,7 @@ void TextCheckerEnchant::ignoreWord(const String& word)
void TextCheckerEnchant::learnWord(const String& word)
{
for (Vector<EnchantDict*>::const_iterator iter = m_enchantDictionaries.begin(); iter != m_enchantDictionaries.end(); ++iter)
enchant_dict_add_to_personal(*iter, word.utf8().data(), -1);
enchant_dict_add(*iter, word.utf8().data(), -1);
}
void TextCheckerEnchant::checkSpellingOfWord(const CString& word, int start, int end, int& misspellingLocation, int& misspellingLength)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment