summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-10 15:32:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-11 08:05:57 +0100
commit4f36ea1a1ecde6c000aeb878ab46747edd16c8f0 (patch)
treecf1255b7830eae84bd113088092b6d3a1b4e1791
parent16d1041c604a28e0a8c1a5a5feb4d3dfb7f4e92c (diff)
o3tl::string_view -> std::string_view (in tools)
Change-Id: Ic3952cf0f05752813f60199b7b2c8c8e8dc27427 Reviewed-on: https://gerrit.libreoffice.org/66118 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--include/tools/urlobj.hxx4
-rw-r--r--tools/source/fsys/urlobj.cxx2
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(),