# HG changeset patch # User aceman # Date 1510239660 -3600 # Node ID 207bc898d11bac95d901dcf3e998d54203f85c73 # Parent 1ce1e452dea58d038e7cf0897338bd25acfef8fc Bug 1416033 - remove some unneeded includes in mailnews/intl. r=mkmelin diff --git a/mailnews/intl/nsCharsetConverterManager.cpp b/mailnews/intl/nsCharsetConverterManager.cpp --- a/mailnews/intl/nsCharsetConverterManager.cpp +++ b/mailnews/intl/nsCharsetConverterManager.cpp @@ -2,25 +2,23 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsCOMPtr.h" #include "nsString.h" #include "nsUnicharUtils.h" #include "nsCharsetAlias.h" -#include "nsICategoryManager.h" #include "nsICharsetConverterManager.h" #include "nsIStringBundle.h" #include "nsTArray.h" #include "nsStringEnumerator.h" #include "mozilla/Services.h" #include "nsComponentManagerUtils.h" -#include "nsISupportsPrimitives.h" #include "nsServiceManagerUtils.h" #include "../base/util/nsMsgI18N.h" // just for CONTRACTIDs #include "nsCharsetConverterManager.h" static nsCOMPtr sDataBundle; static nsCOMPtr sTitleBundle; diff --git a/mailnews/intl/nsCharsetConverterManager.h b/mailnews/intl/nsCharsetConverterManager.h --- a/mailnews/intl/nsCharsetConverterManager.h +++ b/mailnews/intl/nsCharsetConverterManager.h @@ -1,16 +1,15 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef nsCharsetConverterManager_h__ #define nsCharsetConverterManager_h__ -#include "nsISupports.h" #include "nsICharsetConverterManager.h" class nsCharsetAlias; class nsCharsetConverterManager : public nsICharsetConverterManager { friend class nsCharsetAlias; diff --git a/mailnews/intl/nsICharsetConverterManager.idl b/mailnews/intl/nsICharsetConverterManager.idl --- a/mailnews/intl/nsICharsetConverterManager.idl +++ b/mailnews/intl/nsICharsetConverterManager.idl @@ -1,17 +1,17 @@ /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsISupports.idl" #include "nsIAtom.idl" -%{ C++ +%{C++ #include "mozilla/Encoding.h" // XXX change to NS_CHARSETCONVERTERMANAGER_CID #define NS_ICHARSETCONVERTERMANAGER_CID \ {0x3c1c0163, 0x9bd0, 0x11d3, { 0x9d, 0x9, 0x0, 0x50, 0x4, 0x0, 0x7, 0xb2}} #define NS_CHARSETCONVERTERMANAGER_CONTRACTID "@mozilla.org/charset-converter-manager;1" %}