bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
This commit is contained in:
@@ -31,7 +31,7 @@ nsHtml5PlainTextUtils::NewLinkAttributes()
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv) && bundle, "chrome://global/locale/browser.properties could not be loaded");
|
||||
nsXPIDLString title;
|
||||
if (bundle) {
|
||||
bundle->GetStringFromName(NS_LITERAL_STRING("plainText.wordWrap").get(), getter_Copies(title));
|
||||
bundle->GetStringFromName(MOZ_UTF16("plainText.wordWrap"), getter_Copies(title));
|
||||
}
|
||||
|
||||
nsString* titleCopy = new nsString(title);
|
||||
|
||||
Reference in New Issue
Block a user