Commit a7693755 by lcx

no message

parent 465e0914
......@@ -123,7 +123,7 @@ private void SupplyMergedRegionData(ISheet sheet, ExcelStyle style, List<Special
{
var cell = row.GetCell(cellIndex);
if (cell == null) cell = row.CreateCell(cellIndex);
SetCellValue(cell, cellType, value);
if (!string.IsNullOrEmpty(value)) SetCellValue(cell, cellType, value);
}
row.SetRowStyle(basicStyle);
}
......@@ -287,7 +287,6 @@ private void SetCellValue(ICell cell, CellType cellType, string value)
case CellType.Blank:
case CellType.Error:
default:
cell.SetCellValue("");
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment