8167102: [macosx] PrintRequestAttributeSet breaks page size set using PageFormat

Reviewed-by: psadhukhan, prr
This commit is contained in:
Anton Litvinov 2017-03-31 19:42:22 +03:00
parent 0b9c38fa6e
commit 6f11b96297
3 changed files with 240 additions and 10 deletions

View file

@ -886,14 +886,6 @@ public abstract class RasterPrinterJob extends PrinterJob {
}
}
protected PageFormat getPageFormatFromAttributes() {
if (attributes == null || attributes.isEmpty()) {
return null;
}
return attributeToPageFormat(getPrintService(), this.attributes);
}
/**
* Presents the user a dialog for changing properties of the
* print job interactively.