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

New commits:
commit 8ecd20b447ab5e58fa77c19fce09c0f239d1fafc
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Wed Jan 3 11:29:59 2024 +0600
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Wed Jan 3 07:22:12 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>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
index 45400125a9ee..d783b30a57c7 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
@@ -1046,7 +1046,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
@@ -1065,7 +1065,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