diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:22:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-23 17:23:21 +0000 |
commit | 194cfbfa2a5fb7b8a4598729aede48d5a221f61c (patch) | |
tree | 303b8ed782691a06ab6b20b359a077a46340f6b0 /sc/source | |
parent | a5c401df84df2be26a6a2351a7d5c9d65524d8a9 (diff) |
coverity#1158407 Uncaught exception
Change-Id: Ib8830798250b9c4f143743de4389260fceb44aa3
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewTable.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewTable.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index 42b14f46cb70..09a852ef3241 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -647,7 +647,8 @@ Rectangle ScAccessiblePreviewTable::GetBoundingBoxOnScreen() const throw (uno::R return aCellRect; } -Rectangle ScAccessiblePreviewTable::GetBoundingBox() const throw (uno::RuntimeException) +Rectangle ScAccessiblePreviewTable::GetBoundingBox() const + throw (uno::RuntimeException, std::exception) { FillTableInfo(); diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 795badc2a9bb..5840702ad644 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -156,7 +156,7 @@ protected: virtual OUString SAL_CALL createAccessibleName(void) throw (::com::sun::star::uno::RuntimeException); virtual Rectangle GetBoundingBoxOnScreen(void) const throw(::com::sun::star::uno::RuntimeException); - virtual Rectangle GetBoundingBox(void) const throw (::com::sun::star::uno::RuntimeException); + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception); private: ScPreviewShell* mpViewShell; |