Bug 1416033 - removed include of nsAlgorithm.h and <algorithm> from mailnews/ were not needed. r=aceman
This commit is contained in:
Родитель
89a338ffca
Коммит
83cda4621e
|
@ -31,7 +31,6 @@
|
|||
#include "nsIPrefBranch.h"
|
||||
#include "nsIAbManager.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include <algorithm>
|
||||
|
||||
#define ID_PAB_TABLE 1
|
||||
#define ID_DELETEDCARDS_TABLE 2
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <tchar.h>
|
||||
#include "nsWabAddressBook.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include <algorithm>
|
||||
|
||||
static mozilla::LazyLogModule gWabAddressBookLog("nsWabAddressBookLog");
|
||||
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
#include "nsMsgMessageFlags.h"
|
||||
#include "nsIArray.h"
|
||||
#include "nsArrayUtils.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include <algorithm>
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
// This stuff lives in the base class because the IMAP search syntax
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
#include "nsIMsgFilterList.h"
|
||||
#include "nsDirectoryServiceUtils.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include <algorithm>
|
||||
#include "nsIFileStreams.h"
|
||||
#include "nsIOutputStream.h"
|
||||
#include "nsISafeOutputStream.h"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsMemory.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsIAbManager.h"
|
||||
#include "nsIAbDirectory.h"
|
||||
#include "nsIAbCard.h"
|
||||
|
@ -50,7 +49,6 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/mailnews/MimeHeaderParser.h"
|
||||
#include "nsTArray.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla::mailnews;
|
||||
nsrefcnt nsMsgDBView::gInstanceCount = 0;
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "nsIMsgFolderNotificationService.h"
|
||||
#include "nsIMsgPluggableStore.h"
|
||||
#include "nsMsgFolderCompactor.h"
|
||||
#include <algorithm>
|
||||
#include "nsIOutputStream.h"
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsPrintfCString.h"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "nsMsgCompressIStream.h"
|
||||
#include "prio.h"
|
||||
#include "prmem.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include <algorithm>
|
||||
|
||||
#define BUFFER_SIZE 16384
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
#include "nsIPK11TokenDB.h"
|
||||
#include "nsIPK11Token.h"
|
||||
#include "nsMsgLocalFolderHdrs.h"
|
||||
#include <algorithm>
|
||||
#define oneHour 3600000000U
|
||||
#include "nsMsgUtils.h"
|
||||
#include "nsIMsgFilterService.h"
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <time.h>
|
||||
#include "nsMsgUtils.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include <algorithm>
|
||||
#include "nsProxyRelease.h"
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#include "mozilla/Encoding.h"
|
||||
|
|
|
@ -37,10 +37,8 @@
|
|||
#include "nsIInputStreamPump.h"
|
||||
#include "nsICancelable.h"
|
||||
#include "nsMimeTypes.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/SlicedInputStream.h"
|
||||
#include <algorithm>
|
||||
#include "nsContentSecurityManager.h"
|
||||
|
||||
#undef PostMessage // avoid to collision with WinUser.h
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#include "nsMsgComposeSecure.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "ScopedNSSTypes.h"
|
||||
#include "cert.h"
|
||||
#include "keyhi.h"
|
||||
|
@ -16,7 +14,6 @@
|
|||
#include "mozilla/mailnews/MimeEncoder.h"
|
||||
#include "mozilla/mailnews/MimeHeaderParser.h"
|
||||
#include "msgCore.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsICryptoHash.h"
|
||||
#include "nsIMimeConverter.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -23,9 +23,7 @@
|
|||
#include "nsMsgUtils.h"
|
||||
#include "nsIMutableArray.h"
|
||||
#include "nsIAutoSyncManager.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsArrayUtils.h"
|
||||
#include <algorithm>
|
||||
#include "mozilla/Unused.h"
|
||||
|
||||
|
||||
|
|
|
@ -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 @@ static mozilla::LazyLogModule IMAP("IMAP");
|
|||
#include "nsDebug.h"
|
||||
#include "nsMsgCompressIStream.h"
|
||||
#include "nsMsgCompressOStream.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/SlicedInputStream.h"
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
#include "nsMsgUtils.h"
|
||||
#include "nsIMsgHdr.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include "MapiMimeTypes.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include "nsMsgI18N.h"
|
||||
#include "nsICharsetConverterManager.h"
|
||||
#include "nsCRT.h"
|
||||
|
|
|
@ -45,8 +45,6 @@
|
|||
#include "nsMsgMessageFlags.h"
|
||||
#include "nsMsgLocalFolderHdrs.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
static NS_DEFINE_CID(kMsgSendCID, NS_MSGSEND_CID);
|
||||
static NS_DEFINE_CID(kMsgCompFieldsCID, NS_MSGCOMPFIELDS_CID);
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "TextDebugLog.h"
|
||||
#include "plstr.h"
|
||||
#include "msgCore.h"
|
||||
#include <algorithm>
|
||||
|
||||
#define kWhitespace " \t\b\r\n"
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "nsMsgUtils.h"
|
||||
#include "nsTextFormatter.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include <algorithm>
|
||||
|
||||
static mozilla::LazyLogModule gMimeEmitterLogModule("MIME");
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "nsContentUtils.h"
|
||||
|
||||
#include "prprf.h"
|
||||
#include <algorithm>
|
||||
|
||||
/* include event sink interfaces for news */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче