From: Sean Sullivan Date: Tue, 18 Apr 2006 06:11:32 +0000 (+0000) Subject: eliminated usage of a deprecated method X-Git-Tag: REL_3_0_ALPHA3~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=54efb9b0a151b2511b77d0d3cd138a4132c6df64;p=poi.git eliminated usage of a deprecated method git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java b/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java index 9b33f3c170..cd28cddb0f 100644 --- a/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java +++ b/src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java @@ -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: