[Libreoffice-commits] core.git: cppuhelper/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 12 07:10:12 UTC 2020


 cppuhelper/source/paths.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit de26b2661bd77a9708889c1bbed0cb981a470663
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 11 21:03:14 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Nov 12 08:09:35 2020 +0100

    loplugin:stringview (macOS)
    
    Change-Id: Ie3a6db501328e787d7b87dfd1aef73d9d79a49ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105608
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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


More information about the Libreoffice-commits mailing list