summaryrefslogtreecommitdiffstats
path: root/mailnews/base
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/base
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/base')
-rw-r--r--mailnews/base/src/nsMsgAccountManager.cpp1
-rw-r--r--mailnews/base/src/nsMsgBiffManager.cpp1
-rw-r--r--mailnews/base/src/nsMsgDBView.cpp2
-rw-r--r--mailnews/base/src/nsMsgFolderCompactor.cpp1
-rw-r--r--mailnews/base/util/nsMsgCompressIStream.cpp1
-rw-r--r--mailnews/base/util/nsMsgDBFolder.cpp1
-rw-r--r--mailnews/base/util/nsMsgLineBuffer.cpp2
-rw-r--r--mailnews/base/util/nsMsgMailNewsUrl.cpp1
-rw-r--r--mailnews/base/util/nsMsgProtocol.cpp2
9 files changed, 0 insertions, 12 deletions
diff --git a/mailnews/base/src/nsMsgAccountManager.cpp b/mailnews/base/src/nsMsgAccountManager.cpp
index 5dd3893b6..9dd73d6f9 100644
--- a/mailnews/base/src/nsMsgAccountManager.cpp
+++ b/mailnews/base/src/nsMsgAccountManager.cpp
@@ -71,7 +71,6 @@
#include "nsIMsgFilterList.h"
#include "nsDirectoryServiceUtils.h"
#include "mozilla/Services.h"
-#include <algorithm>
#include "nsIFileStreams.h"
#include "nsIOutputStream.h"
#include "nsISafeOutputStream.h"
diff --git a/mailnews/base/src/nsMsgBiffManager.cpp b/mailnews/base/src/nsMsgBiffManager.cpp
index 360600147..d0fc8aba4 100644
--- a/mailnews/base/src/nsMsgBiffManager.cpp
+++ b/mailnews/base/src/nsMsgBiffManager.cpp
@@ -17,7 +17,6 @@
#include "nsServiceManagerUtils.h"
#include "nsMsgUtils.h"
#include "mozilla/Services.h"
-#include <algorithm>
#define PREF_BIFF_JITTER "mail.biff.add_interval_jitter"
diff --git a/mailnews/base/src/nsMsgDBView.cpp b/mailnews/base/src/nsMsgDBView.cpp
index f7856dd4d..baad45ef5 100644
--- a/mailnews/base/src/nsMsgDBView.cpp
+++ b/mailnews/base/src/nsMsgDBView.cpp
@@ -43,7 +43,6 @@
#include "nsServiceManagerUtils.h"
#include "nsComponentManagerUtils.h"
#include "nsMemory.h"
-#include "nsAlgorithm.h"
#include "nsIAbManager.h"
#include "nsIAbDirectory.h"
#include "nsIAbCard.h"
@@ -51,7 +50,6 @@
#include "mozilla/Attributes.h"
#include "mozilla/mailnews/MimeHeaderParser.h"
#include "nsTArray.h"
-#include <algorithm>
using namespace mozilla::mailnews;
nsrefcnt nsMsgDBView::gInstanceCount = 0;
diff --git a/mailnews/base/src/nsMsgFolderCompactor.cpp b/mailnews/base/src/nsMsgFolderCompactor.cpp
index 5224aef51..c20d54b0f 100644
--- a/mailnews/base/src/nsMsgFolderCompactor.cpp
+++ b/mailnews/base/src/nsMsgFolderCompactor.cpp
@@ -33,7 +33,6 @@
#include "nsIMsgFolderNotificationService.h"
#include "nsIMsgPluggableStore.h"
#include "nsMsgFolderCompactor.h"
-#include <algorithm>
#include "nsIOutputStream.h"
#include "nsIInputStream.h"
#include "nsPrintfCString.h"
diff --git a/mailnews/base/util/nsMsgCompressIStream.cpp b/mailnews/base/util/nsMsgCompressIStream.cpp
index 5b47422f2..b2a7013cf 100644
--- a/mailnews/base/util/nsMsgCompressIStream.cpp
+++ b/mailnews/base/util/nsMsgCompressIStream.cpp
@@ -5,7 +5,6 @@
#include "nsMsgCompressIStream.h"
#include "prio.h"
#include "prmem.h"
-#include "nsAlgorithm.h"
#include <algorithm>
#define BUFFER_SIZE 16384
diff --git a/mailnews/base/util/nsMsgDBFolder.cpp b/mailnews/base/util/nsMsgDBFolder.cpp
index 3a1a571e2..81790c69a 100644
--- a/mailnews/base/util/nsMsgDBFolder.cpp
+++ b/mailnews/base/util/nsMsgDBFolder.cpp
@@ -63,7 +63,6 @@
#include "nsIPK11TokenDB.h"
#include "nsIPK11Token.h"
#include "nsMsgLocalFolderHdrs.h"
-#include <algorithm>
#define oneHour 3600000000U
#include "nsMsgUtils.h"
#include "nsIMsgFilterService.h"
diff --git a/mailnews/base/util/nsMsgLineBuffer.cpp b/mailnews/base/util/nsMsgLineBuffer.cpp
index 0a88cd840..56f8a9504 100644
--- a/mailnews/base/util/nsMsgLineBuffer.cpp
+++ b/mailnews/base/util/nsMsgLineBuffer.cpp
@@ -7,10 +7,8 @@
#include "prlog.h"
#include "prmem.h"
#include "nsMsgLineBuffer.h"
-#include "nsAlgorithm.h"
#include "nsMsgUtils.h"
#include "nsIInputStream.h" // used by nsMsgLineStreamBuffer
-#include <algorithm>
nsByteArray::nsByteArray()
{
diff --git a/mailnews/base/util/nsMsgMailNewsUrl.cpp b/mailnews/base/util/nsMsgMailNewsUrl.cpp
index 17f95fc30..2c80cb692 100644
--- a/mailnews/base/util/nsMsgMailNewsUrl.cpp
+++ b/mailnews/base/util/nsMsgMailNewsUrl.cpp
@@ -25,7 +25,6 @@
#include <time.h>
#include "nsMsgUtils.h"
#include "mozilla/Services.h"
-#include <algorithm>
#include "nsProxyRelease.h"
#include "mozilla/BasePrincipal.h"
diff --git a/mailnews/base/util/nsMsgProtocol.cpp b/mailnews/base/util/nsMsgProtocol.cpp
index f2190cb45..c86995189 100644
--- a/mailnews/base/util/nsMsgProtocol.cpp
+++ b/mailnews/base/util/nsMsgProtocol.cpp
@@ -36,9 +36,7 @@
#include "nsIMsgIncomingServer.h"
#include "nsIInputStreamPump.h"
#include "nsMimeTypes.h"
-#include "nsAlgorithm.h"
#include "mozilla/Services.h"
-#include <algorithm>
#include "nsContentSecurityManager.h"
#undef PostMessage // avoid to collision with WinUser.h