From 45acb71b360bb61d32fed7467094ceb4f55b8f36 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Thu, 16 Feb 2006 21:32:10 +0000 Subject: [PATCH] r=mkaply, sr=blizzard, OS/2 only - fixes a couple names/comments --- widget/src/os2/nsDeviceContextSpecOS2.cpp | 1 - widget/src/os2/nsDeviceContextSpecOS2.h | 2 +- widget/src/os2/nsPrintdOS2.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/widget/src/os2/nsDeviceContextSpecOS2.cpp b/widget/src/os2/nsDeviceContextSpecOS2.cpp index 0cb542810dce..a02374eed4e0 100644 --- a/widget/src/os2/nsDeviceContextSpecOS2.cpp +++ b/widget/src/os2/nsDeviceContextSpecOS2.cpp @@ -153,7 +153,6 @@ nsresult nsDeviceContextSpecOS2::SetPrintSettingsFromDevMode(nsIPrintSettings* a PDJP_ITEM pDJP = (PDJP_ITEM) pDJP_Buffer; HDC hdc = nsDeviceContextSpecOS2::PrnDlg.GetDCHandle(printer); - char* driver = nsDeviceContextSpecOS2::PrnDlg.GetDriverType(printer); //Get Number of Copies from Job Properties pDJP->lType = DJP_CURRENT; diff --git a/widget/src/os2/nsDeviceContextSpecOS2.h b/widget/src/os2/nsDeviceContextSpecOS2.h index 786d92152596..e86176683fec 100644 --- a/widget/src/os2/nsDeviceContextSpecOS2.h +++ b/widget/src/os2/nsDeviceContextSpecOS2.h @@ -102,7 +102,7 @@ private: BOOL PrnClosePrinter( PRTQUEUE *pPrintQueue); // Get a DC for the selected printer. Must supply the application name. -HDC PrnOpenDC( PRTQUEUE *pPrintQueue, PSZ pszApplicationName, int copies, int toPrinter, char *file); +HDC PrnOpenDC( PRTQUEUE *pPrintQueue, PSZ pszApplicationName, int copies, int destination, char *file); // Get the hardcopy caps for the selected form BOOL PrnQueryHardcopyCaps( HDC hdc, PHCINFO pHCInfo); diff --git a/widget/src/os2/nsPrintdOS2.h b/widget/src/os2/nsPrintdOS2.h index 48111f4a2c4e..f1d90886291b 100644 --- a/widget/src/os2/nsPrintdOS2.h +++ b/widget/src/os2/nsPrintdOS2.h @@ -51,7 +51,7 @@ typedef struct OS2prdata { printDest destination; /* print to file, printer or print preview */ int copies; /* number of copies to print 0 < n < 999 */ char printer[ PATH_MAX ]; /* Printer selected - name*/ - char path[ PATH_MAX ]; /* If toPrinter = PR_FALSE, dest file */ + char path[ PATH_MAX ]; /* If destination = printToFile, dest file */ PRBool cancel; /* If PR_TRUE, user cancelled */ } OS2PrData;