From a921f41a26e5cddb345ef9e8d7a961211fb88bb5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 1 Jun 2014 14:33:36 +0100 Subject: coverity#1219795 Uncaught exception Change-Id: I24f5abd0e0b28c11c22c7871e10f42abb9908775 --- sd/source/ui/framework/module/ModuleController.cxx | 3 ++- sd/source/ui/inc/facreg.hxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index 72d2e9829175..88b9b176ad9c 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -68,7 +68,8 @@ public: Reference SAL_CALL ModuleController_createInstance ( - const Reference& rxContext) throw (css::uno::Exception) + const Reference& rxContext) + throw (css::uno::Exception, std::exception) { return Reference(ModuleController::CreateInstance(rxContext), UNO_QUERY); } diff --git a/sd/source/ui/inc/facreg.hxx b/sd/source/ui/inc/facreg.hxx index d6be721ac071..ba6ae293aefe 100644 --- a/sd/source/ui/inc/facreg.hxx +++ b/sd/source/ui/inc/facreg.hxx @@ -76,7 +76,7 @@ css::uno::Sequence SAL_CALL ConfigurationController_getSupportedServic css::uno::Reference SAL_CALL ModuleController_createInstance( const css::uno::Reference& rxContext) - throw(css::uno::Exception); + throw(css::uno::Exception, std::exception); OUString ModuleController_getImplementationName(void) throw (css::uno::RuntimeException); css::uno::Sequence SAL_CALL ModuleController_getSupportedServiceNames (void) throw (css::uno::RuntimeException); -- cgit