git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2015-11-27 11:30:18 +00:00
parent 58bffd78a1
commit 2a62f57db5
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ public class SheetUtil {
Row row = cell.getRow();
int column = cell.getColumnIndex();
// FIXME: this looks very similar to getCellWithMerges below. Consider consolidating.
// We should only be checking merged regions if useMergedCells is true. Why are we doing this for-loop?
int colspan = 1;
for (CellRangeAddress region : sheet.getMergedRegions()) {
if (containsCell(region, row.getRowNum(), column)) {