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 SAL_CALL ModuleController_getSupportedServiceNames (void) return Sequence(&sServiceName, 1); } - - - //===== ModuleController ====================================================== - Reference ModuleController::CreateInstance ( const Reference& rxContext) { return new ModuleController(rxContext); } - - - -ModuleController::ModuleController (const Reference& rxContext) throw() +ModuleController::ModuleController (const Reference& rxContext) + throw (std::exception) : ModuleControllerInterfaceBase(MutexOwner::maMutex), mxController(), mpResourceToFactoryMap(new ResourceToFactoryMap()), @@ -115,9 +109,6 @@ ModuleController::ModuleController (const Reference& 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& rxContext) - throw(); + throw (std::exception); ModuleController (void); // Not implemented. ModuleController (const ModuleController&); // Not implemented. virtual ~ModuleController (void) throw();