Commit a7693755 by lcx

no message

parent 465e0914
...@@ -123,7 +123,7 @@ private void SupplyMergedRegionData(ISheet sheet, ExcelStyle style, List<Special ...@@ -123,7 +123,7 @@ private void SupplyMergedRegionData(ISheet sheet, ExcelStyle style, List<Special
{ {
var cell = row.GetCell(cellIndex); var cell = row.GetCell(cellIndex);
if (cell == null) cell = row.CreateCell(cellIndex); if (cell == null) cell = row.CreateCell(cellIndex);
SetCellValue(cell, cellType, value); if (!string.IsNullOrEmpty(value)) SetCellValue(cell, cellType, value);
} }
row.SetRowStyle(basicStyle); row.SetRowStyle(basicStyle);
} }
...@@ -287,7 +287,6 @@ private void SetCellValue(ICell cell, CellType cellType, string value) ...@@ -287,7 +287,6 @@ private void SetCellValue(ICell cell, CellType cellType, string value)
case CellType.Blank: case CellType.Blank:
case CellType.Error: case CellType.Error:
default: default:
cell.SetCellValue("");
break; 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