not autofit for formula cells

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2007-02-26 17:17:26 +00:00
parent 5d19ceee38
commit 8af09b2475

View File

@ -1461,8 +1461,6 @@ public class HSSFSheet
} catch (Exception e) { } catch (Exception e) {
sval = "" + value; sval = "" + value;
} }
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
sval = cell.getCellFormula();
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_BOOLEAN) { } else if (cell.getCellType() == HSSFCell.CELL_TYPE_BOOLEAN) {
sval = String.valueOf(cell.getBooleanCellValue()); sval = String.valueOf(cell.getBooleanCellValue());
} }