Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2013-10-11 11:51:13 -0400
committerBrian Vosburgh2013-10-11 11:55:16 -0400
commit3ffb1ac14aef00a3d206864621b6c48335b61cc2 (patch)
tree9330fcbdb25c212b7e340a36174bc26c357a9111
parent12fe0ae3b51302734f81e5b06340baa8020352d9 (diff)
downloadwebtools.dali-3ffb1ac14aef00a3d206864621b6c48335b61cc2.tar.gz
webtools.dali-3ffb1ac14aef00a3d206864621b6c48335b61cc2.tar.xz
webtools.dali-3ffb1ac14aef00a3d206864621b6c48335b61cc2.zip
[418822] fix CCE in ControlTools.reflow(Composite)v201310290253
-rw-r--r--common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/swt/widgets/ControlTools.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/swt/widgets/ControlTools.java b/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/swt/widgets/ControlTools.java
index d75e5a95a7..d0013a03cf 100644
--- a/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/swt/widgets/ControlTools.java
+++ b/common/plugins/org.eclipse.jpt.common.ui/src/org/eclipse/jpt/common/ui/internal/swt/widgets/ControlTools.java
@@ -14,7 +14,6 @@ import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.eclipse.ui.forms.widgets.SharedScrolledComposite;
/**
@@ -146,7 +145,7 @@ public final class ControlTools {
c.layout(true);
c = c.getParent();
if (c instanceof SharedScrolledComposite) {
- ((ScrolledForm) c).reflow(true);
+ ((SharedScrolledComposite) c).reflow(true);
break;
}
}

Back to the top