diff options
-rw-r--r-- | include/tools/urlobj.hxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index 84556aa4a609..391a629c5598 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -23,10 +23,10 @@ #include <rtl/ustrbuf.hxx> #include <rtl/textenc.h> #include <sal/types.h> -#include <o3tl/string_view.hxx> #include <o3tl/typed_flags_set.hxx> #include <memory> +#include <string_view> class SvMemoryStream; @@ -381,7 +381,7 @@ public: bool isSchemeEqualTo(INetProtocol scheme) const { return scheme == m_eScheme; } - bool isSchemeEqualTo(o3tl::u16string_view scheme) const; + bool isSchemeEqualTo(std::u16string_view scheme) const; /** Check if the scheme is one of the WebDAV scheme * we know about. diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index e280a7f84abe..45bd5a0d283f 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -3862,7 +3862,7 @@ OUString INetURLObject::getExternalURL() const return aTheExtURIRef; } -bool INetURLObject::isSchemeEqualTo(o3tl::u16string_view scheme) const { +bool INetURLObject::isSchemeEqualTo(std::u16string_view scheme) const { return m_aScheme.isPresent() && (rtl_ustr_compareIgnoreAsciiCase_WithLength( scheme.data(), scheme.size(), |