Bug 1440693 - Follow-up: fix compile errors on Windows (take 4). rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Tue, 06 Mar 2018 01:19:37 +0100
changeset 31231 715910aab7dfd57ca8c65521fac3ee7f70bae0a0
parent 31230 8e0def3875f3a1b97435826086636a2c2da17e30
child 31232 fa9449081261b554ae518d652b0948bf6b6d7d1c
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersbustage-fix
bugs1440693
Bug 1440693 - Follow-up: fix compile errors on Windows (take 4). rs=bustage-fix
mailnews/base/util/nsMsgMailNewsUrl.cpp
--- a/mailnews/base/util/nsMsgMailNewsUrl.cpp
+++ b/mailnews/base/util/nsMsgMailNewsUrl.cpp
@@ -506,17 +506,17 @@ NS_IMETHODIMP nsMsgMailNewsUrl::GetPort(
   return m_baseURL->GetPort(aPort);
 }
 
 nsresult nsMsgMailNewsUrl::SetPort(int32_t aPort)
 {
   return NS_MutateURI(m_baseURL).SetPort(aPort).Finalize(m_baseURL);
 }
 
-NS_IMETHODIMP nsMsgMailNewsUrl::SetPortInternal(int32_t aPort)
+nsresult nsMsgMailNewsUrl::SetPortInternal(int32_t aPort)
 {
   return NS_MutateURI(m_baseURL).SetPort(aPort).Finalize(m_baseURL);
 }
 
 NS_IMETHODIMP nsMsgMailNewsUrl::GetPathQueryRef(nsACString &aPath)
 {
   return m_baseURL->GetPathQueryRef(aPath);
 }
@@ -746,17 +746,17 @@ NS_IMETHODIMP nsMsgMailNewsUrl::GetQuery
   return m_baseURL->GetQuery(aQuery);
 }
 
 nsresult nsMsgMailNewsUrl::SetQuery(const nsACString &aQuery)
 {
   return NS_MutateURI(m_baseURL).SetQuery(aQuery).Finalize(m_baseURL);
 }
 
-NS_IMETHODIMP nsMsgMailNewsUrl::SetQueryInternal(const nsACString &aQuery)
+nsresult nsMsgMailNewsUrl::SetQueryInternal(const nsACString &aQuery)
 {
   return NS_MutateURI(m_baseURL).SetQuery(aQuery).Finalize(m_baseURL);
 }
 
 nsresult nsMsgMailNewsUrl::SetQueryWithEncoding(const nsACString &aQuery, const mozilla::Encoding* aEncoding)
 {
   return NS_MutateURI(m_baseURL).SetQueryWithEncoding(aQuery, aEncoding).Finalize(m_baseURL);
 }