Kaydet (Commit) 34500549 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308448 Uncaught exception

Change-Id: Ib6e994cc89ddfaf504f5b585127d5ea4fb257458
üst 27d64de9
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment