summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Printing
diff options
context:
space:
mode:
authorScott Kovatch <skovatch>2011-02-04 20:32:50 +0000
committerScott Kovatch <skovatch>2011-02-04 20:32:50 +0000
commitb265e38867bfd45d7359718a0580ad942a65de59 (patch)
tree86e2d364d61617a80c25c2b3348aff42d9367957 /bundles/org.eclipse.swt/Eclipse SWT Printing
parent447eb4642c689c96f32493b33b000af64c8c05a9 (diff)
downloadeclipse.platform.swt-b265e38867bfd45d7359718a0580ad942a65de59.tar.gz
eclipse.platform.swt-b265e38867bfd45d7359718a0580ad942a65de59.tar.xz
eclipse.platform.swt-b265e38867bfd45d7359718a0580ad942a65de59.zip
Remove unnecessary retain.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Printing')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java
index 9af5918f3d..c4221dad98 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java
@@ -167,7 +167,6 @@ public PrinterData open() {
if (printerData.name != null) {
NSPrinter printer = NSPrinter.printerWithName(NSString.stringWith(printerData.name));
if (printer != null) {
- printer.retain();
printInfo.setPrinter(printer);
}
}