coverity#707105 Uncaught exception

Change-Id: Ice8f9633a9dddd492ce8c5d1d88961ecbed59216
This commit is contained in:
Caolán McNamara 2014-05-28 13:17:30 +01:00
parent abe5aaa726
commit a0a724d57c
2 changed files with 3 additions and 12 deletions

View File

@ -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()
{
}

View File

@ -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();