From 691a92311efc5acfcc71af5b194b20d83c2af3fc Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Sat, 13 Sep 2008 13:30:52 +0000 Subject: [PATCH] Slight tidy git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694939 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java b/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java index 63a8cfe667..d5df27adad 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java @@ -270,7 +270,7 @@ public class HSSFFormulaEvaluator { cell.setCellValue(cv.getNumberValue()); break; case HSSFCell.CELL_TYPE_STRING: - cell.setCellValue(new HSSFRichTextString(cv.getStringValue())); + cell.setCellValue(cv.getRichTextStringValue()); break; case HSSFCell.CELL_TYPE_BLANK: // never happens - blanks eventually get translated to zero -- 2.39.5