Bug 336081, Crash [@ nsHTMLEditRules::WillOutdent], r=neil, sr=peterv

This commit is contained in:
Olli.Pettay@helsinki.fi 2007-06-26 01:52:03 -07:00
parent c9d4ef4c68
commit 0c09568074

View File

@ -3915,6 +3915,9 @@ nsHTMLEditRules::WillOutdent(nsISelection *aSelection, PRBool *aCancel, PRBool *
(nsHTMLEditUtils::IsTable(n) || !nsHTMLEditUtils::IsTableElement(n)))
{
n->GetParentNode(getter_AddRefs(tmp));
if (!tmp) {
break;
}
n = tmp;
if (nsHTMLEditUtils::IsBlockquote(n))
{