Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-09-22 16:34:25 +0000
committerLars Vogel2020-09-23 12:38:39 +0000
commit4a02ac31d50e6127ef509717cf508b5115dbefa7 (patch)
tree08e1bb0087c5c7868382f6b41ef3b5b93165dfa7
parent6e347425ee70e321f3076af4847b0ff8389921b2 (diff)
downloadeclipse.platform.text-4a02ac31d50e6127ef509717cf508b5115dbefa7.tar.gz
eclipse.platform.text-4a02ac31d50e6127ef509717cf508b5115dbefa7.tar.xz
eclipse.platform.text-4a02ac31d50e6127ef509717cf508b5115dbefa7.zip
Removes dispose call for color in TextEditorDefaultsPreferencePageI20200924-1800I20200924-0430I20200924-0340
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
index ca991829a79..c881bfc83d2 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/TextEditorDefaultsPreferencePage.java
@@ -1100,7 +1100,6 @@ public class TextEditorDefaultsPreferencePage extends PreferencePage implements
gc.setLineWidth(2);
gc.drawRectangle(0, 0, dimensions, dimensions);
gc.dispose();
- color.dispose();
colorPreviewImages.add(image);
return image;
}

Back to the top