rv = GetTarget(contentSortInfo, sortInfo, first, onlyCollationHint, PR_TRUE, target, isCollationKey);
modSortRes = (first) ? sortInfo->sortPropertyColl : sortInfo->sortPropertyColl2; if (modSortRes) { if (NS_SUCCEEDED(rv = GetCachedTarget(sortInfo, useCache, res1, modSortRes, PR_TRUE, target)) && (rv != NS_RDF_NO_VALUE)) { isCollationKey = PR_TRUE; } } if ((!(*target)) && (onlyCollationHint == PR_FALSE)) {     modSortRes = (first) ? sortInfo->sortPropertySort : sortInfo->sortPropertySort2; if (modSortRes) { if (NS_SUCCEEDED(rv = GetCachedTarget(sortInfo, useCache, res1, modSortRes, PR_TRUE, target)) && (rv != NS_RDF_NO_VALUE)) { } } } if ((!(*target)) && (onlyCollationHint == PR_FALSE)) {  modSortRes = (first) ? sortInfo->sortProperty : sortInfo->sortProperty2; if (modSortRes) { if (NS_SUCCEEDED(rv = GetCachedTarget(sortInfo, useCache, res1, modSortRes, PR_TRUE, target) && (rv != NS_RDF_NO_VALUE))) { } } }
XULSortServiceImpl::GetResourceValue(contentSortInfo *contentSortInfo, sortPtr sortInfo, PRBool first, PRBool useCache,				PRBool onlyCollationHint, nsIRDFNode **target, PRBool &isCollationKey){	nsresult		rv = NS_OK;	*target = nsnull;	isCollationKey = PR_FALSE;	nsIRDFResource *res1 = contentSortInfo->resource;	if ((res1) && (sortInfo->naturalOrderSort == PR_FALSE))	{		rv = GetTarget(contentSortInfo, sortInfo, first, onlyCollationHint, PR_TRUE, target, isCollationKey);	}	return(rv);}