summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-10 15:30:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-10 22:25:16 +0100
commit06b854bff6061f69d113b2992d646c368d05ce50 (patch)
treedfd82d6cdbbc212a5bd5bb7579e47f71666fc88b /sfx2/source/appl/sfxhelp.cxx
parentc16156f78664cf62c1ccc0041370674faf4c0196 (diff)
o3tl::string_view -> std::string_view (in sfx2)
Change-Id: I61b40db1e75938ecf09c3c2e039be2d757fde170 Reviewed-on: https://gerrit.libreoffice.org/66116 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index ebf530a00fb5..e0540ec5e1d9 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -21,6 +21,7 @@
#include <sfx2/sfxhelp.hxx>
#include <set>
+#include <string_view>
#include <algorithm>
#include <cassert>
@@ -758,7 +759,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) {
<< " before [Instance] app-path");
throw Failure();
}
- o3tl::string_view const line(
+ std::string_view const line(
reinterpret_cast<char const *>(bytes.getConstArray()), bytes.getLength());
if (instance) {
static constexpr auto keyPath = OUStringLiteral("app-path=");