| Index: src/hunspell/hashmgr.cxx
|
| ===================================================================
|
| --- src/hunspell/hashmgr.cxx (revision 25668)
|
| +++ src/hunspell/hashmgr.cxx (working copy)
|
| @@ -152,7 +152,7 @@
|
| int affix_ids[hunspell::BDict::MAX_AFFIXES_PER_WORD];
|
| int affix_count = bdict_reader->FindWord(word, affix_ids);
|
| if (affix_count == 0) { // look for custom added word
|
| - std::map<StringPiece, int>::const_iterator iter =
|
| + std::map<base::StringPiece, int>::const_iterator iter =
|
| custom_word_to_affix_id_map_.find(word);
|
| if (iter != custom_word_to_affix_id_map_.end()) {
|
| affix_count = 1;
|
| @@ -276,12 +276,12 @@
|
| free(hp);
|
| }
|
| #else
|
| - std::map<StringPiece, int>::iterator iter =
|
| + std::map<base::StringPiece, int>::iterator iter =
|
| custom_word_to_affix_id_map_.find(word);
|
| if(iter == custom_word_to_affix_id_map_.end()) { // word needs to be added
|
| std::string* new_string_word = new std::string(word);
|
| pointer_to_strings_.push_back(new_string_word);
|
| - StringPiece sp(*(new_string_word));
|
| + base::StringPiece sp(*(new_string_word));
|
| custom_word_to_affix_id_map_[sp] = 0; // no affixes for custom words
|
| return 1;
|
| }
|
|
|