summaryrefslogtreecommitdiff
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.gz
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 5dd3893b67..9dd73d6f97 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 360600147f..d0fc8aba47 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 f7856dd4d9..baad45ef5c 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 5224aef513..c20d54b0f9 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 5b47422f29..b2a7013cf5 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 3a1a571e2a..81790c69a5 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 0a88cd8409..56f8a9504d 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 17f95fc30d..2c80cb6924 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 f2190cb453..c86995189c 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