summaryrefslogtreecommitdiff
path: root/sw/qa/uibase/uiview/uiview.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-10-28 14:36:38 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-29 09:11:37 +0100
commita38a22c7e55bf076f96589492e8f42f6c2f7639c (patch)
treeec004d872c3db79dee25c126735e15e12f32ded0 /sw/qa/uibase/uiview/uiview.cxx
parent25a5172071e1eacb9ea124f17434ce2b1e039b33 (diff)
UnoApiTest: rename load to loadFromURL and use it everywhere
Change-Id: Ie67eebec74f783fa0c29acfb23bb83bc582812b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175724 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'sw/qa/uibase/uiview/uiview.cxx')
-rw-r--r--sw/qa/uibase/uiview/uiview.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/uibase/uiview/uiview.cxx b/sw/qa/uibase/uiview/uiview.cxx
index fe4540e64e81..331795649a0f 100644
--- a/sw/qa/uibase/uiview/uiview.cxx
+++ b/sw/qa/uibase/uiview/uiview.cxx
@@ -96,8 +96,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseUiviewTest, testUpdateReplacementNosetting)
// Load a copy of the document in hidden mode.
OUString aSourceURL = createFileURL(u"update-replacement-nosetting.odt");
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, osl::File::copy(aSourceURL, maTempFile.GetURL()));
- mxComponent = loadFromDesktop(maTempFile.GetURL(), u"com.sun.star.text.TextDocument"_ustr,
- { comphelper::makePropertyValue(u"Hidden"_ustr, true) });
+ loadWithParams(maTempFile.GetURL(), { comphelper::makePropertyValue(u"Hidden"_ustr, true) });
// Update "everything" (including object replacements) and save it.
dispatchCommand(mxComponent, u".uno:UpdateAll"_ustr, {});