summaryrefslogtreecommitdiff
path: root/sfx2/source/control/bindings.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-17 11:54:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-17 11:54:15 +0200
commit3c4f17b571ba041cb03d5c7e27968ee11edfb97d (patch)
treedc5e42fd04bc795603498209987638e036814744 /sfx2/source/control/bindings.cxx
parentd10d846eb9dd5f1f4e9577c62ad169f865b8a647 (diff)
Don't swallow exceptions in DBG_UTIL mode
Besides, the original "on Windows..." comment from 600163882703c64103784ff66c4bedfbe83809eb "INTEGRATION: CWS fwkfinal1: #i43920#: catch hidden exceptions" looks bogus, anyway. Change-Id: I1a31b63ca5aa818db3730b2006d2381b749e4dd3
Diffstat (limited to 'sfx2/source/control/bindings.cxx')
-rw-r--r--sfx2/source/control/bindings.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index c418d0795445..04d625a50b59 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1443,12 +1443,6 @@ IMPL_LINK( SfxBindings, NextJob, Timer *, pTimer, void )
bool SfxBindings::NextJob_Impl(Timer * pTimer)
{
-#ifdef DBG_UTIL
- // on Windows very often C++ Exceptions (GPF etc.) are caught by MSVCRT
- // or another MS library try to get them here
- try
- {
-#endif
const unsigned MAX_INPUT_DELAY = 200;
DBG_ASSERT( pImpl->pCaches != nullptr, "SfxBindings not initialized" );
@@ -1539,16 +1533,6 @@ bool SfxBindings::NextJob_Impl(Timer * pTimer)
pImpl->bInNextJob = false;
Broadcast(SfxHint(SFX_HINT_UPDATEDONE));
return true;
-#ifdef DBG_UTIL
- }
- catch (...)
- {
- OSL_FAIL("C++ exception caught!");
- pImpl->bInNextJob = false;
- }
-
- return false;
-#endif
}