summaryrefslogtreecommitdiffstats
path: root/mailnews/imap
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 20:14:13 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 20:14:13 -0500
commita2a658f885ea5cca042709f5a53224dbe57fb478 (patch)
tree014221ae0a8cc6e9b81d4f8ecc48da984e6aedc6 /mailnews/imap
parent713dca2fd8c13e9d417adc7f56ea3b2b54e6d54e (diff)
downloadUXP-a2a658f885ea5cca042709f5a53224dbe57fb478.tar
UXP-a2a658f885ea5cca042709f5a53224dbe57fb478.tar.gz
UXP-a2a658f885ea5cca042709f5a53224dbe57fb478.tar.lz
UXP-a2a658f885ea5cca042709f5a53224dbe57fb478.tar.xz
UXP-a2a658f885ea5cca042709f5a53224dbe57fb478.zip
Bug 1416033 - remove some unneeded includes in mailnews
Tag #1273
Diffstat (limited to 'mailnews/imap')
-rw-r--r--mailnews/imap/src/nsIMAPNamespace.cpp1
-rw-r--r--mailnews/imap/src/nsImapMailFolder.cpp2
-rw-r--r--mailnews/imap/src/nsImapOfflineSync.cpp2
-rw-r--r--mailnews/imap/src/nsImapProtocol.cpp2
-rw-r--r--mailnews/imap/src/nsImapUrl.cpp2
5 files changed, 1 insertions, 8 deletions
diff --git a/mailnews/imap/src/nsIMAPNamespace.cpp b/mailnews/imap/src/nsIMAPNamespace.cpp
index d46352373..2cba54016 100644
--- a/mailnews/imap/src/nsIMAPNamespace.cpp
+++ b/mailnews/imap/src/nsIMAPNamespace.cpp
@@ -12,6 +12,7 @@
#include "nsImapUrl.h"
#include "nsStringGlue.h"
#include "nsServiceManagerUtils.h"
+#include <algorithm>
//////////////////// nsIMAPNamespace /////////////////////////////////////////////////////////////
diff --git a/mailnews/imap/src/nsImapMailFolder.cpp b/mailnews/imap/src/nsImapMailFolder.cpp
index 4ed12a026..df222cb85 100644
--- a/mailnews/imap/src/nsImapMailFolder.cpp
+++ b/mailnews/imap/src/nsImapMailFolder.cpp
@@ -90,9 +90,7 @@
#include "nsMsgReadStateTxn.h"
#include "nsIStringEnumerator.h"
#include "nsIMsgStatusFeedback.h"
-#include "nsAlgorithm.h"
#include "nsMsgLineBuffer.h"
-#include <algorithm>
#include "mozilla/Logging.h"
#include "mozilla/Attributes.h"
#include "nsStringStream.h"
diff --git a/mailnews/imap/src/nsImapOfflineSync.cpp b/mailnews/imap/src/nsImapOfflineSync.cpp
index df31bd299..2d86ce1b5 100644
--- a/mailnews/imap/src/nsImapOfflineSync.cpp
+++ b/mailnews/imap/src/nsImapOfflineSync.cpp
@@ -23,9 +23,7 @@
#include "nsMsgUtils.h"
#include "nsIMutableArray.h"
#include "nsIAutoSyncManager.h"
-#include "nsAlgorithm.h"
#include "nsArrayUtils.h"
-#include <algorithm>
static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp
index b671574ac..9114a28f2 100644
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -38,7 +38,6 @@
#include "nsTextFormatter.h"
#include "nsIMsgHdr.h"
#include "nsMsgI18N.h"
-#include <algorithm>
// for the memory cache...
#include "nsICacheEntry.h"
#include "nsICacheStorage.h"
@@ -75,7 +74,6 @@ PRLogModuleInfo *IMAP;
#include "nsDebug.h"
#include "nsMsgCompressIStream.h"
#include "nsMsgCompressOStream.h"
-#include "nsAlgorithm.h"
#include "mozilla/Logging.h"
#include "mozilla/Attributes.h"
#include "nsIPrincipal.h"
diff --git a/mailnews/imap/src/nsImapUrl.cpp b/mailnews/imap/src/nsImapUrl.cpp
index d76437905..8fd9f2f65 100644
--- a/mailnews/imap/src/nsImapUrl.cpp
+++ b/mailnews/imap/src/nsImapUrl.cpp
@@ -28,9 +28,7 @@
#include "nsMsgUtils.h"
#include "nsIMsgHdr.h"
#include "nsIProgressEventSink.h"
-#include "nsAlgorithm.h"
#include "nsServiceManagerUtils.h"
-#include <algorithm>
using namespace mozilla;