This commit is contained in:
mozeditor%floppymoose.com 2003-10-09 22:07:48 +00:00
Родитель 9f3e1fad79
Коммит 0231ae7e05
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -121,7 +121,7 @@ class nsTableCellAndListItemFunctor : public nsBoolDomIterFunctor
class nsBRNodeFunctor : public nsBoolDomIterFunctor
{
public:
virtual PRBool operator()(nsIDOMNode* aNode) // used to build list of all td's & th's iterator covers
virtual PRBool operator()(nsIDOMNode* aNode)
{
if (nsTextEditUtils::IsBreak(aNode)) return PR_TRUE;
return PR_FALSE;
@ -132,7 +132,7 @@ class nsEmptyFunctor : public nsBoolDomIterFunctor
{
public:
nsEmptyFunctor(nsHTMLEditor* editor) : mHTMLEditor(editor) {}
virtual PRBool operator()(nsIDOMNode* aNode) // used to build list of empty li's and td's
virtual PRBool operator()(nsIDOMNode* aNode)
{
if (nsHTMLEditUtils::IsListItem(aNode) || nsHTMLEditUtils::IsTableCellOrCaption(aNode))
{
@ -152,7 +152,7 @@ class nsEditableTextFunctor : public nsBoolDomIterFunctor
{
public:
nsEditableTextFunctor(nsHTMLEditor* editor) : mHTMLEditor(editor) {}
virtual PRBool operator()(nsIDOMNode* aNode) // used to build list of empty li's and td's
virtual PRBool operator()(nsIDOMNode* aNode)
{
if (nsEditor::IsTextNode(aNode) && mHTMLEditor->IsEditable(aNode))
{