From a3f647e9b1602bf08127cc6f367a08efa11c92eb Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Fri, 31 Aug 2001 23:31:31 +0000 Subject: [PATCH] Fixing bug 96489. tablerow.insertCell() not returning cell object, patch by Fabian , r=peterv@netscape.com, sr=jst@netscape.com, a=blizzard@mozilla.org --- content/html/content/src/nsHTMLTableRowElement.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/html/content/src/nsHTMLTableRowElement.cpp b/content/html/content/src/nsHTMLTableRowElement.cpp index b89f83e7beb8..3ba800746132 100644 --- a/content/html/content/src/nsHTMLTableRowElement.cpp +++ b/content/html/content/src/nsHTMLTableRowElement.cpp @@ -454,8 +454,6 @@ nsHTMLTableRowElement::InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aValue) cells->Item(refIndex, getter_AddRefs(refCell)); - nsCOMPtr retChild; - rv = InsertBefore(cellNode, refCell, getter_AddRefs(retChild)); } else { rv = AppendChild(cellNode, getter_AddRefs(retChild));