summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 19:05:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-22 20:44:36 +0200
commit49cee95eb4efddefde9caab33d0a639e83f05202 (patch)
treeff85637144cacf22b18e29a62fd854097aa68806 /include/svtools
parent27f3618a600006e59d6b45e22f0eb46457172a52 (diff)
xtend loplugin:stringviewparam to starts/endsWith: svtools
Change-Id: I5364107766dd77963a9a34468754c4cbcc34c8d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122480 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/imageresourceaccess.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/imageresourceaccess.hxx b/include/svtools/imageresourceaccess.hxx
index ccb5b6b69bce..ca76c0909f17 100644
--- a/include/svtools/imageresourceaccess.hxx
+++ b/include/svtools/imageresourceaccess.hxx
@@ -22,6 +22,7 @@
#include <sal/config.h>
#include <memory>
+#include <string_view>
#include <config_options.h>
#include <svtools/svtdllapi.h>
@@ -41,7 +42,7 @@ namespace svt::GraphicAccess
*/
/** determines whether the given URL denotes an image within a resource */
-UNLESS_MERGELIBS(SVT_DLLPUBLIC) bool isSupportedURL(OUString const & rURL);
+UNLESS_MERGELIBS(SVT_DLLPUBLIC) bool isSupportedURL(std::u16string_view rURL);
/** for a given URL of an image within a resource, this method retrieves an
SvStream for this image.