diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-12 12:43:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-13 08:38:53 +0200 |
commit | fdfd517a6f75e394ddcb1e195decbfed33ba56b9 (patch) | |
tree | e3bff14e5531affcd908415b4e85d7ceac4aa1fd /vcl/inc/IconThemeScanner.hxx | |
parent | e568c9dca8b93b96a8a130a8fb6f1bba1a33d6ea (diff) |
loplugin:stringviewparam whitelist some more functions
for which we have o3tl:: equivalents
Change-Id: I4670fd8b703ac47214be213f41e88d1c6ede7032
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132913
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/IconThemeScanner.hxx')
-rw-r--r-- | vcl/inc/IconThemeScanner.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/IconThemeScanner.hxx b/vcl/inc/IconThemeScanner.hxx index d997443a63aa..80f24054799f 100644 --- a/vcl/inc/IconThemeScanner.hxx +++ b/vcl/inc/IconThemeScanner.hxx @@ -31,7 +31,7 @@ public: /** Factory method to create the object. * Provide a path to search for IconThemes. */ - static std::shared_ptr<IconThemeScanner> Create(const OUString& path); + static std::shared_ptr<IconThemeScanner> Create(std::u16string_view path); /** This method will return the standard path where icon themes are located. */ @@ -60,7 +60,7 @@ private: * - The directory does not exist * - There are no files which match the pattern images_xxx.zip */ - void ScanDirectoryForIconThemes(const OUString& path); + void ScanDirectoryForIconThemes(std::u16string_view path); /** Adds the provided icon theme by path. */ |