summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 13:17:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:51 +0100
commita0a724d57c0a763a0127b81e87765b94eb8c7da2 (patch)
treede125445dd17013d88ea27125f12f59d623ebb74 /sd
parentabe5aaa7269ff0c2105346ac44d05342d5be3be7 (diff)
coverity#707105 Uncaught exception
Change-Id: Ice8f9633a9dddd492ce8c5d1d88961ecbed59216
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx13
-rw-r--r--sd/source/ui/inc/framework/ModuleController.hxx2
2 files changed, 3 insertions, 12 deletions
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index 8269c73ba45f..72d2e9829175 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -91,21 +91,15 @@ Sequence<OUString> SAL_CALL ModuleController_getSupportedServiceNames (void)
return Sequence<OUString>(&sServiceName, 1);
}
-
-
-
//===== ModuleController ======================================================
-
Reference<XModuleController> ModuleController::CreateInstance (
const Reference<XComponentContext>& rxContext)
{
return new ModuleController(rxContext);
}
-
-
-
-ModuleController::ModuleController (const Reference<XComponentContext>& rxContext) throw()
+ModuleController::ModuleController (const Reference<XComponentContext>& rxContext)
+ throw (std::exception)
: ModuleControllerInterfaceBase(MutexOwner::maMutex),
mxController(),
mpResourceToFactoryMap(new ResourceToFactoryMap()),
@@ -115,9 +109,6 @@ ModuleController::ModuleController (const Reference<XComponentContext>& rxContex
LoadFactories(rxContext);
}
-
-
-
ModuleController::~ModuleController (void) throw()
{
}
diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx
index 50c7cb720f92..3eb78437c905 100644
--- a/sd/source/ui/inc/framework/ModuleController.hxx
+++ b/sd/source/ui/inc/framework/ModuleController.hxx
@@ -100,7 +100,7 @@ private:
ModuleController (
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
- throw();
+ throw (std::exception);
ModuleController (void); // Not implemented.
ModuleController (const ModuleController&); // Not implemented.
virtual ~ModuleController (void) throw();