From: Sean Sullivan Date: Tue, 18 Apr 2006 06:15:45 +0000 (+0000) Subject: eliminated usage of a deprecated method X-Git-Tag: REL_3_0_ALPHA3~120 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc82bb150d34990e8d25bee3d31f5ba3440e8778;p=poi.git eliminated usage of a deprecated method git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394856 13f79535-47bb-0310-9956-ffa450edef68 --- 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: