aboutsummaryrefslogtreecommitdiffstats
path: root/src/contrib
diff options
context:
space:
mode:
authorSean Sullivan <sullis@apache.org>2006-04-18 06:11:32 +0000
committerSean Sullivan <sullis@apache.org>2006-04-18 06:11:32 +0000
commit54efb9b0a151b2511b77d0d3cd138a4132c6df64 (patch)
tree8d2f51e15d2ac9fc18187844b09c702afd77bdae /src/contrib
parent6e09c4be55f37637df780340f58da47689f7833a (diff)
downloadpoi-54efb9b0a151b2511b77d0d3cd138a4132c6df64.tar.gz
poi-54efb9b0a151b2511b77d0d3cd138a4132c6df64.zip
eliminated usage of a deprecated method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/src/org/apache/poi/hssf/contrib/view/SVTableCellRenderer.java2
1 files changed, 1 insertions, 1 deletions
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: