diff options
author | Carsten Driesner <cd@openoffice.org> | 2010-06-23 17:19:22 +0200 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2010-06-23 17:19:22 +0200 |
commit | b68a479f8fe93e9ab4bbb6d7c05d3c9e0532aa1a (patch) | |
tree | dd54fe673d2093f90d1d607c3f87785663060960 | |
parent | 122581b430e564bcde272a0753f36d64f3aaefb1 (diff) |
fwk147: #159152# Use a more robust exception handling to avoid crashes due to unexpected exceptions
-rw-r--r-- | sfx2/source/view/userinputinterception.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sfx2/source/view/userinputinterception.cxx b/sfx2/source/view/userinputinterception.cxx index e716e604b649..ad910a944e0f 100644 --- a/sfx2/source/view/userinputinterception.cxx +++ b/sfx2/source/view/userinputinterception.cxx @@ -216,6 +216,13 @@ namespace sfx2 if ( e.Context == xHandler ) aIterator.remove(); } + catch( const RuntimeException& ) + { + throw; + } + catch( const Exception& ) + { + } } } break; @@ -247,6 +254,13 @@ namespace sfx2 if ( e.Context == xHandler ) aIterator.remove(); } + catch( const RuntimeException& ) + { + throw; + } + catch( const Exception& ) + { + } } } break; |