Skip to content

Commit 48a2524

Browse files
committed
Remove unused Font constructor
1 parent d652a68 commit 48a2524

File tree

1 file changed

+0
-9
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

1 file changed

+0
-9
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ public final class Font extends Resource {
6262
*/
6363
private final float fontHeight;
6464

65-
/**
66-
* Prevents uninitialized instances from being created outside the package.
67-
*/
68-
Font(Device device) {
69-
super(device);
70-
this.zoom = DPIUtil.getNativeDeviceZoom();
71-
this.fontHeight = 0;
72-
}
73-
7465
private Font(Device device, long handle, int zoom) {
7566
super(device);
7667
this.handle = handle;

0 commit comments

Comments
 (0)