summaryrefslogtreecommitdiff
path: root/sw/qa/extras/layout/layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-05 13:22:44 +0000
committerAndras Timar <andras.timar@collabora.com>2021-05-10 16:33:50 +0200
commit8d300dd55221f25c86ddca42beb234d495890c5f (patch)
tree50097ae68fc60a54c42d8925d65cc38e20df6d91 /sw/qa/extras/layout/layout.cxx
parentd114007a25b4ccd590818cfe8fefd91ddfeb7969 (diff)
tdf#119126 forcepoint#76 avoid deleting footnote that would delete ...
... undeletable page (cherry picked from commit 0005b330eaed0b5559042d2597fb45e0c9125d7e) Conflicts: sw/qa/extras/layout/layout.cxx Change-Id: I4622569eb9c757c6dcbdda32081ddc94e53db919 Reviewed-on: https://gerrit.libreoffice.org/66393 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 558f01a29cb640760e73724f6efdc0a1be20c8e3)
Diffstat (limited to 'sw/qa/extras/layout/layout.cxx')
-rw-r--r--sw/qa/extras/layout/layout.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 9a73e2025147..956aaf8d2ad9 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -19,11 +19,13 @@ public:
void testTdf116830();
void testTdf116925();
void testTdf117028();
+ void testForcepoint76();
CPPUNIT_TEST_SUITE(SwLayoutWriter);
CPPUNIT_TEST(testTdf116830);
CPPUNIT_TEST(testTdf116925);
CPPUNIT_TEST(testTdf117028);
+ CPPUNIT_TEST(testForcepoint76);
CPPUNIT_TEST_SUITE_END();
private:
@@ -108,6 +110,9 @@ void SwLayoutWriter::testTdf117028()
assertXPathContent(pXmlDoc, "//textarray/text", "Hello");
}
+//just care it doesn't crash/assert
+void SwLayoutWriter::testForcepoint76() { createDoc("forcepoint76-1.rtf"); }
+
CPPUNIT_TEST_SUITE_REGISTRATION(SwLayoutWriter);
CPPUNIT_PLUGIN_IMPLEMENT();