mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 19:20:13 +00:00
build bustage!
This commit is contained in:
parent
9a815b2104
commit
9bacdcbb35
@ -1151,7 +1151,7 @@ nsIEProfileMigrator::CopySmartKeywords(nsIRDFResource* aParentFolder)
|
||||
rv = bundle->FormatStringFromName(NS_LITERAL_STRING("importedSearchUrlDesc").get(),
|
||||
descStrings, 2, getter_Copies(keywordDesc));
|
||||
bms->CreateBookmarkInContainer(keywordName.get(),
|
||||
(char*)url,
|
||||
NS_ConvertUTF8toUCS2(url).get(),
|
||||
keyword.get(),
|
||||
keywordDesc.get(),
|
||||
NS_LITERAL_STRING("").get(),
|
||||
@ -1273,7 +1273,7 @@ nsIEProfileMigrator::ParseFavoritesFolder(nsIFile* aDirectory,
|
||||
|
||||
nsCOMPtr<nsIRDFResource> bookmark;
|
||||
aBookmarksService->CreateBookmarkInContainer(bookmarkName.get(),
|
||||
spec.get(),
|
||||
NS_ConvertUTF8toUCS2(spec).get(),
|
||||
nsnull,
|
||||
nsnull,
|
||||
nsnull,
|
||||
@ -1338,7 +1338,7 @@ nsIEProfileMigrator::ParseFavoritesFolder(nsIFile* aDirectory,
|
||||
|
||||
nsCOMPtr<nsIRDFResource> bookmark;
|
||||
rv = aBookmarksService->CreateBookmarkInContainer(name.get(),
|
||||
resolvedURL.get(),
|
||||
NS_ConvertUTF8toUCS2(resolvedURL).get(),
|
||||
nsnull,
|
||||
nsnull,
|
||||
nsnull,
|
||||
|
@ -1119,7 +1119,7 @@ nsOperaProfileMigrator::CopySmartKeywords(nsIBookmarksService* aBMS,
|
||||
descStrings, 2, getter_Copies(keywordDesc));
|
||||
|
||||
rv = aBMS->CreateBookmarkInContainer(nameStr.get(),
|
||||
url.get(),
|
||||
NS_ConvertUTF8toUCS2(url).get(),
|
||||
NS_ConvertUTF8toUCS2(keyword).get(),
|
||||
keywordDesc.get(),
|
||||
nsnull,
|
||||
@ -1269,7 +1269,7 @@ nsOperaProfileMigrator::ParseBookmarksFolder(nsILineInputStream* aStream,
|
||||
if (entryType == EntryType_BOOKMARK) {
|
||||
if (!name.IsEmpty() && !url.IsEmpty()) {
|
||||
rv = aBMS->CreateBookmarkInContainer(name.get(),
|
||||
url.get(),
|
||||
NS_ConvertUTF8toUCS2(url).get(),
|
||||
keyword.get(),
|
||||
description.get(),
|
||||
nsnull,
|
||||
|
Loading…
Reference in New Issue
Block a user