]> 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)
commit51a7f3e333a2c12a82363b249a3046507abc5072
tree441abafa2fac90dec8211762859b9895fecc1577
parent70dc3d38cae7b3a4a9d0dcc5f934c1e996975439
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