diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-08 14:21:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-08 14:25:22 +0100 |
commit | ca55180d74d9e6f40071f453c4b0280ae768e5a0 (patch) | |
tree | 5f6726f9a195cba9070c4ba08fd7c2b87aa90d54 /sc/source | |
parent | 9c54c5c0b3ee934bffeb3bb52a84c08c09a0dcdc (diff) |
coverity#1311332 Uncaught exception
Change-Id: I96fbdb219fa59db54a7a2fc496e6d41f5d34385f
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/vba/vbaeventshelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaeventshelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx index c84146972c74..ea428c102cc5 100644 --- a/sc/source/ui/vba/vbaeventshelper.cxx +++ b/sc/source/ui/vba/vbaeventshelper.cxx @@ -886,7 +886,7 @@ uno::Any ScVbaEventsHelper::createRange( const uno::Sequence< uno::Any >& rArgs, } uno::Any ScVbaEventsHelper::createHyperlink( const uno::Sequence< uno::Any >& rArgs, sal_Int32 nIndex ) const - throw (lang::IllegalArgumentException, uno::RuntimeException) + throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { uno::Reference< table::XCell > xCell = getXSomethingFromArgs< table::XCell >( rArgs, nIndex, false ); uno::Sequence< uno::Any > aArgs( 2 ); diff --git a/sc/source/ui/vba/vbaeventshelper.hxx b/sc/source/ui/vba/vbaeventshelper.hxx index 2ea89fbc58a0..e9020b0c3051 100644 --- a/sc/source/ui/vba/vbaeventshelper.hxx +++ b/sc/source/ui/vba/vbaeventshelper.hxx @@ -59,7 +59,7 @@ private: /** 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). */ - css::uno::Any createHyperlink( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException); + css::uno::Any createHyperlink( const css::uno::Sequence< css::uno::Any >& rArgs, sal_Int32 nIndex ) const throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); /** 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, std::exception); |