From: Yegor Kozlov Date: Mon, 26 Feb 2007 17:17:26 +0000 (+0000) Subject: not autofit for formula cells X-Git-Tag: REL_3_0_RC1~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5e1edb06510cf6dde9b27d8680880d93267c902;p=poi.git not autofit for formula cells git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index 9c3c147a68..770511457c 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -1461,8 +1461,6 @@ public class HSSFSheet } catch (Exception e) { sval = "" + value; } - } else if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) { - sval = cell.getCellFormula(); } else if (cell.getCellType() == HSSFCell.CELL_TYPE_BOOLEAN) { sval = String.valueOf(cell.getBooleanCellValue()); }