summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx4
-rw-r--r--framework/source/inc/accelerators/acceleratorconfiguration.hxx4
-rw-r--r--offapi/com/sun/star/ui/XAcceleratorConfiguration.idl3
3 files changed, 6 insertions, 5 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 ,
diff --git a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
index e5c32af74b15..28926c7bd8ec 100644
--- a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
+++ b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
@@ -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.