Final patch for bug 379070 Remove nsXPIDLCString / nsXPIDLString from mailnews, remove last instance. r/sr=Neil
authorMark Banner <bugzilla@standard8.plus.com>
Tue, 04 Nov 2008 15:59:59 +0000
changeset 815 ebd4a4b58b2e9be17903cd200749c470cb8f496a
parent 814 8c591aa8bc9d4db571a72f3d01f7d414c45263d8
child 816 13d566bc917639757cf5df84f9e71d406ebae39f
push idunknown
push userunknown
push dateunknown
bugs379070
Final patch for bug 379070 Remove nsXPIDLCString / nsXPIDLString from mailnews, remove last instance. r/sr=Neil
mailnews/base/src/nsMessengerBootstrap.cpp
--- a/mailnews/base/src/nsMessengerBootstrap.cpp
+++ b/mailnews/base/src/nsMessengerBootstrap.cpp
@@ -291,17 +291,17 @@ NS_IMETHODIMP nsMessengerBootstrap::Open
   // create scriptable versions of our strings that we can store in our nsISupportsArray....
   if (aFolderURI)
   {
     if (standAloneMsgWindow)
     {
       nsCOMPtr <nsIMsgFolder> folder;
       rv = GetExistingFolder(nsDependentCString(aFolderURI), getter_AddRefs(folder));
       NS_ENSURE_SUCCESS(rv, rv);
-      nsXPIDLCString msgUri;
+      nsCAutoString msgUri;
       folder->GetBaseMessageURI(msgUri);
 
       nsCOMPtr<nsISupportsCString> scriptableMsgURI (do_CreateInstance(NS_SUPPORTS_CSTRING_CONTRACTID));
       NS_ENSURE_TRUE(scriptableMsgURI, NS_ERROR_FAILURE);
       msgUri.Append('#');
       msgUri.AppendInt(aMessageKey, 10);
       scriptableMsgURI->SetData(msgUri);
       argsArray->AppendElement(scriptableMsgURI);