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


The following commit(s) were added to refs/heads/windows-amd64 by this push:
     new 45092bb6a7 4 exception parameters are mandatory on Windows/amd64.
45092bb6a7 is described below

commit 45092bb6a7a7aea668ffed4dd7da79ad39a6c306
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Sat Feb 1 17:54:11 2025 +0200

    4 exception parameters are mandatory on Windows/amd64.
    
    Patch by: me
---
 main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx 
b/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
index a61fb7f715..a4249c556e 100644
--- a/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
+++ b/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
@@ -610,7 +610,7 @@ int mscx_filterCppException(
         return EXCEPTION_CONTINUE_SEARCH;
     
 #if _MSC_VER < 1300 // MSVC -6
-    bool rethrow = (pRecord->NumberParameters < 3 ||
+    bool rethrow = (pRecord->NumberParameters < 4 ||
                     pRecord->ExceptionInformation[ 2 ] == 0);
 #else
     bool rethrow = __CxxDetectRethrow( &pRecord );

Reply via email to