diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-31 15:41:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-31 15:41:13 +0100 |
commit | 0325f344573d8436a4722c6b61644bba90da57f5 (patch) | |
tree | fc0acc73debe57defe6426d9075d45df65dfd72b /sd/source/ui/framework/configuration | |
parent | 3cfb9c869ebd73ffe22f1be006ce6200356d769b (diff) |
catch exceptions by const reference
Diffstat (limited to 'sd/source/ui/framework/configuration')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index 609eff609332..f616b57d271b 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -213,7 +213,7 @@ void ConfigurationUpdater::UpdateConfiguration (void) if (mnLockCount == 0) UpdateCore(aClassifier); } - catch(RuntimeException) + catch(const RuntimeException&) { } @@ -236,7 +236,7 @@ void ConfigurationUpdater::UpdateConfiguration (void) #endif } } - catch (RuntimeException &e) + catch(const RuntimeException &) { DBG_UNHANDLED_EXCEPTION(); } @@ -331,7 +331,7 @@ void ConfigurationUpdater::UpdateCore (const ConfigurationClassifier& rClassifie if (aResourcesToDeactivate.size() > 0) mpResourceManager->DeactivateResources(aResourcesToDeactivate, mxCurrentConfiguration); } - catch(RuntimeException) + catch(const RuntimeException&) { DBG_UNHANDLED_EXCEPTION(); } |