diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-19 22:48:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:54 +0100 |
commit | 347738eade7b1077067926930b8efef257d4776d (patch) | |
tree | 32643ba155a4029de7e9eecfdc9c49ef36a5d9dc /framework/source/services | |
parent | c4ed8d454818971d959af7a80a986b7691bf43fb (diff) |
catch by const reference
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 14f6dc954588..32616a1e1d5e 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -185,7 +185,7 @@ BackingWindow::BackingWindow( Window* i_pParent ) : } } } - catch (Exception& ) + catch (const Exception&) { } @@ -920,7 +920,7 @@ IMPL_LINK( BackingWindow, ToolboxHdl, void*, EMPTYARG ) xProductRegistration->trigger( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RegistrationRequired" ) ) ); } } - catch( const Exception& ) + catch (const Exception&) { } break; @@ -967,7 +967,7 @@ IMPL_LINK( BackingWindow, ToolboxHdl, void*, EMPTYARG ) } } } - catch (Exception& ) + catch (const Exception&) { } } @@ -1060,7 +1060,7 @@ static long implDispatchDelayed( void*, void* pArg ) { pDispatch->xDispatch->dispatch( pDispatch->aDispatchURL, pDispatch->aArgs ); } - catch( Exception ) + catch (const Exception&) { } @@ -1108,11 +1108,11 @@ void BackingWindow::dispatchURL( const rtl::OUString& i_rURL, delete pDisp; // event could not be posted for unknown reason, at least don't leak } } - catch ( com::sun::star::uno::RuntimeException& ) + catch (const com::sun::star::uno::RuntimeException&) { throw; } - catch ( com::sun::star::uno::Exception& ) + catch (const com::sun::star::uno::Exception&) { } } |