[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Thu Jan 23 09:29:09 PST 2014
sc/source/ui/Accessibility/AccessibleContextBase.cxx | 4 ++--
sc/source/ui/Accessibility/AccessiblePreviewCell.cxx | 2 +-
sc/source/ui/inc/AccessibleContextBase.hxx | 4 ++--
sc/source/ui/inc/AccessiblePreviewCell.hxx | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 14f4e2fa22a0a2576808bab08edaf2e12f761cd8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 23 17:26:10 2014 +0000
coverity#1158406 Uncaught exception
Change-Id: I856ead663734cfa3c87c67eb461ff63160213349
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
index 662a190..2817822 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 291b539..991b496 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 6b06ba6..526eeec 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 b5f0394..692ed11 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:
More information about the Libreoffice-commits
mailing list