sw/qa/extras/ooxmlexport/ooxmlexport8.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 413a520c440d5cfa9f7f33568b9d3018a82c7714
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Tue Apr 18 13:28:42 2023 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Tue Apr 18 13:43:17 2023 +0200

    sw: disable testN830205 on this branch
    
    The problem is that since commit de49e1c55dc10ce1b59345af5cc49fde3adf65b7
    "tdf#149548 sw: don't rely on binary search in SplitRedline()"
    the test asserts, but only with --enable-dbgutil:
    
    sw/source/core/doc/DocumentRedlineManager.cxx:110: void 
{anonymous}::lcl_CheckRedline(IDocumentRedlineAccess&): Assertion 
`std::is_sorted(rTable.begin(), rTable.end(), CompareSwRedlineTable())' failed.
    
    The elements 237/238 are not sorted by end position as they should be.
    
    They were disordered by a TextToTable() via SplitRedline().
    
    This was not asserting before the commit was backported, but that was
    probably an accident.
    
    It's not obvious what fixed this because it doesn't happen on 7.4 or
    later.
    
    Change-Id: I866aee29ac58bd224c86ee29e020bf65d75355cb

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
index fbe8d9d01421..2647b12bcde5 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
@@ -1019,11 +1019,13 @@ DECLARE_OOXMLEXPORT_TEST(testN820509, "n820509.docx")
     CPPUNIT_ASSERT_EQUAL(OUString("M.d.yyyy"), sDateFormat);
 }
 
+#if 0
 DECLARE_OOXMLEXPORT_TEST(testN830205, "n830205.docx")
 {
     // Previously import just crashed (due to infinite recursion).
     getParagraph(1, "XXX");
 }
+#endif
 
 DECLARE_OOXMLEXPORT_TEST(tdf123705, "tdf123705.docx")
 {

Reply via email to