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/dispatch/dispatchprovider.cxx | |
parent | 4c1c531435e1bdb151d45626648486062012cbaa (diff) |
catch exception by constant reference
Diffstat (limited to 'framework/source/dispatch/dispatchprovider.cxx')
-rw-r--r-- | framework/source/dispatch/dispatchprovider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index c858a5b4d07b..0ea4eeed1a1e 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -607,7 +607,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt m_xFactory->createInstance(aHandler.m_sUNOName), css::uno::UNO_QUERY); } - catch(css::uno::Exception&) {} + catch(const css::uno::Exception&) {} // look if initialization is neccessary css::uno::Reference< css::lang::XInitialization > xInit( xHandler, css::uno::UNO_QUERY ); @@ -624,7 +624,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt lContext[0] <<= xOwner; xInit->initialize(lContext); } - catch(css::uno::Exception&) {} + catch(const css::uno::Exception&) {} } } |