diff options
-rw-r--r-- | sal/osl/w32/signal.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx index 6feec0cc413f..8236bfc3d1f9 100644 --- a/sal/osl/w32/signal.cxx +++ b/sal/osl/w32/signal.cxx @@ -439,11 +439,13 @@ sal_Bool SAL_CALL osl_setErrorReporting( sal_Bool bEnable ) sal_Bool bOld = bErrorReportingEnabled; bErrorReportingEnabled = bEnable; +#if defined _MSC_VER if( !bEnable) // if the crash reporter is disabled { // fall back to handle Window's SEH events as C++ exceptions _set_se_translator( win_seh_translator); } +#endif return bOld; } |