summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2007-02-26 17:17:26 +0000
committerYegor Kozlov <yegor@apache.org>2007-02-26 17:17:26 +0000
commite5e1edb06510cf6dde9b27d8680880d93267c902 (patch)
tree1cb41a90bca5cd703fd6e419978ef9b4eca802ad
parentc48613da0a67f364a08ce93716d771b24d608860 (diff)
downloadpoi-e5e1edb06510cf6dde9b27d8680880d93267c902.tar.gz
poi-e5e1edb06510cf6dde9b27d8680880d93267c902.zip
not autofit for formula cells
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java2
1 files changed, 0 insertions, 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());
}