From a2a658f885ea5cca042709f5a53224dbe57fb478 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 10 Nov 2019 20:14:13 -0500 Subject: Bug 1416033 - remove some unneeded includes in mailnews Tag #1273 --- mailnews/base/src/nsMsgAccountManager.cpp | 1 - mailnews/base/src/nsMsgBiffManager.cpp | 1 - mailnews/base/src/nsMsgDBView.cpp | 2 -- mailnews/base/src/nsMsgFolderCompactor.cpp | 1 - mailnews/base/util/nsMsgCompressIStream.cpp | 1 - mailnews/base/util/nsMsgDBFolder.cpp | 1 - mailnews/base/util/nsMsgLineBuffer.cpp | 2 -- mailnews/base/util/nsMsgMailNewsUrl.cpp | 1 - mailnews/base/util/nsMsgProtocol.cpp | 2 -- 9 files changed, 12 deletions(-) (limited to 'mailnews/base') 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 #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 #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 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 #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 #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 #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 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 #include "nsMsgUtils.h" #include "mozilla/Services.h" -#include #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 #include "nsContentSecurityManager.h" #undef PostMessage // avoid to collision with WinUser.h -- cgit v1.2.3