diff options
Diffstat (limited to 'cppu/source/uno/EnvStack.cxx')
-rw-r--r-- | cppu/source/uno/EnvStack.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/uno/EnvStack.cxx b/cppu/source/uno/EnvStack.cxx index 5757023cbb88..748557e8b98a 100644 --- a/cppu/source/uno/EnvStack.cxx +++ b/cppu/source/uno/EnvStack.cxx @@ -119,7 +119,7 @@ extern "C" void SAL_CALL uno_getCurrentEnvironment(uno_Environment ** ppEnv, rtl if (pTypeName && rtl_uString_getLength(pTypeName)) { - OUString envDcp = OUString(pTypeName) + currPurpose; + OUString envDcp = OUString::unacquired(&pTypeName) + currPurpose; uno_getEnvironment(ppEnv, envDcp.pData, nullptr); } |