From 86daa4e348e2f994491ecec19bdf3296b3abf799 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Sat, 4 Dec 1999 03:32:33 +0000 Subject: [PATCH] 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 --- mozilla/editor/base/EditTable.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/editor/base/EditTable.cpp b/mozilla/editor/base/EditTable.cpp index b9498bc8eef..af9dc6c4337 100644 --- a/mozilla/editor/base/EditTable.cpp +++ b/mozilla/editor/base/EditTable.cpp @@ -100,7 +100,9 @@ PRBool nsHTMLEditor::IsOnlyRowInTable(nsCOMPtr &aRow, nsCOMPtr resultNode; // Scan through all nodes starting at the row we are interested in - nsresult res = GetNextNode(aTable, PR_TRUE, getter_AddRefs(resultNode)); + + nsCOMPtr 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