SVN-Revision: r449
This commit is contained in:
tdx
2025-04-07 03:21:06 +00:00
parent f808888dfe
commit 3765c69095
+1 -1
View File
@@ -978,7 +978,7 @@ namespace Lskj.PubBomImport
for (int j = firstRow.FirstCellNum; j < cellCount; j++) for (int j = firstRow.FirstCellNum; j < cellCount; j++)
{ {
ICell cell = row.GetCell(j); ICell cell = row.GetCell(j);
if (cell.IsMergedCell) if (cell != null&& cell.IsMergedCell)
{ {
CellRangeAddress mergrRange = FindMergedRegion(sheet, i, j); CellRangeAddress mergrRange = FindMergedRegion(sheet, i, j);
if (j == mergrRange.FirstColumn) if (j == mergrRange.FirstColumn)