summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/configuration
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-31 15:41:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-03-31 15:41:13 +0100
commit0325f344573d8436a4722c6b61644bba90da57f5 (patch)
treefc0acc73debe57defe6426d9075d45df65dfd72b /sd/source/ui/framework/configuration
parent3cfb9c869ebd73ffe22f1be006ce6200356d769b (diff)
catch exceptions by const reference
Diffstat (limited to 'sd/source/ui/framework/configuration')
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationUpdater.cxx6
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();
}