fix: cftry without cfcatch in parseDOC_POI (v1.0.71)

This commit is contained in:
2026-06-20 10:00:59 +04:00
parent 2ffc24fac1
commit 8cd40e3248
2 changed files with 1 additions and 14 deletions
-13
View File
@@ -234,19 +234,6 @@
<cfset arrayAppend(out.elements, {type: "paragraph", style: "", text: text, page: 0})>
</cfif>
</cfloop>
<!--- Таблицы через Range (проще) --->
<cfset var range = doc.getRange()>
<cfset var tableCount = 0>
<cftry>
<cfset var tblIt = range.getParagraphIterator()>
<cfloop condition="true">
<cftry><cfset var p = tblIt.next()><cfcatch><cfbreak></cfcatch></cftry>
<cfif NOT isNull(p) AND p.isInTable()>
<cfset tableCount = 1>
<cfbreak>
</cfif>
</cfloop>
</cftry>
<cfset doc.close()>
<cfset bais.close()>
<cfcatch>