if ((tv) && (source == kNC_RelatedLinksRoot)) { if (property == kRDF_type) { if ((nsIRDFResource *)target == kRDF_type) { *hasAssertion = PR_TRUE; } } } else { if (mInner)	rv = mInner->HasAssertion(source, property, target, tv, hasAssertion); }
if (mInner)	rv = mInner->HasAssertion(source, property, target, tv, hasAssertion);
RelatedLinksDataSource::HasAssertion(nsIRDFResource *source,                             nsIRDFResource *property,                             nsIRDFNode *target,                             PRBool tv,                             PRBool *hasAssertion /* out */){    NS_PRECONDITION(source != nsnull, "null ptr");    if (! source)        return NS_ERROR_NULL_POINTER;    NS_PRECONDITION(property != nsnull, "null ptr");    if (! property)        return NS_ERROR_NULL_POINTER;    NS_PRECONDITION(target != nsnull, "null ptr");    if (! target)        return NS_ERROR_NULL_POINTER;    NS_PRECONDITION(hasAssertion != nsnull, "null ptr");    if (! hasAssertion)        return NS_ERROR_NULL_POINTER;	PRBool			retVal = PR_FALSE;	nsresult		rv = NS_OK;	*hasAssertion = PR_FALSE;	// we only have positive assertions in the Related Links data source.	if ((tv) && (source == kNC_RelatedLinksRoot))	{		if (property == kRDF_type)		{			if ((nsIRDFResource *)target == kRDF_type)			{				*hasAssertion = PR_TRUE;			}		}	}	else	{		if (mInner)	rv = mInner->HasAssertion(source, property, target, tv, hasAssertion);	}	return (rv);}