From ba8b13a8f1a9efaa426faf199acd42d41ef2a58b Mon Sep 17 00:00:00 2001 From: "rjc%netscape.com" Date: Sat, 8 May 1999 21:07:18 +0000 Subject: [PATCH] Try fixing another Unix pedantic issue. --- content/xul/templates/src/nsXULTemplateBuilder.cpp | 2 +- rdf/content/src/nsRDFGenericBuilder.cpp | 2 +- rdf/content/src/nsXULTemplateBuilder.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/xul/templates/src/nsXULTemplateBuilder.cpp b/content/xul/templates/src/nsXULTemplateBuilder.cpp index 1e89ebf9a4b..00c1f1b38c0 100644 --- a/content/xul/templates/src/nsXULTemplateBuilder.cpp +++ b/content/xul/templates/src/nsXULTemplateBuilder.cpp @@ -845,7 +845,7 @@ RDFGenericBuilderImpl::PopulateWidgetItemSubtree(nsIContent *aTemplateRoot, nsIC } #endif - if ((tag == containmentAtom) && (nameSpaceID == kNameSpaceID_XUL)) + if ((tag == containmentAtom.get()) && (nameSpaceID == kNameSpaceID_XUL)) { if (NS_FAILED(rv = CreateResourceElement(nameSpaceID, containmentAtom, aValue, getter_AddRefs(treeGrandchild)))) diff --git a/rdf/content/src/nsRDFGenericBuilder.cpp b/rdf/content/src/nsRDFGenericBuilder.cpp index 1e89ebf9a4b..00c1f1b38c0 100644 --- a/rdf/content/src/nsRDFGenericBuilder.cpp +++ b/rdf/content/src/nsRDFGenericBuilder.cpp @@ -845,7 +845,7 @@ RDFGenericBuilderImpl::PopulateWidgetItemSubtree(nsIContent *aTemplateRoot, nsIC } #endif - if ((tag == containmentAtom) && (nameSpaceID == kNameSpaceID_XUL)) + if ((tag == containmentAtom.get()) && (nameSpaceID == kNameSpaceID_XUL)) { if (NS_FAILED(rv = CreateResourceElement(nameSpaceID, containmentAtom, aValue, getter_AddRefs(treeGrandchild)))) diff --git a/rdf/content/src/nsXULTemplateBuilder.cpp b/rdf/content/src/nsXULTemplateBuilder.cpp index 1e89ebf9a4b..00c1f1b38c0 100644 --- a/rdf/content/src/nsXULTemplateBuilder.cpp +++ b/rdf/content/src/nsXULTemplateBuilder.cpp @@ -845,7 +845,7 @@ RDFGenericBuilderImpl::PopulateWidgetItemSubtree(nsIContent *aTemplateRoot, nsIC } #endif - if ((tag == containmentAtom) && (nameSpaceID == kNameSpaceID_XUL)) + if ((tag == containmentAtom.get()) && (nameSpaceID == kNameSpaceID_XUL)) { if (NS_FAILED(rv = CreateResourceElement(nameSpaceID, containmentAtom, aValue, getter_AddRefs(treeGrandchild))))