View | Details | Raw Unified | Return to bug 46479
Collapse All | Expand All

(-)HSSFFormulaEvaluator.java (-1 / +1 lines)
Lines 215-222 Link Here
215
		HSSFCell result = (HSSFCell) cell;
215
		HSSFCell result = (HSSFCell) cell;
216
		if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
216
		if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
217
			CellValue cv = evaluateFormulaCellValue(cell);
217
			CellValue cv = evaluateFormulaCellValue(cell);
218
			setCellValue(cell, cv);
218
			setCellType(cell, cv); // cell will no longer be a formula cell
219
			setCellType(cell, cv); // cell will no longer be a formula cell
219
			setCellValue(cell, cv);
220
		}
220
		}
221
		return result;
221
		return result;
222
	}
222
	}

Return to bug 46479