Bug 311827: Make GetAttr return a bool rather then an nsresult.

r/sr=bz
This commit is contained in:
cvshook@sicking.cc
2005-10-28 11:25:24 +00:00
parent ff48aa7d39
commit 77710748bc
115 changed files with 888 additions and 1470 deletions
+6 -2
View File
@@ -195,13 +195,17 @@ nsHTMLButtonControlFrame::GetFormControlType() const
NS_IMETHODIMP
nsHTMLButtonControlFrame::GetName(nsAString* aResult)
{
return nsFormControlHelper::GetName(mContent, aResult);
nsFormControlHelper::GetName(mContent, aResult);
return NS_OK;
}
NS_IMETHODIMP
nsHTMLButtonControlFrame::GetValue(nsAString* aResult)
{
return nsFormControlHelper::GetValueAttr(mContent, aResult);
nsFormControlHelper::GetValueAttr(mContent, aResult);
return NS_OK;
}
void