bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj

This commit is contained in:
Trevor Saunders
2013-12-12 20:50:01 -05:00
parent 30437318d7
commit b4ae5fdd96
97 changed files with 284 additions and 284 deletions

View File

@@ -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);