]> source.dussan.org Git - poi.git/commitdiff
eliminated usage of a deprecated method
authorSean Sullivan <sullis@apache.org>
Tue, 18 Apr 2006 06:11:32 +0000 (06:11 +0000)
committerSean Sullivan <sullis@apache.org>
Tue, 18 Apr 2006 06:11:32 +0000 (06:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68

src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java

index 9b33f3c170169b9a3e4d71d04bbb73cf3efe2354..cd28cddb0f8f83f71cb67d9d231bc37e9acf09bf 100644 (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: