sc/qa/unit/data/ods/tdf136551.ods      |binary
 sc/qa/unit/subsequent_filters_test.cxx |    4 ++++
 2 files changed, 4 insertions(+)

New commits:
commit 2337bd5f0d9977a0ecd110abdebea7f331d360df
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Nov 19 10:40:18 2021 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Nov 19 14:55:34 2021 +0100

    tdf#136551: sc_subsequent_filters: Add unittest
    
    we can use the file from tdf#134867 to test tdf#136551
    although one bug is in calc and the other is in writer
    In the end, the problem is in the sax parser when dealing
    with files bigger than 10Mbs so the problem is not
    specific to one component
    
    Change-Id: If366626b386c592a0b780692a951b27a3e5cdbe5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125538
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/unit/data/ods/tdf136551.ods 
b/sc/qa/unit/data/ods/tdf136551.ods
new file mode 100644
index 000000000000..adb84f7c27e4
Binary files /dev/null and b/sc/qa/unit/data/ods/tdf136551.ods differ
diff --git a/sc/qa/unit/subsequent_filters_test.cxx 
b/sc/qa/unit/subsequent_filters_test.cxx
index 4e261b536ede..99030f3e90d7 100644
--- a/sc/qa/unit/subsequent_filters_test.cxx
+++ b/sc/qa/unit/subsequent_filters_test.cxx
@@ -215,6 +215,7 @@ public:
     void testTdf138507();
     void testTdf131380();
     void testTdf139782();
+    void testTdf136551();
     void testTdf129681();
     void testTdf111974XLSM();
     void testEscapedUnicodeXLSX();
@@ -319,6 +320,7 @@ public:
     CPPUNIT_TEST(testTdf138507);
     CPPUNIT_TEST(testTdf131380);
     CPPUNIT_TEST(testTdf139782);
+    CPPUNIT_TEST(testTdf136551);
     CPPUNIT_TEST(testTdf129681);
     CPPUNIT_TEST(testTdf111974XLSM);
     CPPUNIT_TEST(testEscapedUnicodeXLSX);
@@ -3078,6 +3080,8 @@ void ScFiltersTest::testTdf131380() { 
testImportCrash(u"tdf131380.", FORMAT_XLSX
 
 void ScFiltersTest::testTdf139782() { testImportCrash(u"tdf139782.", 
FORMAT_ODS); }
 
+void ScFiltersTest::testTdf136551() { testImportCrash(u"tdf136551.", 
FORMAT_ODS); }
+
 void ScFiltersTest::testTdf129681()
 {
     ScDocShellRef xDocSh = loadDoc(u"tdf129681.", FORMAT_ODS);

Reply via email to