Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-07-16 23:29:37 +0000
committerSilenio Quarti2013-07-16 23:29:37 +0000
commitd87d16bb6f60b6081e9ca4c883745af8d99d3146 (patch)
tree64930972bcd3279aea46da3198f1f6da52ff01fe
parentf8992434eb4539214ff6c25f6c75284f3a4c316a (diff)
downloadeclipse.platform.swt-d87d16bb6f60b6081e9ca4c883745af8d99d3146.tar.gz
eclipse.platform.swt-d87d16bb6f60b6081e9ca4c883745af8d99d3146.tar.xz
eclipse.platform.swt-d87d16bb6f60b6081e9ca4c883745af8d99d3146.zip
remove unused vars warning
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
index 4bd2847de7..1b878bdab5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
@@ -3737,12 +3737,6 @@ void updateBkImages() {
bounds.y = -bounds.y;
bounds.height -= 2*bounds.y - 1;
} else {
- Rectangle trim = renderer.computeTrim(CTabFolderRenderer.PART_BORDER, SWT.NONE, 0, 0, 0, 0);
- int borderRight = trim.width + trim.x;
- int borderLeft = -trim.x;
- int borderBottom = trim.height + trim.y;
- int borderTop = -trim.y;
- int origY = bounds.y + bounds.height;
bounds.height += height - (bounds.y + bounds.height);
bounds.y = -1;
}

Back to the top