Kaydet (Commit) 4f36ea1a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

o3tl::string_view -> std::string_view (in tools)

Change-Id: Ic3952cf0f05752813f60199b7b2c8c8e8dc27427
Reviewed-on: https://gerrit.libreoffice.org/66118
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 16d1041c
......@@ -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.
......
......@@ -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(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment