diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 13:08:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 14:01:58 +0000 |
commit | 269451915f6c676721c7094b14c04b61e44931f4 (patch) | |
tree | 909ccb8986eabf3703221f816ee7fb42ea3f5065 /sc | |
parent | 3b65ac148cc0a125f41c9662439b99dc8b5b41cc (diff) |
coverity#1158383 Uncaught exception
Change-Id: I5c8e88406232ab579d23fd2a67756c5b637c2d96
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCell.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleCell.hxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index 149d41a8c9e3..e0fc4c816ccc 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -508,7 +508,9 @@ static OUString ReplaceFourChar(OUString oldOUString) } uno::Any SAL_CALL ScAccessibleCell::getExtendedAttributes() - throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException, + std::exception) { uno::Any strRet; if (mpViewShell) diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index db041085cb22..9ad298b2f215 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -146,7 +146,9 @@ public: throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() - throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ; + throw (::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException, + std::exception); // Override this method to handle cell's ParaIndent attribute specially. virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getCharacterAttributes( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< OUString >& aRequestedAttributes ) |