diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-28 14:36:38 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-29 09:11:37 +0100 |
commit | a38a22c7e55bf076f96589492e8f42f6c2f7639c (patch) | |
tree | ec004d872c3db79dee25c126735e15e12f32ded0 /dbaccess/qa/unit | |
parent | 25a5172071e1eacb9ea124f17434ce2b1e039b33 (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 'dbaccess/qa/unit')
-rw-r--r-- | dbaccess/qa/unit/dbtest_base.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/qa/unit/dbtest_base.cxx b/dbaccess/qa/unit/dbtest_base.cxx index 0208649906ad..86197b89cfb4 100644 --- a/dbaccess/qa/unit/dbtest_base.cxx +++ b/dbaccess/qa/unit/dbtest_base.cxx @@ -51,7 +51,7 @@ public: }; uno::Reference<XOfficeDatabaseDocument> DBTestBase::getDocumentForUrl(OUString const & url) { - mxComponent = loadFromDesktop(url); + loadFromURL(url); uno::Reference< XOfficeDatabaseDocument > xDocument(mxComponent, UNO_QUERY_THROW); return xDocument; } @@ -81,7 +81,7 @@ void DBTestBase::createDBDocument(const OUString& rDriverURL) xStorable->storeAsURL(maTempFile.GetURL(), uno::Sequence< beans::PropertyValue >()); - mxComponent = loadFromDesktop(maTempFile.GetURL()); + loadFromURL(maTempFile.GetURL()); CPPUNIT_ASSERT(mxComponent); } |