summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-26 16:28:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-27 09:27:55 +0200
commit82a5d94b47b7817e93330049a5926c78900df5fb (patch)
tree12fedbff609ee5f97e79e1ed28537ff0c7c1058a
parent7246759822aff30e4e4e1bca7949eae3b0d960ef (diff)
ofz#37660: searching in wrong parent for table
Change-Id: Ifa1b70fa0ccc706cec52b318cdfba59f5da2b4d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121124 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwpbin0 -> 21424 bytes
-rw-r--r--lotuswordpro/source/filter/xfilter/xftable.cxx2
2 files changed, 1 insertions, 1 deletions
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
--- /dev/null
+++ b/lotuswordpro/qa/cppunit/data/fail/ofz35646-2.lwp
Binary files 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))