summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/firefox2_importer.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 15:56:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 15:56:36 +0000
commit7cadb41e59cf41cec77ad58b4fe2b96fb0a65ded (patch)
treee450f0cc7f11ad65298909193245abeef2117b89 /chrome/browser/importer/firefox2_importer.cc
parent26c03e758190628ba37079e4059919afaa4126c2 (diff)
downloadchromium_src-7cadb41e59cf41cec77ad58b4fe2b96fb0a65ded.zip
chromium_src-7cadb41e59cf41cec77ad58b4fe2b96fb0a65ded.tar.gz
chromium_src-7cadb41e59cf41cec77ad58b4fe2b96fb0a65ded.tar.bz2
importer: Convert GetLocalizedString to string16.
(Note: this was a TODO for viettrungluu). BUG=23581 TEST=None R=avi@chromium.org Review URL: http://codereview.chromium.org/6723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/firefox2_importer.cc')
-rw-r--r--chrome/browser/importer/firefox2_importer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/importer/firefox2_importer.cc b/chrome/browser/importer/firefox2_importer.cc
index fb1261d..e6aae3c 100644
--- a/chrome/browser/importer/firefox2_importer.cc
+++ b/chrome/browser/importer/firefox2_importer.cc
@@ -291,9 +291,9 @@ void Firefox2Importer::ImportBookmarks() {
if (!parsing_bookmarks_html_file_)
file = file.AppendASCII("bookmarks.html");
std::wstring first_folder_name;
- first_folder_name = bridge_->GetLocalizedString(
+ first_folder_name = UTF16ToWideHack(bridge_->GetLocalizedString(
parsing_bookmarks_html_file_ ? IDS_BOOKMARK_GROUP :
- IDS_BOOKMARK_GROUP_FROM_FIREFOX);
+ IDS_BOOKMARK_GROUP_FROM_FIREFOX));
ImportBookmarksFile(file, default_urls, import_to_bookmark_bar(),
first_folder_name, this, &bookmarks, &template_urls,