diff --git a/gfx/src/mac/nsDeviceContextSpecX.cpp b/gfx/src/mac/nsDeviceContextSpecX.cpp index bb65905aee1c..6a009e531476 100644 --- a/gfx/src/mac/nsDeviceContextSpecX.cpp +++ b/gfx/src/mac/nsDeviceContextSpecX.cpp @@ -46,7 +46,6 @@ #include "nsIServiceManager.h" #include "nsIPrintOptions.h" -#include "CoreServices.h" /** ------------------------------------------------------- * Construct the nsDeviceContextSpecX @@ -128,13 +127,6 @@ NS_IMETHODIMP nsDeviceContextSpecX::Init(nsIPrintSettings* aPS, PRBool aQuiet) { ::InitCursor(); - //CFStringRef pathRef = CFStringCreateWithCString(NULL,"file://Macintosh HD/Developer/Examples/Printing/App/build/PrintDialogPDE.plugin",kCFStringEncodingUTF8); - CFStringRef pathRef = CFStringCreateWithCString(NULL,"Developer:Examples:Printing:App:build:PrintDialogPDE.plugin",kCFStringEncodingUTF8); - if(pathRef){ - CFURLRef bundleURL=CFURLCreateWithFileSystemPath(NULL,pathRef,kCFURLPOSIXPathStyle,false); - CFPlugInRef plugin = ::CFPlugInCreate(NULL,bundleURL); - } - Boolean accepted = false; status = ::PMPrintDialog(mPrintSettings, mPageFormat, &accepted); if (! accepted)