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

coverity#1309054 Uncaught exception

Change-Id: I81c8983a981e1dfeff17f62c852163e6290dceb4
üst 8c6f67b9
...@@ -157,7 +157,7 @@ private: ...@@ -157,7 +157,7 @@ private:
/** Searches the event handler in the document and returns its full script path. */ /** Searches the event handler in the document and returns its full script path. */
OUString getEventHandlerPath( OUString getEventHandlerPath(
const EventHandlerInfo& rInfo, const EventHandlerInfo& rInfo,
const css::uno::Sequence< css::uno::Any >& rArgs ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); const css::uno::Sequence< css::uno::Any >& rArgs ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
/** On first call, accesses the Basic library containing the VBA source code. */ /** On first call, accesses the Basic library containing the VBA source code. */
void ensureVBALibrary() throw (css::uno::RuntimeException); void ensureVBALibrary() throw (css::uno::RuntimeException);
......
...@@ -258,7 +258,7 @@ const VbaEventsHelperBase::EventHandlerInfo& VbaEventsHelperBase::getEventHandle ...@@ -258,7 +258,7 @@ const VbaEventsHelperBase::EventHandlerInfo& VbaEventsHelperBase::getEventHandle
} }
OUString VbaEventsHelperBase::getEventHandlerPath( const EventHandlerInfo& rInfo, OUString VbaEventsHelperBase::getEventHandlerPath( const EventHandlerInfo& rInfo,
const uno::Sequence< uno::Any >& rArgs ) throw (lang::IllegalArgumentException, uno::RuntimeException) const uno::Sequence< uno::Any >& rArgs ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{ {
OUString aModuleName; OUString aModuleName;
switch( rInfo.mnModuleType ) switch( rInfo.mnModuleType )
......
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