summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
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 'dbaccess')
-rw-r--r--dbaccess/qa/extras/macros-test.cxx2
-rw-r--r--dbaccess/qa/unit/firebird.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx
index 7545d6168e74..a48115ed418d 100644
--- a/dbaccess/qa/extras/macros-test.cxx
+++ b/dbaccess/qa/extras/macros-test.cxx
@@ -32,7 +32,7 @@ DBAccessTest::DBAccessTest()
{
}
-void DBAccessTest::test() { loadFromURL(u"testdb.odb"); }
+void DBAccessTest::test() { loadFromFile(u"testdb.odb"); }
CPPUNIT_TEST_SUITE_REGISTRATION(DBAccessTest);
diff --git a/dbaccess/qa/unit/firebird.cxx b/dbaccess/qa/unit/firebird.cxx
index 8eaf39430e96..1b6b7172fdbd 100644
--- a/dbaccess/qa/unit/firebird.cxx
+++ b/dbaccess/qa/unit/firebird.cxx
@@ -59,7 +59,7 @@ void FirebirdTest::testEmptyDBConnection()
*/
void FirebirdTest::testIntegerDatabase()
{
- loadFromURL(u"firebird_integer_ods12.odb");
+ loadFromFile(u"firebird_integer_ods12.odb");
uno::Reference< XOfficeDatabaseDocument > xDocument(mxComponent, UNO_QUERY_THROW);
uno::Reference< XConnection > xConnection =
@@ -97,7 +97,7 @@ void FirebirdTest::testIntegerDatabase()
void FirebirdTest::testTdf132924()
{
- loadFromURL(u"tdf132924.odb");
+ loadFromFile(u"tdf132924.odb");
uno::Reference< XOfficeDatabaseDocument > xDocument(mxComponent, UNO_QUERY_THROW);
uno::Reference<XConnection> xConnection = getConnectionForDocument(xDocument);