diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 12:08:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 15:11:51 +0000 |
commit | e30c412185619002fdce3662ea18d48e4eb3c3bb (patch) | |
tree | 00d1b2c22dc20a0b1864b128a53ad187874e3f51 /sd | |
parent | 552c82427cab08181f7ed164a6b2d6d148a09a8a (diff) |
coverity#1038483 Uncaught exception
Change-Id: I126c4df9ed57674f5eba7a205fa82fdd5ac0a5cc
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationController.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ConfigurationController.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index 7e0203511e94..1286c5a6c883 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -500,7 +500,7 @@ Reference<XConfiguration> SAL_CALL ConfigurationController::getCurrentConfigurat */ void SAL_CALL ConfigurationController::restoreConfiguration ( const Reference<XConfiguration>& rxNewConfiguration) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard (maMutex); ThrowIfDisposed(); diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index 592cdd8fe5cc..af5e48260f36 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -123,7 +123,8 @@ public: virtual void SAL_CALL restoreConfiguration ( const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, + std::exception); // XConfigurationControllerBroadcaster |