Bustage fix.

This commit is contained in:
peterv%propagandism.org 2006-09-05 10:52:18 +00:00
parent 64ec124ee5
commit 6d09123c2b

View File

@ -407,7 +407,7 @@ nsNodeUtils::CloneAndAdopt(nsINode *aNode, PRBool aClone, PRBool aDeep,
if (aNode->IsNodeOfType(nsINode::eELEMENT)) {
// aNode's attributes.
nsGenericElement *elem = NS_STATIC_CAST(const nsGenericElement*, aNode);
nsGenericElement *elem = NS_STATIC_CAST(nsGenericElement*, aNode);
const nsDOMAttributeMap *map = elem->GetAttributeMap();
if (map) {
nsCOMPtr<nsIDOMElement> element;