mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 23:43:37 +00:00
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview. Last checking contained another fix I was working on.. so I pulled that out.
This commit is contained in:
parent
5ac940d43c
commit
840821338c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user