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

coverity#1309267 Uncaught exception

Change-Id: I296e3b928577b521d6c21bbfe812a451e56822dc
üst 0e17fa04
......@@ -850,7 +850,7 @@ bool ScVbaEventsHelper::isSelectionChanged( const uno::Sequence< uno::Any >& rAr
}
uno::Any ScVbaEventsHelper::createWorksheet( const uno::Sequence< uno::Any >& rArgs, sal_Int32 nIndex ) const
throw (lang::IllegalArgumentException, uno::RuntimeException)
throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
// extract sheet index, will throw, if parameter is invalid
SCTAB nTab = lclGetTabFromArgs( rArgs, nIndex );
......
......@@ -55,7 +55,7 @@ private:
bool isSelectionChanged( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
/** Creates a VBA Worksheet object (the argument must contain a sheet index). */
css::uno::Any createWorksheet( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
css::uno::Any createWorksheet( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
/** Creates a VBA Range object (the argument must contain a UNO range or UNO range list). */
css::uno::Any createRange( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
/** Creates a VBA Hyperlink object (the argument must contain a UNO cell). */
......
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