diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 09:58:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:21 +0000 |
commit | 1311835cb6033ca8ab693c546324c5e66697b6ce (patch) | |
tree | a66e3a4a286170d987b698120d5f52fba51cae49 /sc | |
parent | d83befd58d7713249e80ecfe74a16209dbda2ac7 (diff) |
coverity#1158306 Uncaught exception
Change-Id: I899fed4be60366d77d50940cea670c75be41856c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index e18d74125cf2..5fb27fb072b9 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -3963,7 +3963,8 @@ ScVbaRange::BorderAround( const css::uno::Any& LineStyle, const css::uno::Any& W } uno::Any SAL_CALL -ScVbaRange::getRowHeight() throw (uno::RuntimeException) +ScVbaRange::getRowHeight() + throw (uno::RuntimeException, std::exception) { sal_Int32 nLen = m_Areas->getCount(); if ( nLen > 1 ) diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx index 93663cd1c257..87e47225f5a1 100644 --- a/sc/source/ui/vba/vbarange.hxx +++ b/sc/source/ui/vba/vbarange.hxx @@ -178,7 +178,8 @@ public: virtual void SAL_CALL setHidden( const css::uno::Any& _hidden ) throw (css::uno::RuntimeException); virtual css::uno::Any SAL_CALL getColumnWidth() throw (css::uno::RuntimeException); virtual void SAL_CALL setColumnWidth( const css::uno::Any& _columnwidth ) throw (css::uno::RuntimeException); - virtual css::uno::Any SAL_CALL getRowHeight() throw (css::uno::RuntimeException); + virtual css::uno::Any SAL_CALL getRowHeight() + throw(css::uno::RuntimeException, std::exception); virtual void SAL_CALL setRowHeight( const css::uno::Any& _rowheight ) throw (css::uno::RuntimeException); virtual css::uno::Any SAL_CALL getWidth() throw (css::uno::RuntimeException); virtual css::uno::Any SAL_CALL getHeight() throw (css::uno::RuntimeException); |