sw/qa/extras/htmlexport/htmlexport.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 677ec236e7409681e04578c8501833792c5f8099 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Thu Jun 1 10:04:44 2023 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Jun 1 12:47:21 2023 +0200 CppunitTest_sw_htmlexport: fix test after my previous commit In 6aec73de12a56a56b3ffd9bb86b559bf0609bf58 "SwModelTestBase: drop mustCalcLayoutOf", I misread the code and thought that loadAndReload wasn't calling calcLayout anymore. Obviously I was wrong. adapt the code to do load and save without calling calcLayout and without reintroducing the mustCalcLayoutOf complexity Change-Id: I4d5619a0443e70bbec89c4513ab86a93d968646c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152477 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index 6342fe769ae7..b492f133dc63 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -340,8 +340,9 @@ DECLARE_HTMLEXPORT_ROUNDTRIP_TEST(testFdo81276, "fdo81276.html") CPPUNIT_TEST_FIXTURE(HtmlExportTest, testFdo62336) { // The problem was essentially a crash during table export as docx/rtf/html - // If calc-layout is enabled, the crash does not occur - loadAndReload("fdo62336.docx"); + // If calc-layout is enabled, the crash does not occur, that's why loadFromURL/save is used + loadFromURL(u"fdo62336.docx"); + save("HTML (StarWriter)"); } DECLARE_HTMLEXPORT_ROUNDTRIP_TEST(testFdo86857, "fdo86857.html")