[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Mar 31 07:41:23 PDT 2011
sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 11da1b6cd2de4153c534c2f929ee3512f0735fed
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 31 15:41:13 2011 +0100
catch exceptions by const reference
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index 9ff38aa..157b698 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();
}
More information about the Libreoffice-commits
mailing list