Bug 1860334 - Follow-up: C++ format. r=rjl DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D218545

--HG--
extra : amend_source : a90fc9cb4acf3d6497184e3c976e289152db4adb
This commit is contained in:
Brendan Abolivier 2024-08-05 17:12:54 +01:00
Родитель 1a96a61526
Коммит f58877b934
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -213,10 +213,8 @@ NS_IMETHODIMP EwsMessageChannel::AsyncOpen(nsIStreamListener* aListener) {
// the value returned by an incoming server's `GetType()` method. In our case,
// that should be `ews`.
nsCOMPtr<nsIURI> serverUri;
rv = NS_MutateURI(m_uri)
.SetScheme("ews"_ns)
.SetPathQueryRef(ewsId)
.Finalize(serverUri);
rv = NS_MutateURI(m_uri).SetScheme("ews"_ns).SetPathQueryRef(ewsId).Finalize(
serverUri);
nsCOMPtr<nsIMsgIncomingServer> server;
rv = accountManager->FindServerByURI(serverUri, getter_AddRefs(server));

Просмотреть файл

@ -160,10 +160,8 @@ nsresult EwsService::MsgHdrFromUri(nsIURI* uri, nsIMsgDBHdr** _retval) {
// must match one it has in its database. Folders are created with an `ews`
// scheme, and we need to remove the message key from the ref.
RefPtr<nsIURI> folderUri;
rv = NS_MutateURI(uri)
.SetScheme("ews"_ns)
.SetRef(""_ns)
.Finalize(getter_AddRefs(folderUri));
rv = NS_MutateURI(uri).SetScheme("ews"_ns).SetRef(""_ns).Finalize(
getter_AddRefs(folderUri));
NS_ENSURE_SUCCESS(rv, rv);
nsCString folderSpec;