summaryrefslogtreecommitdiffstats
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-11 21:03:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-12 08:09:35 +0100
commitde26b2661bd77a9708889c1bbed0cb981a470663 (patch)
treec21bb65bdc68f562f01bd5ed3b84af86de220ef9 /cppuhelper
parentReenable sw.PageStyle::com::sun::star::beans::XPropertySet check (diff)
downloadcore-de26b2661bd77a9708889c1bbed0cb981a470663.tar.gz
core-de26b2661bd77a9708889c1bbed0cb981a470663.zip
loplugin:stringview (macOS)
Change-Id: Ie3a6db501328e787d7b87dfd1aef73d9d79a49ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105608 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/paths.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/paths.cxx b/cppuhelper/source/paths.cxx
index 49144f715e54..0f59fb1272da 100644
--- a/cppuhelper/source/paths.cxx
+++ b/cppuhelper/source/paths.cxx
@@ -73,7 +73,7 @@ OUString cppu::getUnoIniUri() {
// looking for the latter one here. I think...
if (uri.endsWith( "/" LIBO_LIB_FOLDER ) )
{
- uri = uri.copy( 0, uri.getLength() - (sizeof(LIBO_LIB_FOLDER)-1) ) + LIBO_URE_ETC_FOLDER;
+ uri = OUString::Concat(uri.subView( 0, uri.getLength() - (sizeof(LIBO_LIB_FOLDER)-1) )) + LIBO_URE_ETC_FOLDER;
}
#endif
#endif