ソースを参照

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;
}

読み込み中…
キャンセル
保存