diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:16:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:23:20 +0000 |
commit | 98a3def98cd6e43dcce51de9694dcc895ad7a36a (patch) | |
tree | a0bec0bc29b3930c639548bf75939975f8b3db02 /sc/source/ui/Accessibility/AccessibleCell.cxx | |
parent | 472bc326305eb4e3a866d189a643ea1c7cb43925 (diff) |
coverity#1158410 Uncaught exception
mdds::general_error is thrown but is luckily inherited from std::exception so
use the new ability of 0bc89aac4c64bb833e387657f680e194c26aef97 "cppumaker:
Allow UNO interface functions to throw std::exception."
Change-Id: I2c1d30e0806281d43c7bec103d4c85e1799c5b4f
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleCell.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index 742496ca569d..cb319a49b18f 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -166,8 +166,8 @@ Rectangle ScAccessibleCell::GetBoundingBoxOnScreen(void) const return aCellRect; } -Rectangle ScAccessibleCell::GetBoundingBox(void) const - throw (uno::RuntimeException) +Rectangle ScAccessibleCell::GetBoundingBox() const + throw (uno::RuntimeException, std::exception) { Rectangle aCellRect; if (mpViewShell) |