summaryrefslogtreecommitdiff
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
commit11da1b6cd2de4153c534c2f929ee3512f0735fed (patch)
tree54d059d65d3ac84a25d07fc231b9610e88b79c12
parentd42b9102a9587ef8bdda9b3289be8073ba362065 (diff)
catch exceptions by const reference
-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 9ff38aa18..157b698b4 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();
}