diff --git a/editor/libeditor/html/nsWSRunObject.cpp b/editor/libeditor/html/nsWSRunObject.cpp
index 2d3c3c267d74..66eff30f3b85 100644
--- a/editor/libeditor/html/nsWSRunObject.cpp
+++ b/editor/libeditor/html/nsWSRunObject.cpp
@@ -60,11 +60,6 @@ static PRBool IsBlockNode(nsIDOMNode* node)
return isBlock;
}
-static PRBool IsInlineNode(nsIDOMNode* node)
-{
- return !IsBlockNode(node);
-}
-
//- constructor / destructor -----------------------------------------------
nsWSRunObject::nsWSRunObject(nsHTMLEditor *aEd, nsIDOMNode *aNode, PRInt32 aOffset) :
mNode(aNode)