From 54efb9b0a151b2511b77d0d3cd138a4132c6df64 Mon Sep 17 00:00:00 2001 From: Sean Sullivan Date: Tue, 18 Apr 2006 06:11:32 +0000 Subject: [PATCH] eliminated usage of a deprecated method git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5