From ff9f28473b192ca452e342886eeb53e648501953 Mon Sep 17 00:00:00 2001 From: "cvshook%sicking.cc" Date: Mon, 7 Nov 2005 19:03:54 +0000 Subject: [PATCH] Followup patch for bug 311827. nsIContent::GetAttr now returns a bool. r/sr=bz --- content/xul/templates/src/nsXULContentUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/xul/templates/src/nsXULContentUtils.cpp b/content/xul/templates/src/nsXULContentUtils.cpp index a8a2a321e70..c00f52d486f 100644 --- a/content/xul/templates/src/nsXULContentUtils.cpp +++ b/content/xul/templates/src/nsXULContentUtils.cpp @@ -226,7 +226,7 @@ nsXULContentUtils::GetElementRefResource(nsIContent* aElement, nsIRDFResource** PRUnichar buf[128]; nsFixedString uri(buf, NS_ARRAY_LENGTH(buf), 0); - rv = aElement->GetAttr(kNameSpaceID_None, nsXULAtoms::ref, uri); + aElement->GetAttr(kNameSpaceID_None, nsXULAtoms::ref, uri); if (!uri.IsEmpty()) { // We'll use rdf_MakeAbsolute() to translate this to a URL. nsCOMPtr doc = aElement->GetDocument();