diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-11-10 15:11:43 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-11-10 15:11:43 +0000 |
commit | 4aa03bf69dab52bd71356af24ad5929d2a78c5b2 (patch) | |
tree | 571ec3b48aff58ac460bbe681f5979ccaed8dcfd /framework/source/accelerators | |
parent | c7f6d48e41b07d853deb85f68f011ed8e63c7760 (diff) |
INTEGRATION: CWS stacks01 (1.7.44); FILE MERGED
2005/11/03 14:07:50 as 1.7.44.1: #121559# corrupted document accelerator configurations shouldnt crash the office .. so we catch all exceptions
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r-- | framework/source/accelerators/documentacceleratorconfiguration.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx index 895d4c04b611..21092edbee0e 100644 --- a/framework/source/accelerators/documentacceleratorconfiguration.cxx +++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx @@ -4,9 +4,9 @@ * * $RCSfile: documentacceleratorconfiguration.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-09 01:03:37 $ + * last change: $Author: rt $ $Date: 2005-11-10 16:11:43 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -199,8 +199,15 @@ void DocumentAcceleratorConfiguration::impl_ts_fillCache() AcceleratorConfiguration::reload(); m_aPresetHandler.addStorageListener(this); } + /* + + Sometimes the configuration seams to be corrupted .. + So it would be nice if we dont crash the office then .-) + #121559# + catch(const css::uno::RuntimeException& exRun) { throw exRun; } + */ catch(const css::uno::Exception&) {} } |