зеркало из https://github.com/mozilla/gecko-dev.git
fix windows mailnews bustage
This commit is contained in:
Родитель
ad17c242b2
Коммит
0d0baa4796
|
@ -129,7 +129,7 @@ NS_IMETHODIMP nsAbOutlookDirFactory::CreateDirectory(nsIAbDirectoryProperties *a
|
|||
buildAbWinUri(kOutlookDirectoryScheme, abType, uri) ;
|
||||
uri.Append(entryId) ;
|
||||
|
||||
retCode = rdf->GetResource(uri.get(), getter_AddRefs(resource)) ;
|
||||
retCode = rdf->GetResource(uri, getter_AddRefs(resource)) ;
|
||||
NS_ENSURE_SUCCESS(retCode, retCode) ;
|
||||
directories->AppendElement(resource) ;
|
||||
}
|
||||
|
|
|
@ -424,7 +424,7 @@ NS_IMETHODIMP nsAbOutlookDirectory::AddMailList(nsIAbDirectory *aMailList)
|
|||
buildAbWinUri(kOutlookDirectoryScheme, mAbWinType, uri) ;
|
||||
uri.Append(entryString) ;
|
||||
nsCOMPtr<nsIRDFResource> resource ;
|
||||
retCode = gRDFService->GetResource(uri.get(), getter_AddRefs(resource)) ;
|
||||
retCode = gRDFService->GetResource(uri, getter_AddRefs(resource)) ;
|
||||
NS_ENSURE_SUCCESS(retCode, retCode) ;
|
||||
nsCOMPtr<nsIAbDirectory> newList(do_QueryInterface(resource, &retCode)) ;
|
||||
|
||||
|
@ -1155,7 +1155,7 @@ nsresult nsAbOutlookDirectory::GetChildNodes(nsISupportsArray **aNodes)
|
|||
nodeEntries.mEntries [node].ToString(entryId) ;
|
||||
buildAbWinUri(kOutlookDirectoryScheme, mAbWinType, uriName) ;
|
||||
uriName.Append(entryId) ;
|
||||
retCode = gRDFService->GetResource(uriName.get(), getter_AddRefs(resource)) ;
|
||||
retCode = gRDFService->GetResource(uriName, getter_AddRefs(resource)) ;
|
||||
NS_ENSURE_SUCCESS(retCode, retCode) ;
|
||||
nodes->AppendElement(resource) ;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче