From a01a642ebbdb8c16f1b54b4634c277b9f665192f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 3 Jan 2024 11:49:02 +0600 Subject: 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 --- cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppcanvas') diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index 21cb7c219e19..1ba179404f28 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -28,7 +28,7 @@ public: Bitmap load(const char* pName) { - loadFromURL(OUString::createFromAscii(pName)); + loadFromFile(OUString::createFromAscii(pName)); SfxBaseModel* pModel = dynamic_cast(mxComponent.get()); CPPUNIT_ASSERT(pModel); SfxObjectShell* pShell = pModel->GetObjectShell(); -- cgit v1.2.3