diff options
Diffstat (limited to 'pyuno/source/loader')
-rw-r--r-- | pyuno/source/loader/pyuno_loader.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx index e9cbc807ebf3..27ef6abbc198 100644 --- a/pyuno/source/loader/pyuno_loader.cxx +++ b/pyuno/source/loader/pyuno_loader.cxx @@ -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 |