diff --git a/mozilla/editor/base/EditTable.cpp b/mozilla/editor/base/EditTable.cpp index 93daa5e3e26..b9498bc8eef 100644 --- a/mozilla/editor/base/EditTable.cpp +++ b/mozilla/editor/base/EditTable.cpp @@ -45,10 +45,13 @@ static NS_DEFINE_CID(kCContentIteratorCID, NS_CONTENTITERATOR_CID); PRBool nsHTMLEditor::IsOnlyCellInRow(nsCOMPtr &aCell, nsIDOMElement** aParentRow) { + return PR_FALSE; +#if 0 if (!aParentRow) return NS_ERROR_NULL_POINTER; PRBool oneCellFound = PR_FALSE; - nsresult res = GetElementOrParentByTagName("tr", aCell, aParentRow); + nsCOMPtr cell = aCell; + nsresult res = GetElementOrParentByTagName("tr", cell, aParentRow); if (NS_SUCCEEDED(res) && aParentRow) { PRBool done = PR_FALSE; @@ -86,6 +89,7 @@ PRBool nsHTMLEditor::IsOnlyCellInRow(nsCOMPtr &aCell, nsIDOMEleme //NS_ASSERTION(oneCellFound, "Cell Not Found!"); } return oneCellFound; +#endif } PRBool nsHTMLEditor::IsOnlyRowInTable(nsCOMPtr &aRow, nsCOMPtr &aTable)