From 0325f344573d8436a4722c6b61644bba90da57f5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 31 Mar 2011 15:41:13 +0100 Subject: catch exceptions by const reference --- sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/framework/configuration') 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(); } -- cgit