зеркало из https://github.com/mozilla/pjs.git
making string conversions explicit. scc
This commit is contained in:
Родитель
2cde54dabb
Коммит
5bb2a8b81c
|
@ -1236,7 +1236,9 @@ BookmarkParser::AddBookmark(nsCOMPtr<nsIRDFContainer> aContainer,
|
|||
}
|
||||
|
||||
nsCOMPtr<nsIRDFResource> bookmark;
|
||||
if (NS_FAILED(rv = gRDF->GetResource(nsCAutoString(fullURL), getter_AddRefs(bookmark) )))
|
||||
nsCAutoString fullurlC;
|
||||
fullurlC.AssignWithConversion(fullURL);
|
||||
if (NS_FAILED(rv = gRDF->GetResource(fullurlC, getter_AddRefs(bookmark) )))
|
||||
{
|
||||
NS_ERROR("unable to get bookmark resource");
|
||||
return(rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче