sw/qa/extras/ooxmlexport/data/tdf168017.docx |binary
 sw/qa/extras/ooxmlexport/ooxmlexport16.cxx   |    5 +++++
 2 files changed, 5 insertions(+)

New commits:
commit 2b376f97b77815a1f28d441841ac7e09d5beae79
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed Aug 20 12:06:50 2025 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Aug 20 21:09:20 2025 +0200

    tdf#168017: sw_ooxmlexport16: Add test
    
    Change-Id: I820266b630f4e95e9d0925b44f3a2f2c2d445846
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189964
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/extras/ooxmlexport/data/tdf168017.docx 
b/sw/qa/extras/ooxmlexport/data/tdf168017.docx
new file mode 100644
index 000000000000..339df301da80
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf168017.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx
index 21aabad8e892..e22f053c4a81 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx
@@ -490,6 +490,11 @@ DECLARE_OOXMLEXPORT_TEST(testTdf138771, "tdf138771.docx")
     CPPUNIT_ASSERT_EQUAL(1, getPages());
 }
 
+DECLARE_OOXMLEXPORT_TEST(testTdf168017, "tdf168017.docx")
+{
+    // Don't crash when document is imported
+}
+
 DECLARE_OOXMLEXPORT_TEST(testTdf125936_numberingSuperscript, 
"tdf125936_numberingSuperscript.docx")
 {
     // Without the fix, the first character run was superscripted.

Reply via email to