From 81b806c93c254bec9808f57b8a6daafae7c2a1e8 Mon Sep 17 00:00:00 2001 From: csh Date: Fri, 25 Aug 2023 16:37:07 +0800 Subject: [PATCH] v1.4.3-patch2 --- funcext/TSOffice/document/TDocxCopy.tsf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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');