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:
waterson@netscape.com
1999-02-01 22:34:51 +00:00
parent 828769f3a5
commit 56fe0825b6
28 changed files with 1564 additions and 831 deletions

View File

@@ -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