summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-31 21:02:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-01 22:10:38 +0000
commitc686be8bb2d4fff469ed753cc3dbf417baa903e9 (patch)
tree6d6ae1a58fb0c3770c676733d8923beabbfde1a8 /framework/source
parentebaa9958f5e816b4f926e6d35223a61f3d1414b0 (diff)
coverity#1267688 Uncaught exception
Change-Id: Icaa71c9f5a7766ea2297d63b19ceff36913a3d0b
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx4
-rw-r--r--framework/source/inc/accelerators/acceleratorconfiguration.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 6728df528a06..730e609b9868 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -170,8 +170,8 @@ css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XMLBasedAcceleratorConfigurati
}
css::uno::Sequence< css::uno::Any > SAL_CALL XMLBasedAcceleratorConfiguration::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 ef9440793eef..290fd0a8adab 100644
--- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx
+++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
@@ -125,8 +125,8 @@ class XMLBasedAcceleratorConfiguration : public IStorageListener,
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 ,