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

New commits:
commit 79ca1a3c7697a85ea272faad3861792f97da2b5e
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Sep 3 11:19:53 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Sep 5 15:37:34 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/+/172764
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    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