Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley

This commit is contained in:
Ms2ger 2011-12-11 21:03:49 +01:00
parent b18d1021ca
commit f324e3870a
2 changed files with 2 additions and 14 deletions

View File

@ -319,16 +319,6 @@ nsHTMLEditUtils::IsPre(nsIDOMNode *node)
}
///////////////////////////////////////////////////////////////////////////
// IsAddress: true if node an html address node
//
bool
nsHTMLEditUtils::IsAddress(nsIDOMNode *node)
{
return nsEditor::NodeIsType(node, nsEditProperty::address);
}
///////////////////////////////////////////////////////////////////////////
// IsImage: true if node an html image node
//

View File

@ -38,9 +38,8 @@
#ifndef nsHTMLEditUtils_h__
#define nsHTMLEditUtils_h__
#include "prtypes.h" // for bool
#include "nsError.h" // for nsresult
class nsIEditor;
#include "prtypes.h" // for PRInt32
class nsIDOMNode;
class nsHTMLEditUtils
@ -69,7 +68,6 @@ public:
static bool IsUnorderedList(nsIDOMNode *aNode);
static bool IsBlockquote(nsIDOMNode *aNode);
static bool IsPre(nsIDOMNode *aNode);
static bool IsAddress(nsIDOMNode *aNode);
static bool IsAnchor(nsIDOMNode *aNode);
static bool IsImage(nsIDOMNode *aNode);
static bool IsLink(nsIDOMNode *aNode);