summaryrefslogtreecommitdiffstats
path: root/mailnews/base/util
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/util
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/util')
-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
5 files changed, 0 insertions, 7 deletions
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