sw/qa/extras/ooxmlexport/ooxmlexport22.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 0f132b61761b6f4cc97e6855f0926bb5e75c3adb Author: Mike Kaganski <[email protected]> AuthorDate: Mon Dec 15 16:32:25 2025 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Mon Dec 15 18:36:46 2025 +0100 Use createFileURL instead of manual URL construction Change-Id: I4d26be9ceca8b60a1b06b49bc6425f66aa40c641 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195677 Reviewed-by: Mike Kaganski <[email protected]> Tested-by: Jenkins diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport22.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport22.cxx index 9ff4f1a55c8d..ebdb3eaf96e1 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport22.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport22.cxx @@ -628,8 +628,7 @@ CPPUNIT_TEST_FIXTURE(Test, testBadFormulaResult) uno::Sequence<beans::PropertyValue> aFilterOptions = { comphelper::makePropertyValue("Hidden", true), }; - mxComponent = loadFromDesktop(m_directories.getURLFromSrc(u"/sw/qa/extras/ooxmlexport/data/") - + "formula-result.fodt", + mxComponent = loadFromDesktop(createFileURL(u"formula-result.fodt"), "com.sun.star.text.TextDocument", aFilterOptions); // When saving to DOCX:
