eliminated usage of a deprecated method

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sean Sullivan 2006-04-18 06:11:32 +00:00
parent 5b5ac869b3
commit effa2052b4

View File

@ -189,7 +189,7 @@ public class SVTableCellRenderer extends JLabel
setValue(cellFormatter.format(format, c.getNumericCellValue()));
break;
case HSSFCell.CELL_TYPE_STRING:
setValue(c.getStringCellValue());
setValue(c.getRichStringCellValue().getString());
break;
case HSSFCell.CELL_TYPE_FORMULA:
default: