summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-01 14:33:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-02 16:59:57 +0100
commita921f41a26e5cddb345ef9e8d7a961211fb88bb5 (patch)
treefbe9fa03a4bc5dfb78d74810cae232dffae3c476 /sd
parentd9e7a359ef8adeb1f79927a33d09a6f503e3d4de (diff)
coverity#1219795 Uncaught exception
Change-Id: I24f5abd0e0b28c11c22c7871e10f42abb9908775
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx3
-rw-r--r--sd/source/ui/inc/facreg.hxx2
2 files changed, 3 insertions, 2 deletions
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<XInterface> SAL_CALL ModuleController_createInstance (
- const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
+ const Reference<XComponentContext>& rxContext)
+ throw (css::uno::Exception, std::exception)
{
return Reference<XInterface>(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<OUString> SAL_CALL ConfigurationController_getSupportedServic
css::uno::Reference<css::uno::XInterface> SAL_CALL ModuleController_createInstance(
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
- throw(css::uno::Exception);
+ throw(css::uno::Exception, std::exception);
OUString ModuleController_getImplementationName(void) throw (css::uno::RuntimeException);
css::uno::Sequence<OUString> SAL_CALL ModuleController_getSupportedServiceNames (void)
throw (css::uno::RuntimeException);