This is an automated email from the ASF dual-hosted git repository. damjan pushed a commit to branch windows-amd64 in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 0c2e3065a0ed4b4c7df10daac0547e1eff282ac7 Author: Damjan Jovanovic <[email protected]> AuthorDate: Sun Feb 8 09:44:08 2026 +0200 Invert the broken logic for when to pass typelib_TypeClass_STRUCT and typelib_TypeClass_EXCEPTION on the stack vs registers. Patch by: me --- main/bridges/source/cpp_uno/msvc_win64_x86-64/abi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/bridges/source/cpp_uno/msvc_win64_x86-64/abi.cxx b/main/bridges/source/cpp_uno/msvc_win64_x86-64/abi.cxx index 244635ebe0..01176dc825 100644 --- a/main/bridges/source/cpp_uno/msvc_win64_x86-64/abi.cxx +++ b/main/bridges/source/cpp_uno/msvc_win64_x86-64/abi.cxx @@ -70,12 +70,12 @@ bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef if ( pTypeDescr->nSize > 8 ) { TYPELIB_DANGER_RELEASE( pTypeDescr ); - return false; + return true; } else { TYPELIB_DANGER_RELEASE( pTypeDescr ); - return true; + return false; } }
