Bug 1410850 - Port bug 1410288 to mailnews: Convert wstring attributes to AString in nsIPrintProgressParams.idl. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Mon, 23 Oct 2017 13:39:27 +0200
changeset 29240 d09475dacd052181deeb6a8364807293ed9d938d
parent 29239 f7bc37df4a48341f43c25c8a70a7ffc79eb6ac71
child 29241 4fd348dc8b0c427e538ce1411df0a4b240c8760e
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1410850, 1410288
Bug 1410850 - Port bug 1410288 to mailnews: Convert wstring attributes to AString in nsIPrintProgressParams.idl. rs=bustage-fix
mailnews/base/src/nsMsgPrintEngine.cpp
--- a/mailnews/base/src/nsMsgPrintEngine.cpp
+++ b/mailnews/base/src/nsMsgPrintEngine.cpp
@@ -374,17 +374,17 @@ nsMsgPrintEngine::ShowProgressDialog(boo
         {
           nsString msg;
           if (mIsDoingPrintPreview) {
             GetString(u"LoadingMailMsgForPrintPreview", msg);
           } else {
             GetString(u"LoadingMailMsgForPrint", msg);
           }
           if (!msg.IsEmpty())
-            mPrintProgressParams->SetDocTitle(msg.get());
+            mPrintProgressParams->SetDocTitle(msg);
         }
       }
     }
   }
   return rv;
 }