summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/tools/EventMultiplexer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-19 22:37:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:01:38 +0100
commit5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 (patch)
tree7c52e5d1a5324ae9ffe0e75dd525582ba30994d8 /sd/source/ui/tools/EventMultiplexer.cxx
parentdebug STL needs visible typeinfo (diff)
downloadcore-5cbd9a7be2ee05499bd730f2e7bd8b35ce881217.tar.gz
core-5cbd9a7be2ee05499bd730f2e7bd8b35ce881217.zip
catch by const reference
Diffstat (limited to 'sd/source/ui/tools/EventMultiplexer.cxx')
-rw-r--r--sd/source/ui/tools/EventMultiplexer.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx
index 91c277a50b1d..9891e574e9f3 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.cxx
@@ -206,10 +206,10 @@ EventMultiplexer::~EventMultiplexer (void)
mpImpl->release();
mpImpl.release();
}
- catch (RuntimeException aException)
+ catch (const RuntimeException&)
{
}
- catch (Exception aException)
+ catch (const Exception&)
{
}
}
@@ -445,7 +445,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
{
xSet->addPropertyChangeListener(msCurrentPagePropertyName, this);
}
- catch (beans::UnknownPropertyException)
+ catch (const beans::UnknownPropertyException&)
{
OSL_TRACE("EventMultiplexer::ConnectToController: CurrentPage unknown");
}
@@ -454,7 +454,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
{
xSet->addPropertyChangeListener(msEditModePropertyName, this);
}
- catch (beans::UnknownPropertyException)
+ catch (const beans::UnknownPropertyException&)
{
OSL_TRACE("EventMultiplexer::ConnectToController: IsMasterPageMode unknown");
}
@@ -467,7 +467,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
xSelection->addSelectionChangeListener(this);
}
}
- catch (const lang::DisposedException aException)
+ catch (const lang::DisposedException&)
{
mbListeningToController = false;
}
@@ -492,7 +492,7 @@ void EventMultiplexer::Implementation::DisconnectFromController (void)
{
xSet->removePropertyChangeListener(msCurrentPagePropertyName, this);
}
- catch (beans::UnknownPropertyException aEvent)
+ catch (const beans::UnknownPropertyException&)
{
OSL_TRACE ("DisconnectFromController: CurrentPage unknown");
}
@@ -501,7 +501,7 @@ void EventMultiplexer::Implementation::DisconnectFromController (void)
{
xSet->removePropertyChangeListener(msEditModePropertyName, this);
}
- catch (beans::UnknownPropertyException aEvent)
+ catch (const beans::UnknownPropertyException&)
{
OSL_TRACE ("DisconnectFromController: IsMasterPageMode unknown");
}