diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 00:03:52 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 01:31:17 +0900 |
commit | 520891d058f9e936b9b8afb490b5a26c156008ef (patch) | |
tree | 6cb8ebad42c3504cb3e26249ba3458afb02a9922 /framework/source/uielement/toolbarwrapper.cxx | |
parent | 4c1c531435e1bdb151d45626648486062012cbaa (diff) |
catch exception by constant reference
Diffstat (limited to 'framework/source/uielement/toolbarwrapper.cxx')
-rw-r--r-- | framework/source/uielement/toolbarwrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx index ebad6f9787c9..d9e279013995 100644 --- a/framework/source/uielement/toolbarwrapper.cxx +++ b/framework/source/uielement/toolbarwrapper.cxx @@ -199,7 +199,7 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) th pToolBar->SetOutputSizePixel( aSize ); } } - catch ( NoSuchElementException& ) + catch ( const NoSuchElementException& ) { // No settings in our configuration manager. This means we are // a transient toolbar which has no persistent settings. @@ -257,7 +257,7 @@ void SAL_CALL ToolBarWrapper::updateSettings() throw (::com::sun::star::uno::Run if ( m_xConfigData.is() ) pToolBarManager->FillToolbar( m_xConfigData ); } - catch ( NoSuchElementException& ) + catch ( const NoSuchElementException& ) { } } |