sw/qa/extras/ooxmlexport/data/tdf61309.docx |binary
 sw/qa/extras/ooxmlexport/ooxmlexport21.cxx  |    8 ++++++++
 2 files changed, 8 insertions(+)

New commits:
commit 50097952a8ec6abd2b383d219bdcf26cc7b055d5
Author:     Adam Seskunas <[email protected]>
AuthorDate: Sun Sep 1 07:54:28 2024 -0700
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Sep 2 10:28:07 2024 +0200

    tdf#61309 Add Unit test
    
    Change-Id: I4160a5fc8a14c383b5249eed539ae8044b2a8e7c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172555
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/sw/qa/extras/ooxmlexport/data/tdf61309.docx 
b/sw/qa/extras/ooxmlexport/data/tdf61309.docx
new file mode 100644
index 000000000000..c037a1887a76
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf61309.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport21.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport21.cxx
index a7b8e92ca56f..ee67ec61fe5e 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport21.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport21.cxx
@@ -1169,6 +1169,14 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf89731)
     // Without the fix in place this crashes on opening
     loadAndSave("tdf89731.docx");
 }
+
+CPPUNIT_TEST_FIXTURE(Test, testTdf61309)
+{
+    // Don't crash on import
+    loadAndSave("tdf61309.docx");
+    CPPUNIT_ASSERT_EQUAL(1, getPages());
+}
+
 } // end of anonymous namespace
 CPPUNIT_PLUGIN_IMPLEMENT();
 

Reply via email to