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

New commits:
commit 6808f5547e1ecd73f55ecbcd964d15b2c1a8e502
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Sep 3 11:19:53 2024 +0200
Commit:     Balazs Varga <balazs.varga.ext...@allotropia.de>
CommitDate: Wed Oct 2 19:50:33 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>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174260
    Tested-by: Balazs Varga <balazs.varga.ext...@allotropia.de>
    Reviewed-by: Balazs Varga <balazs.varga.ext...@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