From 14471a694271777440c19916055d659337c0fb8d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Apr 2020 14:54:45 +0200 Subject: loplugin:buriedassign in b* Change-Id: Ic20f46105a30b54bc5a991b4070e6c8edb15376e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92189 Tested-by: Jenkins Reviewed-by: Noel Grandin --- bridges/source/cpp_uno/shared/component.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bridges') 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) -- cgit