diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-06 00:03:58 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-06 00:22:51 +0900 |
commit | 5493951893ea90b330d5280bc171a60ff46fa396 (patch) | |
tree | 97dee1e30575dc05959acaa2cec6da9b791022d7 /svl/source/config | |
parent | 1bae43a3d75d9be75b027dab2eff12695ad4f353 (diff) |
catch exception by constant reference
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/itemholder2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx index dc7cd36f24fe..f2545d4d564d 100644 --- a/svl/source/config/itemholder2.cxx +++ b/svl/source/config/itemholder2.cxx @@ -62,12 +62,12 @@ ItemHolder2::ItemHolder2() if (xCfg.is()) xCfg->addEventListener(static_cast< css::lang::XEventListener* >(this)); } - catch(css::uno::RuntimeException& rREx) + catch(const css::uno::RuntimeException& rREx) { throw rREx; } #ifdef DBG_UTIL - catch(css::uno::Exception& rEx) + catch(const css::uno::Exception& rEx) { static sal_Bool bMessage = sal_True; if(bMessage) |