diff --git a/mailnews/base/search/src/nsMsgImapSearch.cpp b/mailnews/base/search/src/nsMsgImapSearch.cpp index e3ded1ca7a1a..bd92d0e57eb2 100644 --- a/mailnews/base/search/src/nsMsgImapSearch.cpp +++ b/mailnews/base/search/src/nsMsgImapSearch.cpp @@ -64,8 +64,8 @@ nsresult nsMsgSearchOnlineMail::ValidateTerms () { // ### mwelch Figure out the charsets to use // for the search terms and targets. - nsString srcCharset, dstCharset; - GetSearchCharsets(srcCharset, dstCharset); + nsXPIDLString srcCharset, dstCharset; + GetSearchCharsets(getter_Copies(srcCharset), getter_Copies(dstCharset)); // do IMAP specific validation err = Encode (m_encoding, m_searchTerms, dstCharset.get()); @@ -107,7 +107,6 @@ nsresult nsMsgSearchOnlineMail::Search (PRBool *aDone) return err; } - nsresult nsMsgSearchOnlineMail::Encode (nsCString& pEncoding, nsISupportsArray *searchTerms, const PRUnichar *destCharset)