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

coverity#1308589 Uncaught exception

Change-Id: I18cf4edd57abd297273f94a78a1a612c60e0f570
üst 52b2ccf1
......@@ -897,7 +897,7 @@ uno::Any ScVbaEventsHelper::createHyperlink( const uno::Sequence< uno::Any >& rA
}
uno::Any ScVbaEventsHelper::createWindow( const uno::Sequence< uno::Any >& rArgs, sal_Int32 nIndex ) const
throw (lang::IllegalArgumentException, uno::RuntimeException)
throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
uno::Sequence< uno::Any > aArgs( 3 );
aArgs[ 0 ] <<= getVBADocument( mxModel );
......
......@@ -61,7 +61,7 @@ private:
/** Creates a VBA Hyperlink object (the argument must contain a UNO cell). */
css::uno::Any createHyperlink( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
/** Creates a VBA Window object (the argument must contain a model controller). */
css::uno::Any createWindow( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
css::uno::Any createWindow( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
private:
::rtl::Reference< ScVbaEventListener > mxListener;
......
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