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 /svtools/source/config | |
parent | 1bae43a3d75d9be75b027dab2eff12695ad4f353 (diff) |
catch exception by constant reference
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/itemholder2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/itemholder2.cxx b/svtools/source/config/itemholder2.cxx index 0105c6d2cfd7..9e9a1ab8ced3 100644 --- a/svtools/source/config/itemholder2.cxx +++ b/svtools/source/config/itemholder2.cxx @@ -69,12 +69,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) |