diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-20 09:02:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 15:18:45 +0000 |
commit | 62c047ffb397802c09df9070492e70725928cadf (patch) | |
tree | 2d45dfcd85e627a674458de7f9f8b4fe8d10146c /sal/osl/all | |
parent | 3f6ad98c4764402dc6e876106867e49e3e888f8f (diff) |
switch to EHs on windows
This seems to be a good idea based on several discussions
in the project. In the end catching SEH exceptions is just
going to cause strange platform dependent bahavior.
This patch is based on on
http://thread.gmane.org/gmane.comp.documentfoundation.libreoffice.scm/39102/focus=55516
and includes some additional cleanup of the sal signal code.
Change-Id: Iedc998e37e6495afec445eccb60fa1c2b1a7defd
Reviewed-on: https://gerrit.libreoffice.org/26497
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/signalshared.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sal/osl/all/signalshared.cxx b/sal/osl/all/signalshared.cxx index 341d7dce05d9..9110ab1eb8c0 100644 --- a/sal/osl/all/signalshared.cxx +++ b/sal/osl/all/signalshared.cxx @@ -23,7 +23,6 @@ #include <osl/diagnose.h> -bool bErrorReportingEnabled = true; bool bInitSignal = false; namespace @@ -156,12 +155,10 @@ oslSignalAction SAL_CALL osl_raiseSignal(sal_Int32 userSignal, void* userData) return action; } -sal_Bool SAL_CALL osl_setErrorReporting( sal_Bool bEnable ) +sal_Bool SAL_CALL osl_setErrorReporting( sal_Bool /*bEnable*/ ) { - bool bOld = bErrorReportingEnabled; - bErrorReportingEnabled = bEnable; - onErrorReportingChanged(bEnable); - return bOld; + // this is part of the stable API + return false; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |