diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-01-03 11:29:59 +0600 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-01-03 07:22:12 +0100 |
commit | 8ecd20b447ab5e58fa77c19fce09c0f239d1fafc (patch) | |
tree | a8e3b0e77b829a68b50e380403ac13f2c8b225b5 | |
parent | 4963fc47a0381967246e15479bf79bb58dddc465 (diff) |
Use loadFromURL to simplify
Change-Id: I0a1acf2b20265a603d4f28a62a9f47d49e201f9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161577
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport20.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |