mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley
This commit is contained in:
parent
b18d1021ca
commit
f324e3870a
@ -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
|
||||
//
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user