summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2010-10-27 14:08:46 +0000
committerFelipe Heidrich <fheidric>2010-10-27 14:08:46 +0000
commit211feceb33194c03f2d7959fda2411f8cac53fa7 (patch)
tree4b1e766b233bdda9a57087a78f300b158a22bb7d
parent92198efb7a50e9ad032b435072c5ae253854b682 (diff)
downloadeclipse.platform.swt-211feceb33194c03f2d7959fda2411f8cac53fa7.tar.gz
eclipse.platform.swt-211feceb33194c03f2d7959fda2411f8cac53fa7.tar.xz
eclipse.platform.swt-211feceb33194c03f2d7959fda2411f8cac53fa7.zip
Fixed Bug 328794 - Remove unused variable in 'org.eclipse.swt.examples'
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java
index 5f265d5a79..a69d016a07 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTableItem.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1358,10 +1358,8 @@ boolean paint (GC gc, CTableColumn column, boolean backgroundOnly) {
gc.fillRectangle (startX, focusBounds.y + 1, fillWidth, focusBounds.height - 2);
}
} else {
- int startX = column.getX ();
int fillWidth = column.width;
if (column.getOrderIndex () == 0) {
- startX += 1; /* space for left bound of focus rect */
fillWidth -= 1;
}
if (column.getOrderIndex () == parent.columns.length - 1) {