From 82a5d94b47b7817e93330049a5926c78900df5fb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 26 Aug 2021 16:28:28 +0100 Subject: ofz#37660: searching in wrong parent for table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifa1b70fa0ccc706cec52b318cdfba59f5da2b4d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121124 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp | Bin 0 -> 21424 bytes lotuswordpro/source/filter/xfilter/xftable.cxx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp (limited to 'lotuswordpro') diff --git a/lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp b/lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp new file mode 100644 index 000000000000..029b755f387b Binary files /dev/null and b/lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp differ diff --git a/lotuswordpro/source/filter/xfilter/xftable.cxx b/lotuswordpro/source/filter/xfilter/xftable.cxx index 4326f218b1e2..976ee8bb9d86 100644 --- a/lotuswordpro/source/filter/xfilter/xftable.cxx +++ b/lotuswordpro/source/filter/xfilter/xftable.cxx @@ -94,7 +94,7 @@ bool XFTable::ContainsTable(const XFTable* pTable) const { if (pSubTable == pTable) return true; - if (pTable->ContainsTable(pTable)) + if (pSubTable->ContainsTable(pTable)) return true; } if (pCell->HierarchyContains(pTable)) -- cgit