bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0c8443c69a8e8c3c6da24748050d238ba3227b17
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Sep 3 11:19:53 2024 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Sep 4 10:52:02 2024 +0200

    tdf#160945: queryInterface must pass back indirect return value address in 
x0
    
    Change-Id: I28dacffbbcdf26ee453fd32aeb82166484612846
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172791
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>
    (cherry picked from commit f610a602c94925f2cae7765bae4a53816dd46aa5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172763
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx 
b/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
index 9a79ce543940..f864e193c729 100644
--- a/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
@@ -278,6 +278,7 @@ extern "C" void vtableCall(sal_Int32 functionIndex, 
sal_Int32 vtableOffset, sal_
                                               
reinterpret_cast<uno_AcquireFunc>(uno::cpp_acquire));
                             ifc->release();
                             TYPELIB_DANGER_RELEASE(td);
+                            gpr[0] = reinterpret_cast<sal_uInt64>(indirectRet);
                             break;
                         }
                         TYPELIB_DANGER_RELEASE(td);

Reply via email to