Adding temporary per cmanske's last fix, fixes linux bustage.

git-svn-id: svn://10.0.0.236/trunk@55273 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com 1999-12-04 03:32:33 +00:00
parent c5f151e490
commit 86daa4e348

View File

@ -100,7 +100,9 @@ PRBool nsHTMLEditor::IsOnlyRowInTable(nsCOMPtr<nsIDOMElement> &aRow, nsCOMPtr<ns
do {
nsCOMPtr<nsIDOMNode> resultNode;
// Scan through all nodes starting at the row we are interested in
nsresult res = GetNextNode(aTable, PR_TRUE, getter_AddRefs(resultNode));
nsCOMPtr<nsIDOMElement> tmpTable = aTable;
nsresult res = GetNextNode(tmpTable, PR_TRUE, getter_AddRefs(resultNode));
if (NS_SUCCEEDED(res))
{
//Test if it's a row and parent is same as table we are in