зеркало из https://github.com/mozilla/pjs.git
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
This commit is contained in:
Родитель
579825cc89
Коммит
e0d4d51a20
|
@ -48,7 +48,6 @@
|
|||
*/
|
||||
nsDeviceContextSpecFactoryGTK :: nsDeviceContextSpecFactoryGTK()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/** -------------------------------------------------------
|
||||
|
|
|
@ -216,7 +216,6 @@ int GlobalPrinters::mGlobalNumPrinters = 0;
|
|||
nsDeviceContextSpecGTK::nsDeviceContextSpecGTK()
|
||||
{
|
||||
DO_PR_DEBUG_LOG(("nsDeviceContextSpecGTK::nsDeviceContextSpecGTK()\n"));
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDeviceContextSpecGTK::~nsDeviceContextSpecGTK()
|
||||
|
@ -537,7 +536,6 @@ nsresult CopyPrinterCharPref(nsIPref *pref, const char *modulename, const char *
|
|||
// Printer Enumerator
|
||||
nsPrinterEnumeratorGTK::nsPrinterEnumeratorGTK()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsPrinterEnumeratorGTK, nsIPrinterEnumerator)
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
|
||||
nsDeviceContextSpecFactoryWin :: nsDeviceContextSpecFactoryWin()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDeviceContextSpecFactoryWin :: ~nsDeviceContextSpecFactoryWin()
|
||||
|
|
|
@ -164,8 +164,6 @@ const PRInt32 kNumPaperSizes = 41;
|
|||
//----------------------------------------------------------------------------------
|
||||
nsDeviceContextSpecWin::nsDeviceContextSpecWin()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mDriverName = nsnull;
|
||||
mDeviceName = nsnull;
|
||||
mDevMode = NULL;
|
||||
|
@ -804,7 +802,6 @@ nsDeviceContextSpecWin::SetPrintSettingsFromDevMode(nsIPrintSettings* aPrintSett
|
|||
//***********************************************************
|
||||
nsPrinterEnumeratorWin::nsPrinterEnumeratorWin()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPrinterEnumeratorWin::~nsPrinterEnumeratorWin()
|
||||
|
|
|
@ -116,8 +116,6 @@ nsFont* nsPrintOptions::sDefaultFont = nsnull;
|
|||
*/
|
||||
nsPrintOptions::nsPrintOptions()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
/* member initializers and constructor code */
|
||||
if (sDefaultFont == nsnull) {
|
||||
sDefaultFont = new nsFont("Times", NS_FONT_STYLE_NORMAL,NS_FONT_VARIANT_NORMAL,
|
||||
|
@ -170,7 +168,6 @@ nsPrinterListEnumerator : public nsISimpleEnumerator
|
|||
nsPrinterListEnumerator::nsPrinterListEnumerator() :
|
||||
mPrinters(nsnull), mCount(0), mIndex(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPrinterListEnumerator::~nsPrinterListEnumerator()
|
||||
|
|
|
@ -48,7 +48,6 @@ NS_IMPL_ISUPPORTS2(nsPrintSession, nsIPrintSession, nsISupportsWeakReference)
|
|||
//-----------------------------------------------------------------------------
|
||||
nsPrintSession::nsPrintSession()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
@ -78,7 +78,6 @@ nsPrintSettings::nsPrintSettings() :
|
|||
mIsInitedFromPrinter(PR_FALSE),
|
||||
mIsInitedFromPrefs(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
/* member initializers and constructor code */
|
||||
nscoord halfInch = NS_INCHES_TO_TWIPS(0.5);
|
||||
|
@ -100,8 +99,6 @@ nsPrintSettings::nsPrintSettings() :
|
|||
*/
|
||||
nsPrintSettings::nsPrintSettings(const nsPrintSettings& aPS)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
*this = aPS;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче