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>
This commit is contained in:
parent
85bf23b2f7
commit
de26b2661b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user