diff options
Diffstat (limited to 'bridges/source/cpp_uno/shared/component.cxx')
-rw-r--r-- | bridges/source/cpp_uno/shared/component.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx index 2c755fedb111..9cd2b5ba5f36 100644 --- a/bridges/source/cpp_uno/shared/component.cxx +++ b/bridges/source/cpp_uno/shared/component.cxx @@ -98,7 +98,8 @@ static void s_stub_computeObjectIdentifier(va_list * pParam) // ];good guid oid.append( cppu_cppenv_getStaticOIdPart() ); OUString aRet( oid.makeStringAndClear() ); - ::rtl_uString_acquire( *ppOId = aRet.pData ); + *ppOId = aRet.pData; + ::rtl_uString_acquire( *ppOId ); } } catch (const ::com::sun::star::uno::RuntimeException & e) |