summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-09-11 11:52:00 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-09-11 17:15:55 +0200
commitf44c334a3e2eb8f0fb57df6805c12fc1c128ea99 (patch)
tree9ff6946adbf38a3b407a5d63b0446e05b5a7bbfa /sw/qa
parentf24cf13f0eaa3fb2f5e159d83eaf4c705b4388a8 (diff)
tdf#159032: minimize sample file
it still crashes if the fix is reverted. Also rename it since the filename is confusing See https://gerrit.libreoffice.org/c/core/+/161652/comments/14d0a095_4e005629 Change-Id: I1a629b8be171d17600024ebdc4ab0584af2342f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173197 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/ooxmlexport/data/tdf124795-5.docxbin36739 -> 0 bytes
-rw-r--r--sw/qa/extras/ooxmlexport/data/tdf159032.docxbin0 -> 23567 bytes
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport14.cxx4
3 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf124795-5.docx b/sw/qa/extras/ooxmlexport/data/tdf124795-5.docx
deleted file mode 100644
index 19fd5f49c89c..000000000000
--- a/sw/qa/extras/ooxmlexport/data/tdf124795-5.docx
+++ /dev/null
Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/data/tdf159032.docx b/sw/qa/extras/ooxmlexport/data/tdf159032.docx
new file mode 100644
index 000000000000..db434f66966f
--- /dev/null
+++ b/sw/qa/extras/ooxmlexport/data/tdf159032.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
index 35cd749be85f..cbfa5a2aa357 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
@@ -1463,10 +1463,10 @@ DECLARE_OOXMLEXPORT_TEST(testTdf158436, "tdf158436.docx")
CPPUNIT_ASSERT_EQUAL(1, getPages());
}
-DECLARE_OOXMLEXPORT_TEST(testTdf159032, "tdf124795-5.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf159032, "tdf159032.docx")
{
// This resulted crashing
- CPPUNIT_ASSERT_EQUAL(57, getPages());
+ CPPUNIT_ASSERT_EQUAL(2, getPages());
}
DECLARE_OOXMLEXPORT_TEST(testTdf160518, "tdf160518_useWord2013TrackBottomHyphenation.docx")