Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmallsql <smallsql>2009-11-01 15:03:01 +0300
committersmallsql <smallsql>2009-11-01 15:03:01 +0300
commitf65cead627f2afb37b256af177bec08c40023865 (patch)
treedadfbc9538238b32c59355413b6acc1e9a4f3bcc /openjdk/sun/print/Win32PrintServiceLookup.java
parent8877fb077d825bc0f09b4c7966975299b73faeee (diff)
Printing API next step
Diffstat (limited to 'openjdk/sun/print/Win32PrintServiceLookup.java')
-rw-r--r--openjdk/sun/print/Win32PrintServiceLookup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/openjdk/sun/print/Win32PrintServiceLookup.java b/openjdk/sun/print/Win32PrintServiceLookup.java
index f5eb2f41..bb87b5ec 100644
--- a/openjdk/sun/print/Win32PrintServiceLookup.java
+++ b/openjdk/sun/print/Win32PrintServiceLookup.java
@@ -92,7 +92,7 @@ public class Win32PrintServiceLookup extends PrintServiceLookup {
newServices[p] = defService;
} else {
if (printServices == null) {
- newServices[p] = new Win32PrintService(printers[p]);
+ newServices[p] = new Win32PrintService(printers[p], peer);
} else {
int j;
for (j = 0; j < printServices.length; j++) {
@@ -104,7 +104,7 @@ public class Win32PrintServiceLookup extends PrintServiceLookup {
}
}
if (j == printServices.length) {
- newServices[p] = new Win32PrintService(printers[p]);
+ newServices[p] = new Win32PrintService(printers[p], peer);
}
}
}
@@ -257,7 +257,7 @@ public class Win32PrintServiceLookup extends PrintServiceLookup {
}
if (defaultPrintService == null) {
- defaultPrintService = new Win32PrintService(defaultPrinter);
+ defaultPrintService = new Win32PrintService(defaultPrinter, peer);
}
return defaultPrintService;
}