diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-31 20:58:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-01 22:10:38 +0000 |
commit | decd61013cba116e343537a50f4b1f6bc785022b (patch) | |
tree | c5f899313ca9bb57fe383f06d227c7c5198a17da /framework | |
parent | e8870af6955400acf457209e1eb45debc90085ba (diff) |
coverity#1267685 Uncaught exception
Change-Id: Ia4728352f86a8c1ac2007918708430b5221ea9fe
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/accelerators/acceleratorconfiguration.cxx | 4 | ||||
-rw-r--r-- | framework/source/inc/accelerators/acceleratorconfiguration.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 1643bf1e7e7d..a891be9045c7 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -737,8 +737,8 @@ AcceleratorCache::TKeyList::const_iterator lcl_getPreferredKey(const Accelerator } css::uno::Sequence< css::uno::Any > SAL_CALL XCUBasedAcceleratorConfiguration::getPreferredKeyEventsForCommandList(const css::uno::Sequence< OUString >& lCommandList) - throw(css::lang::IllegalArgumentException , - css::uno::RuntimeException, std::exception ) + throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, + css::uno::RuntimeException, std::exception) { SolarMutexGuard g; diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx index d5eaace6f11b..784e391ec784 100644 --- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx @@ -323,8 +323,8 @@ class XCUBasedAcceleratorConfiguration : public ::cppu::WeakImplHelper4< css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPreferredKeyEventsForCommandList(const css::uno::Sequence< OUString >& lCommandList) - throw(css::lang::IllegalArgumentException , - css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeCommandFromAllKeyEvents(const OUString& sCommand) throw(css::lang::IllegalArgumentException , |