Bug 1408214 - Port 1407103 to mailnews: Convert wstring attributes to AString in widget/nsIPrint*.idl. rs=bustage-fix
--- a/mailnews/base/src/nsMsgPrintEngine.cpp
+++ b/mailnews/base/src/nsMsgPrintEngine.cpp
@@ -592,17 +592,17 @@ nsMsgPrintEngine::PrintMsgWindow()
mWebBrowserPrint->GetGlobalPrintSettings(getter_AddRefs(mPrintSettings));
}
// fix for bug #118887 and bug #176016
// don't show the actual url when printing mail messages or addressbook cards.
// for mail, it can review the salt. for addrbook, it's a data:// url, which
// means nothing to the end user.
// needs to be " " and not "" or nullptr, otherwise, we'll still print the url
- mPrintSettings->SetDocURL(u" ");
+ mPrintSettings->SetDocURL(NS_LITERAL_STRING(" "));
nsresult rv = NS_ERROR_FAILURE;
if (mIsDoingPrintPreview)
{
if (mStartupPPObs) {
rv = mStartupPPObs->Observe(nullptr, nullptr, nullptr);
}
}