diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 12:09:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 15:11:51 +0000 |
commit | 9c1b4e044a152bf53b86fff16a2f2e7c8b8f93aa (patch) | |
tree | 0d3f062686bf476e50000ad1c557a86509c3abf1 /sd | |
parent | e30c412185619002fdce3662ea18d48e4eb3c3bb (diff) |
coverity#1038484 Uncaught exception
Change-Id: I0067dfd9b020dc02d6611e37ac49d585b46ec42d
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationController.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ConfigurationController.hxx | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index 1286c5a6c883..6d1f70825950 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -252,14 +252,10 @@ void SAL_CALL ConfigurationController::notifyEvent ( mpImplementation->mpBroadcaster->NotifyListeners(rEvent); } - - - - //----- XConfigurationController ---------------------------------------------- -void SAL_CALL ConfigurationController::lock (void) - throw (RuntimeException) +void SAL_CALL ConfigurationController::lock() + throw (RuntimeException, std::exception) { OSL_ASSERT(mpImplementation.get()!=NULL); OSL_ASSERT(mpImplementation->mpConfigurationUpdater.get()!=NULL); diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index af5e48260f36..334124637689 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -86,8 +86,9 @@ public: // XConfigurationController - virtual void SAL_CALL lock (void) - throw (css::uno::RuntimeException); + virtual void SAL_CALL lock() + throw (css::uno::RuntimeException, + std::exception); virtual void SAL_CALL unlock (void) throw (css::uno::RuntimeException); |