From bb2bd2a10895f72d3aa8dfe577de24b843b63820 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Wed, 10 Mar 1999 19:51:07 +0000 Subject: [PATCH] mNewNode is a DOM Node, not a DOM Element --- editor/base/CreateElementTxn.h | 3 +-- editor/libeditor/base/CreateElementTxn.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/editor/base/CreateElementTxn.h b/editor/base/CreateElementTxn.h index 7e4f8cafb75..e19a3fe5654 100644 --- a/editor/base/CreateElementTxn.h +++ b/editor/base/CreateElementTxn.h @@ -22,7 +22,6 @@ #include "EditTxn.h" #include "nsIEditor.h" #include "nsIDOMNode.h" -#include "nsIDOMElement.h" #include "nsCOMPtr.h" #define CREATE_ELEMENT_TXN_IID \ @@ -89,7 +88,7 @@ protected: PRUint32 mOffsetInParent; /** the new node to insert */ - nsCOMPtr mNewNode; + nsCOMPtr mNewNode; /** the node we will insert mNewNode before. We compute this ourselves. */ nsCOMPtr mRefNode; diff --git a/editor/libeditor/base/CreateElementTxn.h b/editor/libeditor/base/CreateElementTxn.h index 7e4f8cafb75..e19a3fe5654 100644 --- a/editor/libeditor/base/CreateElementTxn.h +++ b/editor/libeditor/base/CreateElementTxn.h @@ -22,7 +22,6 @@ #include "EditTxn.h" #include "nsIEditor.h" #include "nsIDOMNode.h" -#include "nsIDOMElement.h" #include "nsCOMPtr.h" #define CREATE_ELEMENT_TXN_IID \ @@ -89,7 +88,7 @@ protected: PRUint32 mOffsetInParent; /** the new node to insert */ - nsCOMPtr mNewNode; + nsCOMPtr mNewNode; /** the node we will insert mNewNode before. We compute this ourselves. */ nsCOMPtr mRefNode;