sw/qa/extras/ooxmlexport/ooxmlexport20.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c0f8ebe8554f55489e22820e3f230e937243289c
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Wed Jan 3 11:29:59 2024 +0600
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Jan 10 13:26:27 2024 +0100

    Use loadFromURL to simplify
    
    Change-Id: I0a1acf2b20265a603d4f28a62a9f47d49e201f9b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161577
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161887
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
index 317937fb3742..4324976879f8 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
@@ -1026,7 +1026,7 @@ CPPUNIT_TEST_FIXTURE(Test, testtdf158044)
 CPPUNIT_TEST_FIXTURE(Test, testTdf158855)
 {
     // Given a table immediately followed by a section break
-    load(createFileURL(u"section_break_after_table.docx"));
+    loadFromURL(u"section_break_after_table.docx");
 
     // Check that the import doesn't produce an extra empty paragraph before a 
page break
     CPPUNIT_ASSERT_EQUAL(2, getPages()); // was 3
@@ -1045,7 +1045,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf158855)
 CPPUNIT_TEST_FIXTURE(Test, testTdf158971)
 {
     // Given a section break and an SDT in the following paragraph
-    load(createFileURL(u"sdt_after_section_break.docx"));
+    loadFromURL(u"sdt_after_section_break.docx");
 
     // Check that the import doesn't introduce unwanted character properties 
in the paragraph after
     // the section break

Reply via email to