]> source.dussan.org Git - poi.git/commitdiff
not autofit for formula cells
authorYegor Kozlov <yegor@apache.org>
Mon, 26 Feb 2007 17:17:26 +0000 (17:17 +0000)
committerYegor Kozlov <yegor@apache.org>
Mon, 26 Feb 2007 17:17:26 +0000 (17:17 +0000)
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

index 9c3c147a68710d85d5ff336fdf639f7bc11afd98..770511457cfee7be45397999b9fbf48774eb7147 100644 (file)
@@ -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());
                 }