diff options
author | Felipe Heidrich <fheidric> | 2011-02-01 14:39:38 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2011-02-01 14:39:38 +0000 |
commit | 914247e1a7060f9ad570e274a28d3ee340569edb (patch) | |
tree | d6bed6d7229a46c1939517082663e4165a4e14f7 | |
parent | f0d4660babe52f05f080afe690712548b178efc1 (diff) | |
download | eclipse.platform.swt-914247e1a7060f9ad570e274a28d3ee340569edb.tar.gz eclipse.platform.swt-914247e1a7060f9ad570e274a28d3ee340569edb.tar.xz eclipse.platform.swt-914247e1a7060f9ad570e274a28d3ee340569edb.zip |
Bug 335928 - 166 compile warnings in official build
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java index ebd449179e..9f99fd6d8a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java @@ -460,7 +460,7 @@ public static boolean isBidiPlatform() { OS.EnumSystemLanguageGroups(lpEnumSystemLanguageGroupsProc, OS.LGRPID_INSTALLED, 0); callback.dispose (); } catch (ClassNotFoundException e) { - if (callback != null) callback.dispose(); + //callback can only be null at this point } if (isBidiPlatform == 1) return true; // need to look at system code page for NT & 98 platforms since EnumSystemLanguageGroups is |