changeset 4215:3ff782c8ad7b

RT-31477: Null used in TableCellBehavior
author jgiles
date Tue, 09 Jul 2013 10:23:47 +1200
parents f20fb68594aa
children 31136be6a98a
files modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehavior.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehavior.java	Tue Jul 09 10:21:48 2013 +1200
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehavior.java	Tue Jul 09 10:23:47 2013 +1200
@@ -97,7 +97,7 @@
 
     /** @{@inheritDoc} */
     @Override protected int getVisibleLeafIndex(TableColumnBase tc) {
-        return getTableControl().getVisibleLeafIndex(null);
+        return getTableControl().getVisibleLeafIndex((TableColumn) tc);
     }
 
     /** @{@inheritDoc} */