summaryrefslogtreecommitdiff
path: root/sw/qa/extras/layout/layout3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/extras/layout/layout3.cxx')
-rw-r--r--sw/qa/extras/layout/layout3.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/qa/extras/layout/layout3.cxx b/sw/qa/extras/layout/layout3.cxx
index 7c36605bb82d..3ee4953e52cc 100644
--- a/sw/qa/extras/layout/layout3.cxx
+++ b/sw/qa/extras/layout/layout3.cxx
@@ -2290,6 +2290,18 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter3, testTdf138124)
1);
}
+CPPUNIT_TEST_FIXTURE(SwLayoutWriter3, TestTdf161348)
+{
+ createSwDoc("fdo48718-1.docx");
+
+ xmlDocUniquePtr pXml = parseLayoutDump();
+
+ // the floating table is on page 1
+ // apparently both parts of the split table are on this text frame
+ assertXPath(pXml, "/root/page[1]/body/txt[2]/anchored/fly"_ostr, 2);
+ assertXPath(pXml, "/root/page[1]/body/txt[2]/anchored/fly/tab"_ostr, 2);
+}
+
CPPUNIT_TEST_FIXTURE(SwLayoutWriter3, testTdf154113)
{
createSwDoc("three_sections.fodt");