diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 239b81b595f2..66524fed05a6 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -1095,9 +1095,8 @@ static uno_Environment * initDefaultEnvironment( OUString envPurpose = cppu::EnvDcp::getPurpose(rEnvDcp); if (!envPurpose.isEmpty()) { - rtl::OUString libStem = envPurpose.copy(envPurpose.lastIndexOf(':') + 1); - libStem += rtl::OUString("_uno_uno"); - + rtl::OUString libStem( + envPurpose.copy(envPurpose.lastIndexOf(':') + 1) + "_uno_uno"); if(!loadEnv(libStem, pEnv)) { pEnv->release(pEnv); |