loplugin:stringadd
Change-Id: I04dad33cad121eba7189fc78cac762e31d7c4c2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150477 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
066b23115c
commit
1c8df0fd1a
1 changed files with 1 additions and 3 deletions
|
@ -208,9 +208,7 @@ void pythonInit() {
|
|||
OUString sBrandLocation("$BRAND_BASE_DIR/program");
|
||||
rtl::Bootstrap::expandMacros(sBrandLocation);
|
||||
osl::FileBase::getSystemPathFromFileURL(sBrandLocation, sBrandLocation);
|
||||
sPath = OUStringBuffer(sPath).
|
||||
append(static_cast<sal_Unicode>(SAL_PATHSEPARATOR)).
|
||||
append(sBrandLocation).makeStringAndClear();
|
||||
sPath = sPath + OUStringChar(SAL_PATHSEPARATOR) + sBrandLocation;
|
||||
osl_setEnvironment(sEnvName.pData, sPath.pData);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue