other file I missed - use NS_LITERAL_STRING instead of char* because API changed

This commit is contained in:
alecf%netscape.com 2001-09-26 01:14:37 +00:00
parent ef91a55dd7
commit 3c04d06ce2
2 changed files with 2 additions and 2 deletions

View File

@ -10093,7 +10093,7 @@ GetAlternateTextFor(nsIContent* aContent,
// for "Submit" as the alternate text.
if (NS_CONTENT_ATTR_NOT_THERE == rv) {
nsFormControlHelper::GetLocalizedString(nsFormControlHelper::GetHTMLPropertiesFileName(),
"Submit", aAltText);
NS_LITERAL_STRING("Submit").get(), aAltText);
}
}
}

View File

@ -10093,7 +10093,7 @@ GetAlternateTextFor(nsIContent* aContent,
// for "Submit" as the alternate text.
if (NS_CONTENT_ATTR_NOT_THERE == rv) {
nsFormControlHelper::GetLocalizedString(nsFormControlHelper::GetHTMLPropertiesFileName(),
"Submit", aAltText);
NS_LITERAL_STRING("Submit").get(), aAltText);
}
}
}