From fc82bb150d34990e8d25bee3d31f5ba3440e8778 Mon Sep 17 00:00:00 2001 From: Sean Sullivan Date: Tue, 18 Apr 2006 06:15:45 +0000 Subject: [PATCH] eliminated usage of a deprecated method git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394856 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hssf/contrib/view/SVTableCellEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellEditor.java b/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellEditor.java index 9a387f314e..18cf66eea3 100644 --- a/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellEditor.java +++ b/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellEditor.java @@ -160,7 +160,7 @@ public class SVTableCellEditor extends AbstractCellEditor implements TableCellEd editor.setText(Double.toString(cell.getNumericCellValue())); break; case HSSFCell.CELL_TYPE_STRING: - editor.setText(cell.getStringCellValue()); + editor.setText(cell.getRichStringCellValue().getString()); break; case HSSFCell.CELL_TYPE_FORMULA: default: