diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-11 22:24:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-12 12:42:15 +0200 |
commit | cbaf1fbaa6e707d939f815eda360fad68a492aca (patch) | |
tree | 20b3dfeac257130afb01572b2c117b7840d07007 /jvmfwk/source | |
parent | f751417b77e6573a0c639778e76ec943449f4573 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk/source')
-rw-r--r-- | jvmfwk/source/fwkbase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx index bb5df10a9c4d..225437011fdd 100644 --- a/jvmfwk/source/fwkbase.cxx +++ b/jvmfwk/source/fwkbase.cxx @@ -23,6 +23,7 @@ #include <libxml/xpathInternals.h> #include <osl/file.hxx> #include <osl/thread.hxx> +#include <o3tl/string_view.hxx> #include "framework.hxx" #include <fwkutil.hxx> #include <elements.hxx> @@ -429,7 +430,7 @@ OUString getApplicationClassPath() sal_Int32 index = 0; do { - OUString token( sParams.getToken( 0, ' ', index ).trim() ); + OUString token( o3tl::trim(o3tl::getToken(sParams, 0, ' ', index )) ); if (!token.isEmpty()) { OUString systemPathElement; |