commit | 32aab65e16f1b813a13656d2767849ce3b75bb64 | [log] [tgz] |
---|---|---|
author | Veronika Irvine <veronika> | Tue May 21 13:09:24 2002 +0000 |
committer | Veronika Irvine <veronika> | Tue May 21 13:09:24 2002 +0000 |
tree | 741ccc6d92c37e07ce2251bed6db934a9b189b56 | |
parent | b1f8099c741d1814fe8cd9e9228be972563dfa38 [diff] |
backing out intersection changes
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java index 20dff92..5a53032 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java
@@ -182,10 +182,7 @@ lhs = y + height; rhs = rect.y + rect.height; int bottom = lhs < rhs ? lhs : rhs; - return new Rectangle ( - left, top, - right < left ? 0 : right - left, - bottom < top ? 0 : bottom - top); + return new Rectangle (left, top, right - left, bottom - top); } /**