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 ...@@ -573,8 +573,8 @@ void ScAccessibleContextBase::CommitFocusLost() const
vcl::unohelper::NotifyAccessibleStateEventGlobally(aEvent); vcl::unohelper::NotifyAccessibleStateEventGlobally(aEvent);
} }
Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen(void) const Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen() const
throw (uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
OSL_FAIL("not implemented"); OSL_FAIL("not implemented");
return Rectangle(); return Rectangle();
......
...@@ -213,7 +213,7 @@ uno::Sequence<sal_Int8> SAL_CALL ...@@ -213,7 +213,7 @@ uno::Sequence<sal_Int8> SAL_CALL
//==== internal ========================================================= //==== internal =========================================================
Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::RuntimeException) Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::RuntimeException, std::exception)
{ {
Rectangle aCellRect; Rectangle aCellRect;
if (mpViewShell) if (mpViewShell)
......
...@@ -270,8 +270,8 @@ protected: ...@@ -270,8 +270,8 @@ protected:
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
/// Return the object's current bounding box relative to the desktop. /// Return the object's current bounding box relative to the desktop.
virtual Rectangle GetBoundingBoxOnScreen(void) const virtual Rectangle GetBoundingBoxOnScreen() const
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException, std::exception);
/// Return the object's current bounding box relative to the parent object. /// Return the object's current bounding box relative to the parent object.
virtual Rectangle GetBoundingBox() const virtual Rectangle GetBoundingBox() const
......
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
protected: 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); virtual Rectangle GetBoundingBox(void) const throw (::com::sun::star::uno::RuntimeException);
private: 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