Kaydet (Commit) 14f4e2fa authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158406 Uncaught exception

Change-Id: I856ead663734cfa3c87c67eb461ff63160213349
üst 194cfbfa
......@@ -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();
......
......@@ -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)
......
......@@ -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
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment