Kaydet (Commit) decd6101 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1267685 Uncaught exception

Change-Id: Ia4728352f86a8c1ac2007918708430b5221ea9fe
üst e8870af6
......@@ -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;
......
......@@ -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 ,
......
......@@ -212,7 +212,8 @@ interface XAcceleratorConfiguration
because every URL schema can be used here.
*/
sequence< any > getPreferredKeyEventsForCommandList( [in] sequence< string > lCommandList )
raises(com::sun::star::lang::IllegalArgumentException);
raises(com::sun::star::lang::IllegalArgumentException,
com::sun::star::container::NoSuchElementException);
/** search for an key-command-binding inside this configuration set,
where the specified command is used.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment