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

r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cvshook%sicking.cc
2005-10-28 11:25:24 +00:00
parent 2d2caede4d
commit b26f9f52fb
117 changed files with 894 additions and 1478 deletions

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