summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2010-06-23 17:19:22 +0200
committerCarsten Driesner <cd@openoffice.org>2010-06-23 17:19:22 +0200
commitb68a479f8fe93e9ab4bbb6d7c05d3c9e0532aa1a (patch)
treedd54fe673d2093f90d1d607c3f87785663060960 /sfx2
parent122581b430e564bcde272a0753f36d64f3aaefb1 (diff)
fwk147: #159152# Use a more robust exception handling to avoid crashes due to unexpected exceptions
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/userinputinterception.cxx14
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;