r=dbaron sr=buster. Took out the nsIPrintOptions service registration.. which is not needed.
git-svn-id: svn://10.0.0.236/trunk@84961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
911b77adc6
commit
2a78e4b3b0
@ -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<nsIAppShellService> appShell = do_GetService(kAppShellServiceCID, &rv);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get the appshell service");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user