summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-25 14:16:16 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-25 18:27:24 +0200
commit7414fc841803201991d7e8e7b2959a89cca5a222 (patch)
tree83820ced07ff29ff622b06f780187625ef376198 /bridges
parentdee3e2d7c8d412951099e4425e6ece24431cd98d (diff)
Adapt queryInterface in fixed msvc_win32_arm64 UNO bridge
...where the function's argument is in x2, not x1 (see commit message of ae6ee262d7649222a137f8722886a10db274ddf5 "Some fixing of msvc_win32_arm64 UNO bridge" for details) Change-Id: I00ef5df1ebad4609918c0c6845ebdcfe810f6152 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166622 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
index da8694667b3c..a43cd3e24698 100644
--- a/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_arm64/cpp2uno.cxx
@@ -290,7 +290,7 @@ extern "C" void vtableCall(sal_Int32 functionIndex, sal_Int32 vtableOffset, sal_
{
typelib_TypeDescription* td = nullptr;
TYPELIB_DANGER_GET(&td,
- (reinterpret_cast<uno::Type*>(gpr[1])->getTypeLibType()));
+ (reinterpret_cast<uno::Type*>(gpr[2])->getTypeLibType()));
if (td != 0 && td->eTypeClass == typelib_TypeClass_INTERFACE)
{
uno::XInterface* ifc = nullptr;