From a3f7224e147d9314da01a7023e50dd066544f701 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Sun, 15 May 2011 18:40:13 +0000 Subject: [PATCH] Bugzilla 51171: Improved performance of opening large .xls files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1103502 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/status.xml | 1 + src/java/org/apache/poi/hssf/usermodel/HSSFCell.java | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index ad97b9694..abb4d4183 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 51171 - Improved performance of opening large .xls files 51172 - Add XWPF support for GIF pictures NPOIFS Mini Streams now support extending the underlying big block stream to fit more data 51148 - XWPFDocument now properly tracks paragraphs and tables when adding/removing them diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java index d89c86760..28c15fac7 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java @@ -194,9 +194,6 @@ public class HSSFCell implements Cell { _stringValue=new HSSFRichTextString(((FormulaRecordAggregate) cval).getStringValue()); break; } - ExtendedFormatRecord xf = book.getWorkbook().getExFormatAt(cval.getXFIndex()); - - setCellStyle(new HSSFCellStyle(cval.getXFIndex(), xf, book)); }