summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-23 17:26:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-23 17:26:10 +0000
commit14f4e2fa22a0a2576808bab08edaf2e12f761cd8 (patch)
treea2bff8bfc0a892d883c1a55dbc5c7075ce92b88a
parent194cfbfa2a5fb7b8a4598729aede48d5a221f61c (diff)
coverity#1158406 Uncaught exception
Change-Id: I856ead663734cfa3c87c67eb461ff63160213349
-rw-r--r--sc/source/ui/Accessibility/AccessibleContextBase.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewCell.cxx2
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx4
-rw-r--r--sc/source/ui/inc/AccessiblePreviewCell.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
index 662a190f77fc..2817822bd636 100644
--- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
@@ -573,8 +573,8 @@ void ScAccessibleContextBase::CommitFocusLost() const
vcl::unohelper::NotifyAccessibleStateEventGlobally(aEvent);
}
-Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen(void) const
- throw (uno::RuntimeException)
+Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen() const
+ throw (uno::RuntimeException, std::exception)
{
OSL_FAIL("not implemented");
return Rectangle();
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
index 291b53998551..991b49689dde 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
@@ -213,7 +213,7 @@ uno::Sequence<sal_Int8> SAL_CALL
//==== internal =========================================================
-Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::RuntimeException)
+Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::RuntimeException, std::exception)
{
Rectangle aCellRect;
if (mpViewShell)
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index 6b06ba6e8bae..526eeec774b4 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -270,8 +270,8 @@ protected:
throw (::com::sun::star::uno::RuntimeException);
/// Return the object's current bounding box relative to the desktop.
- virtual Rectangle GetBoundingBoxOnScreen(void) const
- throw (::com::sun::star::uno::RuntimeException);
+ virtual Rectangle GetBoundingBoxOnScreen() const
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
/// Return the object's current bounding box relative to the parent object.
virtual Rectangle GetBoundingBox() const
diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx
index b5f0394fa76a..692ed1164647 100644
--- a/sc/source/ui/inc/AccessiblePreviewCell.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx
@@ -87,7 +87,7 @@ public:
throw (::com::sun::star::uno::RuntimeException);
protected:
- virtual Rectangle GetBoundingBoxOnScreen(void) const throw(::com::sun::star::uno::RuntimeException);
+ virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual Rectangle GetBoundingBox(void) const throw (::com::sun::star::uno::RuntimeException);
private: