diff --git a/mozilla/xpfe/bootstrap/nsAppRunner.cpp b/mozilla/xpfe/bootstrap/nsAppRunner.cpp index 3be26be03cd..bfed8a4ad0e 100644 --- a/mozilla/xpfe/bootstrap/nsAppRunner.cpp +++ b/mozilla/xpfe/bootstrap/nsAppRunner.cpp @@ -63,8 +63,6 @@ #include "nsDirectoryServiceDefs.h" #include "nsIHTTPProtocolHandler.h" #include "nsBuildID.h" -#include "nsIPrintOptions.h" -#include "nsGfxCIID.h" // Interfaces Needed #include "nsIXULWindow.h" @@ -947,15 +945,6 @@ static nsresult main1(int argc, char* argv[], nsISupports *nativeApp ) return rv; } - nsIPrintOptions *thePrintOptions; - - static NS_DEFINE_CID(kPrintOptionsCID,NS_PRINTOPTIONS_CID); - - rv = nsComponentManager::CreateInstance(kPrintOptionsCID,nsnull,NS_GET_IID(nsIPrintOptions),(void**)&thePrintOptions); - if(NS_SUCCEEDED(rv) && thePrintOptions) { - nsServiceManager::RegisterService(kPrintOptionsCID,thePrintOptions); - } - nsCOMPtr appShell = do_GetService(kAppShellServiceCID, &rv); NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get the appshell service");