NS_PRECONDITION(aDataSource != nsnull, "SetDataSource null ptr"); mDataSource = aDataSource; NS_ASSERTION(mDataSource != nsnull,"Couldn't QI RDF DataSource");
NS_IF_RELEASE(mDataSource); mDataSource = ds; NS_IF_ADDREF(mDataSource);
RDFContentSinkImpl::SetDataSource(nsIRDFDataSource* aDataSource){    NS_PRECONDITION(aDataSource != nsnull, "SetDataSource null ptr");    mDataSource = aDataSource;    NS_ASSERTION(mDataSource != nsnull,"Couldn't QI RDF DataSource");    return NS_OK;}