diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-01-03 11:49:02 +0600 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-01-10 13:26:43 +0100 |
commit | 496386d34ba5f55a6a7724929e83374f6a4a9eef (patch) | |
tree | 920caa576537bbeaf85cf744ef31afadf80e8d53 /include | |
parent | c0f8ebe8554f55489e22820e3f230e937243289c (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 'include')
-rw-r--r-- | include/test/unoapi_test.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 4ba209c44d39..25945832963b 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -38,7 +38,7 @@ public: void load(const OUString& rURL, const char* pPassword = nullptr); void loadWithParams(const OUString& rURL, const css::uno::Sequence<css::beans::PropertyValue>& rParams); - OUString loadFromURL(std::u16string_view aFileBase, const char* pPassword = nullptr); + OUString loadFromFile(std::u16string_view aFileBase, const char* pPassword = nullptr); css::uno::Any executeMacro(const OUString& rScriptURL, const css::uno::Sequence<css::uno::Any>& rParams = {}); |