summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-13 14:05:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-13 16:55:35 +0200
commitdae0083c69e91fff3c4f5db762e4189bbdc6eb7f (patch)
treebf8b13913860fa9685fa355e39bc7d1c3cc0b703 /include
parenta5343a89f898468178f04c241de0b2c2a314a1b5 (diff)
use more string_view in svl
Change-Id: I9b6a074eb6342808d02a69f3ed1fa713e81d2608 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132958 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svl/inettype.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/inettype.hxx b/include/svl/inettype.hxx
index dc5aa4f3a732..ea955437e472 100644
--- a/include/svl/inettype.hxx
+++ b/include/svl/inettype.hxx
@@ -252,7 +252,7 @@ public:
static INetContentType GetContentTypeFromURL(OUString const& rURL);
- static bool GetExtensionFromURL(OUString const& rURL, OUString& rExtension);
+ static bool GetExtensionFromURL(std::u16string_view rURL, OUString& rExtension);
static bool parse(OUString const& rMediaType, OUString& rType, OUString& rSubType,
INetContentTypeParameterList* pParameters = nullptr);