Content model builder is now specified by XML processing instruction. Modified code to handle new XUL tree widget content model (based on table code). Added CID fields to all the interfaces so that nsCOMPtr will work. Juggled some of the content model builder stuff around in an attempt to make things a bit saner.
This commit is contained in:
@@ -552,9 +552,9 @@ CompositeDataSourceImpl::GetSource(nsIRDFResource* property,
|
||||
return NS_OK;
|
||||
|
||||
NS_RELEASE(*source);
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_ERROR_RDF_NO_VALUE;
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_ERROR_RDF_NO_VALUE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
@@ -592,12 +592,11 @@ CompositeDataSourceImpl::GetTarget(nsIRDFResource* source,
|
||||
if (!HasAssertionN(count-1, source, property, *target, !tv))
|
||||
return NS_OK;
|
||||
|
||||
|
||||
NS_RELEASE(*target);
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_ERROR_RDF_NO_VALUE;
|
||||
}
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
return NS_ERROR_RDF_NO_VALUE;
|
||||
}
|
||||
|
||||
PRBool
|
||||
|
||||
Reference in New Issue
Block a user