From cbaf1fbaa6e707d939f815eda360fad68a492aca Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Apr 2022 22:24:20 +0200 Subject: loplugin:stringview more o3tl conversion look for call sequences that can use string_view and the new o3tl functions in o3tl/string_view.hxx Also add a few more wrappers to said #include file Change-Id: I05d8752cc67a7b55b0b57e8eed803bd06bfcd9ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132840 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/loadenv/loadenv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index cb63ed31d232..c1d2eda94b60 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -673,7 +673,7 @@ bool queryOrcusTypeAndFilter(const uno::Sequence& rDescrip } } - if (aURL.isEmpty() || aURL.copy(0,8).equalsIgnoreAsciiCase("private:")) + if (aURL.isEmpty() || o3tl::equalsIgnoreAsciiCase(aURL.subView(0,8), u"private:")) return false; // TODO : Type must be set to be generic_Text (or any other type that -- cgit v1.2.3