From c5f151e490e54374671e64dd43591058e2d763ef Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Sat, 4 Dec 1999 03:21:12 +0000 Subject: [PATCH] Fixing build bustage git-svn-id: svn://10.0.0.236/trunk@55272 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/base/EditTable.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)