diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-10 08:58:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-10 12:49:48 +0100 |
commit | 1210ba3f1507307c12dd97a75f1b44ae2fdf3260 (patch) | |
tree | b710d9767a5ebf66685a5528af656cd6a554f430 /svtools | |
parent | 3f82d94bdcf707e6cf30403434c3470930bb0b01 (diff) |
catch by const ref
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/framestatuslistener.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx index 112949a45e21..502211d3fb33 100644 --- a/svtools/source/uno/framestatuslistener.cxx +++ b/svtools/source/uno/framestatuslistener.cxx @@ -114,7 +114,7 @@ throw (::com::sun::star::uno::RuntimeException) if ( xDispatch.is() && xStatusListener.is() ) xDispatch->removeStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } @@ -212,7 +212,7 @@ void FrameStatusListener::addStatusListener( const rtl::OUString& aCommandURL ) if ( xOldDispatch.is() ) xOldDispatch->removeStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } } @@ -228,7 +228,7 @@ void FrameStatusListener::addStatusListener( const rtl::OUString& aCommandURL ) if ( xDispatch.is() ) xDispatch->addStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } } @@ -256,7 +256,7 @@ void FrameStatusListener::removeStatusListener( const rtl::OUString& aCommandURL if ( xDispatch.is() && xStatusListener.is() ) xDispatch->removeStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } } @@ -297,7 +297,7 @@ void FrameStatusListener::bindListener() { xDispatch->removeStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } } @@ -307,7 +307,7 @@ void FrameStatusListener::bindListener() { xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString(), 0 ); } - catch ( Exception& ) + catch (const Exception&) { } pIter->second = xDispatch; @@ -331,7 +331,7 @@ void FrameStatusListener::bindListener() rListener.xDispatch->addStatusListener( xStatusListener, rListener.aURL ); } } - catch ( Exception& ) + catch (const Exception&) { } } @@ -368,7 +368,7 @@ void FrameStatusListener::unbindListener() { xDispatch->removeStatusListener( xStatusListener, aTargetURL ); } - catch ( Exception& ) + catch (const Exception&) { } } |