coverity#1308448 Uncaught exception

Change-Id: Ib6e994cc89ddfaf504f5b585127d5ea4fb257458
This commit is contained in:
Caolán McNamara
2015-06-27 17:08:20 +01:00
parent 27d64de97d
commit 3450054955
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ private:
sal_Int32 getModuleType( const OUString& rModuleName ) throw (css::uno::RuntimeException); sal_Int32 getModuleType( const OUString& rModuleName ) throw (css::uno::RuntimeException);
/** Updates the map containing paths to event handlers for a Basic module. */ /** Updates the map containing paths to event handlers for a Basic module. */
ModulePathMap& updateModulePathMap( const OUString& rModuleName ) throw (css::uno::RuntimeException); ModulePathMap& updateModulePathMap( const OUString& rModuleName ) throw (css::uno::RuntimeException, std::exception);
protected: protected:
css::uno::Reference< css::frame::XModel > mxModel; css::uno::Reference< css::frame::XModel > mxModel;

View File

@@ -328,7 +328,7 @@ sal_Int32 VbaEventsHelperBase::getModuleType( const OUString& rModuleName ) thro
throw uno::RuntimeException(); throw uno::RuntimeException();
} }
VbaEventsHelperBase::ModulePathMap& VbaEventsHelperBase::updateModulePathMap( const OUString& rModuleName ) throw (uno::RuntimeException) VbaEventsHelperBase::ModulePathMap& VbaEventsHelperBase::updateModulePathMap( const OUString& rModuleName ) throw (uno::RuntimeException, std::exception)
{ {
// get type of the specified module (throws on error) // get type of the specified module (throws on error)
sal_Int32 nModuleType = getModuleType( rModuleName ); sal_Int32 nModuleType = getModuleType( rModuleName );