summaryrefslogtreecommitdiffstats
path: root/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 14:04:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 14:03:25 +0100
commit12e460d99988a66179381fe40185978450ea0ea0 (patch)
treeb9c38e7c4a3c1a71647a75c8be9356813c6200a4 /bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
parentUpdate git submodules (diff)
downloadcore-12e460d99988a66179381fe40185978450ea0ea0.tar.gz
core-12e460d99988a66179381fe40185978450ea0ea0.zip
loplugin:buriedassign in avmedia..cui
Change-Id: Id44f1e98a3aac2c417f8030de603175bf68f0dfe Reviewed-on: https://gerrit.libreoffice.org/63467 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 6e860ea257ac..1f47f4c9b2dc 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -160,7 +160,8 @@ static typelib_TypeClass cpp2uno_call(
}
else if ( bridges::cpp_uno::shared::relatesToInterfaceType( pParamTypeDescr ) ) // is in/inout
{
- uno_copyAndConvertData( pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ),
+ pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize );
+ uno_copyAndConvertData( pUnoArgs[nPos],
pCppStack, pParamTypeDescr,
pThis->getBridge()->getCpp2Uno() );
pTempIndices[nTempIndices] = nPos; // has to be reconverted