diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 01:00:23 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 01:00:23 +0000 |
commit | 4be85a0d5e0f68724f4e44eb560fcd95c21b40e8 (patch) | |
tree | 5dc26d9505ea7468d91206fa81203caa422e8782 /chrome/browser/spellchecker.cc | |
parent | d2da40d52604228c5642105c4baa797fcf231b94 (diff) | |
download | chromium_src-4be85a0d5e0f68724f4e44eb560fcd95c21b40e8.zip chromium_src-4be85a0d5e0f68724f4e44eb560fcd95c21b40e8.tar.gz chromium_src-4be85a0d5e0f68724f4e44eb560fcd95c21b40e8.tar.bz2 |
Update hunspell DEPS to 1.2.8
BUG=14756
TEST=Ran valgrind and unit_tests for SpellCheckTest and all passed successfully.
Review URL: http://codereview.chromium.org/176046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker.cc')
-rw-r--r-- | chrome/browser/spellchecker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc index b8bcc7f..b6e43fb 100644 --- a/chrome/browser/spellchecker.cc +++ b/chrome/browser/spellchecker.cc @@ -595,7 +595,7 @@ void SpellChecker::AddCustomWordsToHunspell() { if (hunspell_.get()) { for (std::vector<std::string>::iterator it = list_of_words.begin(); it != list_of_words.end(); ++it) { - hunspell_->put_word(it->c_str()); + hunspell_->add(it->c_str()); } } } @@ -728,7 +728,7 @@ void SpellChecker::AddWord(const std::wstring& word) { // Add the word to hunspell. std::string word_to_add = WideToUTF8(word); if (!word_to_add.empty()) - hunspell_->put_word(word_to_add.c_str()); + hunspell_->add(word_to_add.c_str()); // Now add the word to the custom dictionary file. Task* write_word_task = |