This commit is contained in:
pollmann%netscape.com 2001-04-11 07:39:48 +00:00
Родитель 11c364d141
Коммит 7525d6e00f
2 изменённых файлов: 8 добавлений и 4 удалений

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

@ -120,9 +120,10 @@ nsIsIndexFrame::Paint(nsIPresContext* aPresContext,
NS_IMETHODIMP
nsIsIndexFrame::UpdatePromptLabel()
{
nsresult result;
if (!mTextContent) return NS_ERROR_UNEXPECTED;
nsresult result = NS_OK;
// Get the text from the "prompt" attribute.
// If it is zero length, set it to a default value (localized)
nsAutoString prompt;
@ -370,11 +371,12 @@ nsIsIndexFrame::GetFrameName(nsString& aResult) const
NS_IMETHODIMP
nsIsIndexFrame::OnSubmit(nsIPresContext* aPresContext)
{
nsresult result;
if (!mContent || !mInputContent) {
return NS_ERROR_UNEXPECTED;
}
nsresult result = NS_OK;
// Begin ProcessAsURLEncoded
nsAutoString data;

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

@ -120,9 +120,10 @@ nsIsIndexFrame::Paint(nsIPresContext* aPresContext,
NS_IMETHODIMP
nsIsIndexFrame::UpdatePromptLabel()
{
nsresult result;
if (!mTextContent) return NS_ERROR_UNEXPECTED;
nsresult result = NS_OK;
// Get the text from the "prompt" attribute.
// If it is zero length, set it to a default value (localized)
nsAutoString prompt;
@ -370,11 +371,12 @@ nsIsIndexFrame::GetFrameName(nsString& aResult) const
NS_IMETHODIMP
nsIsIndexFrame::OnSubmit(nsIPresContext* aPresContext)
{
nsresult result;
if (!mContent || !mInputContent) {
return NS_ERROR_UNEXPECTED;
}
nsresult result = NS_OK;
// Begin ProcessAsURLEncoded
nsAutoString data;