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

New commits:
commit 7ce89705a0937786e42e65294f7a45567c4c879b
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Tue Apr 18 13:28:42 2023 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Apr 19 18:15:53 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
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150634
    Tested-by: Michael Stahl <michael.st...@allotropia.de>
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
index 21a40a2b07fd..091a814b291b 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