Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2005-11-07 22:09:02 +0000
committerVeronika Irvine2005-11-07 22:09:02 +0000
commit8339f09fe7b65a20f075f85ecb87e709cbf7b75f (patch)
tree849d048362e50f979f8c95a135fb0184401e21a7
parent714e389d2d9e66a00f5c1bb7b55305f016962aa2 (diff)
downloadeclipse.platform.swt-8339f09fe7b65a20f075f85ecb87e709cbf7b75f.tar.gz
eclipse.platform.swt-8339f09fe7b65a20f075f85ecb87e709cbf7b75f.tar.xz
eclipse.platform.swt-8339f09fe7b65a20f075f85ecb87e709cbf7b75f.zip
formatting
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
index 75caf2501d..3382fc2ea4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
@@ -2260,13 +2260,11 @@ public void removeAll () {
}
items = new TreeItem [4];
childIds = null;
- ignoreExpand = true;
- ignoreSelect = true;
+ ignoreExpand = ignoreSelect = true;
if (OS.RemoveDataBrowserItems (handle, OS.kDataBrowserNoItem, 0, null, 0) != OS.noErr) {
error (SWT.ERROR_ITEM_NOT_REMOVED);
}
- ignoreExpand = false;
- ignoreSelect = false;
+ ignoreExpand = ignoreSelect = false;
OS.SetDataBrowserScrollPosition (handle, 0, 0);
anchorFirst = anchorLast = 0;
visibleCount = 0;

Back to the top