diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:22:56 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:30:17 +0900 |
commit | e1a1091d0ae61ba46c6d063a92db0b7d1ce65942 (patch) | |
tree | 5cd7f5ba6ad9fc1e859263332b4f96167ac927ce /basctl/source/basicide/moduldlg.cxx | |
parent | 8dfa38c418125ad880e9d4b2a968f0f1778d6de4 (diff) |
catch ignored exceptions by const reference
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index ac77118f436f..786119b20375 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -422,7 +422,7 @@ sal_Bool ExtBasicTreeListBox::NotifyCopyingMoving( SvLBoxEntry* pTarget, SvLBoxE } } } - catch ( uno::Exception& ) + catch (const uno::Exception& ) { DBG_UNHANDLED_EXCEPTION(); } @@ -919,7 +919,7 @@ void ObjectPage::DeleteCurrent() if ( bSuccess ) BasicIDE::MarkDocumentModified( aDocument ); } - catch ( container::NoSuchElementException& ) + catch (const container::NoSuchElementException& ) { DBG_UNHANDLED_EXCEPTION(); } @@ -1048,12 +1048,12 @@ SbModule* createModImpl( Window* pWin, const ScriptDocument& rDocument, } } } - catch ( container::ElementExistException& ) + catch (const container::ElementExistException& ) { ErrorBox( pWin, WB_OK | WB_DEF_OK, String( IDEResId( RID_STR_SBXNAMEALLREADYUSED2 ) ) ).Execute(); } - catch ( container::NoSuchElementException& ) + catch (const container::NoSuchElementException& ) { DBG_UNHANDLED_EXCEPTION(); } |