This commit is contained in:
waterson%netscape.com 1998-12-18 05:38:59 +00:00
Родитель 6eb0bfba42
Коммит 203f96e9a9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -812,7 +812,7 @@ static NS_DEFINE_IID(kIRDFResourceManagerIID, NS_IRDFRESOURCEMANAGER_IID);
nsIRDFDataBase* db = nsnull; nsIRDFDataBase* db = nsnull;
nsIRDFDocument* doc = nsnull; nsIRDFDocument* doc = nsnull;
nsIRDFResourceManager* mgr = nsnull; nsIRDFResourceManager* mgr = nsnull;
nsIRDFNode* root = nsnull; nsIRDFResource* root = nsnull;
result = nsnull; // reasonable default result = nsnull; // reasonable default
@ -842,7 +842,7 @@ static NS_DEFINE_IID(kIRDFResourceManagerIID, NS_IRDFRESOURCEMANAGER_IID);
(nsISupports**) &mgr))) (nsISupports**) &mgr)))
goto done; goto done;
if (NS_FAILED(rv = mgr->GetNode("rdf:bookmarks", root))) if (NS_FAILED(rv = mgr->GetResource("rdf:bookmarks", &root)))
goto done; goto done;
if (NS_FAILED(rv = doc->SetRootResource(root))) if (NS_FAILED(rv = doc->SetRootResource(root)))