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 019f40493b
commit 8fc95e8b85
1 changed files with 1 additions and 3 deletions

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()) {