summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-01-03 11:49:02 +0600
committerMichael Stahl <michael.stahl@allotropia.de>2024-01-10 13:26:43 +0100
commit496386d34ba5f55a6a7724929e83374f6a4a9eef (patch)
tree920caa576537bbeaf85cf744ef31afadf80e8d53 /sfx2
parentc0f8ebe8554f55489e22820e3f230e937243289c (diff)
UnoApiTest::loadFromURL -> UnoApiTest::loadFromFile
The old name was misleading (it doesn't take an URL, but a filename); also, now it's easier to grep for it - doesn't get mixed with vcl::graphic::loadFromURL. Change-Id: Ib88d2194200a6a54d2326971e0306ba39f0c7025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161578 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161888 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/qa/cppunit/test_misc.cxx2
-rw-r--r--sfx2/qa/cppunit/view.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/qa/cppunit/test_misc.cxx b/sfx2/qa/cppunit/test_misc.cxx
index a59a1128e7df..d80a037f6f07 100644
--- a/sfx2/qa/cppunit/test_misc.cxx
+++ b/sfx2/qa/cppunit/test_misc.cxx
@@ -86,7 +86,7 @@ CPPUNIT_TEST_FIXTURE(MiscTest, testODFCustomMetadata)
CPPUNIT_TEST_FIXTURE(MiscTest, testNoThumbnail)
{
// Load a document.
- loadFromURL(u"hello.odt");
+ loadFromFile(u"hello.odt");
// Save it with the NoThumbnail option and assert that it has no thumbnail.
#ifndef _WIN32
diff --git a/sfx2/qa/cppunit/view.cxx b/sfx2/qa/cppunit/view.cxx
index b553e17f74ff..725cb5d02cea 100644
--- a/sfx2/qa/cppunit/view.cxx
+++ b/sfx2/qa/cppunit/view.cxx
@@ -35,7 +35,7 @@ public:
CPPUNIT_TEST_FIXTURE(Sfx2ViewTest, testReloadPage)
{
// Load a document, which has 2 pages.
- loadFromURL(u"reload-page.odg");
+ loadFromFile(u"reload-page.odg");
// Reload, and request to start on page 2.
SfxViewFrame* pFrame = SfxViewFrame::Current();