瀏覽代碼

Bug fix for issue found by RobHamlin.

InsertTable(index, x, y) was calling itself recursively instead of calling its base implementation which caused a stackoverflow.
master
coffeycathal_cp 14 年之前
父節點
當前提交
245f8cad79
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      DocX/DocX.cs

+ 1
- 1
DocX/DocX.cs 查看文件

@@ -1165,7 +1165,7 @@ namespace Novacode
if (rowCount < 1 || coloumnCount < 1)
throw new ArgumentOutOfRangeException("Row and Column count must be greater than zero.");
Table t = InsertTable(index, rowCount, coloumnCount);
Table t = base.InsertTable(index, rowCount, coloumnCount);
t.mainPart = mainPart;
return t;
}

Loading…
取消
儲存