diff --git a/funcext/TSOffice/document/TDocxCopy.tsf b/funcext/TSOffice/document/TDocxCopy.tsf index dc00c20..0035700 100644 --- a/funcext/TSOffice/document/TDocxCopy.tsf +++ b/funcext/TSOffice/document/TDocxCopy.tsf @@ -242,7 +242,9 @@ private begin for c:=1 to col do begin - node := table.Cell(r, c).node_; + cell := table.Cell(r, c); + if not cell then continue; + node := cell.node_; if (tbl := node.FirstChildElement('w:tbl')) then begin obj := TOfficeObj('TTable');