Sweeping is also needed for empty column-list ...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2014-02-16 17:00:53 +00:00
parent 2a14920cdd
commit 8689458854

View File

@ -55,9 +55,7 @@ public class ColumnHelper {
CTCols aggregateCols = CTCols.Factory.newInstance();
List<CTCols> colsList = worksheet.getColsList();
if (colsList == null || colsList.isEmpty()) {
return;
}
assert(colsList != null);
for (CTCols cols : colsList) {
for (CTCol col : cols.getColList()) {