if (mDataSource) { nsCOMPtr<nsIRDFXMLSink> sink = do_QueryInterface(mDataSource); if (sink) return sink->EndLoad(); } return NS_OK;
return (mDataSource != nsnull) ? mDataSource->EndLoad() : NS_OK;
RDFContentSinkImpl::DidBuildModel(void){    if (mDataSource) {        nsCOMPtr<nsIRDFXMLSink> sink = do_QueryInterface(mDataSource);        if (sink)            return sink->EndLoad();    }    return NS_OK;}