coverity#1308448 Uncaught exception
Change-Id: Ib6e994cc89ddfaf504f5b585127d5ea4fb257458
This commit is contained in:
@@ -166,7 +166,7 @@ private:
|
||||
sal_Int32 getModuleType( const OUString& rModuleName ) throw (css::uno::RuntimeException);
|
||||
|
||||
/** 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:
|
||||
css::uno::Reference< css::frame::XModel > mxModel;
|
||||
|
@@ -328,7 +328,7 @@ sal_Int32 VbaEventsHelperBase::getModuleType( const OUString& rModuleName ) thro
|
||||
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)
|
||||
sal_Int32 nModuleType = getModuleType( rModuleName );
|
||||
|
Reference in New Issue
Block a user