diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-13 14:32:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-13 16:55:54 +0200 |
commit | 239752d358a44d9bd9e5e2a9b7e6084da97d8862 (patch) | |
tree | 5327490396d683db93f6c332ef58fd8f9248f914 /include/vcl/IconThemeInfo.hxx | |
parent | dae0083c69e91fff3c4f5db762e4189bbdc6eb7f (diff) |
use more string_view in vcl
Change-Id: Iabe6c14d17c7805fcc3697cd919234abe3f0a0f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132963
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/IconThemeInfo.hxx')
-rw-r--r-- | include/vcl/IconThemeInfo.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/IconThemeInfo.hxx b/include/vcl/IconThemeInfo.hxx index ec116ca2f4fc..f061821ceaa1 100644 --- a/include/vcl/IconThemeInfo.hxx +++ b/include/vcl/IconThemeInfo.hxx @@ -51,7 +51,7 @@ public: static Size SizeByThemeName(std::u16string_view); /** Check whether an IconThemeInfo can be constructed from a URL */ - static bool UrlCanBeParsed(const OUString& url); + static bool UrlCanBeParsed(std::u16string_view url); /** Find an icon theme by its id in a vector. * Throws a runtime_error if the theme is not contained in the vector @@ -73,7 +73,7 @@ private: * If the name does not have an underscore in it, the whole name until the last dot is returned, * e.g. default.zip becomes default */ - static OUString FileNameToThemeId(const OUString&); + static OUString FileNameToThemeId(std::u16string_view); /** Creates the display name for the given id of a file. * Currently, we only uppercase the id. |