Slight tidy

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2008-09-13 13:30:52 +00:00
parent 0c881e7c99
commit 592729a165

View File

@ -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