diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java index 54f177b3..119c1607 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/StateComposite.java @@ -64,7 +64,6 @@ public abstract class StateComposite extends Composite { fD[0].setHeight(height); Font font = new Font(c.getDisplay(), fD[0]); c.setFont(font); - font.dispose(); } public static void setFontStyle(Control c, int style) @@ -73,7 +72,6 @@ public abstract class StateComposite extends Composite { fD[0].setStyle(style); Font font = new Font(c.getDisplay(), fD[0]); c.setFont(font); - font.dispose(); } public static class AnchorSetter |