From 3c04d06ce27630c658c5990fcabf8b67276fb07a Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 26 Sep 2001 01:14:37 +0000 Subject: [PATCH] other file I missed - use NS_LITERAL_STRING instead of char* because API changed --- layout/base/nsCSSFrameConstructor.cpp | 2 +- layout/html/style/src/nsCSSFrameConstructor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index af23cd5cef0d..2abdbbd1f20b 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -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); } } } diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index af23cd5cef0d..2abdbbd1f20b 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -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); } } }