]> source.dussan.org Git - poi.git/commit
Bug 52233: try to fix this without breaking the format of xlsx-files.
authorDominik Stadler <centic@apache.org>
Tue, 20 Aug 2013 18:44:44 +0000 (18:44 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 20 Aug 2013 18:44:44 +0000 (18:44 +0000)
commit9e62269eef793b81fe9939ec3bd938fa27958df4
tree441abafa2fac90dec8211762859b9895fecc1577
parent4a675204cb0a46bea0ca4c51c5a95a1a9a9c4fda
Bug 52233: try to fix this without breaking the format of xlsx-files.
The set to null is necessary to not have an empty <cols/> element in the
xlsx, however later on stuff breaks if no colsArray is availalbe,
therefore we now re-create the empty cols array if we did remove it
before.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1515916 13f79535-47bb-0310-9956-ffa450edef68
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java