Bug 137780 lots of warnings about unhandled enum and a complaint about

using an unscoped nsCOMPtr in a switch
r=dbradley sr=jst
This commit is contained in:
timeless%mac.com 2002-04-16 18:09:53 +00:00
Родитель 9b3546a69f
Коммит 3fa15ed85d
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1899,6 +1899,7 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
content->DoneCreatingElement();
break;
case eHTMLTag_textarea:
{
// XXX textarea deserves to be treated like the container it is.
nsCOMPtr<nsITextAreaElement> textarea(do_QueryInterface(content));
if (textarea) {
@ -1906,6 +1907,9 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
}
break;
}
default:
break;
}
NS_RELEASE(content);
}
@ -1936,7 +1940,7 @@ SinkContext::AddLeaf(const nsIParserNode& aNode)
}
break;
case eToken_skippedcontent:
default:
break;
}