From e5e1edb06510cf6dde9b27d8680880d93267c902 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Mon, 26 Feb 2007 17:17:26 +0000 Subject: [PATCH] not autofit for formula cells git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | 2 -- 1 file changed, 2 deletions(-) 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()); } -- 2.39.5