Kaydet (Commit) 23f26db1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158406 Uncaught exception

Change-Id: If92dff41642a04bc5d46d3ee26fb7bdc780f9106
üst a3506eb7
...@@ -230,7 +230,7 @@ Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::Ru ...@@ -230,7 +230,7 @@ Rectangle ScAccessiblePreviewCell::GetBoundingBoxOnScreen() const throw (uno::Ru
return aCellRect; return aCellRect;
} }
Rectangle ScAccessiblePreviewCell::GetBoundingBox() const throw (uno::RuntimeException) Rectangle ScAccessiblePreviewCell::GetBoundingBox() const throw (uno::RuntimeException, std::exception)
{ {
Rectangle aCellRect; Rectangle aCellRect;
if (mpViewShell) if (mpViewShell)
......
...@@ -88,7 +88,7 @@ public: ...@@ -88,7 +88,7 @@ public:
protected: protected:
virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception); 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() const throw (::com::sun::star::uno::RuntimeException, std::exception);
private: private:
ScPreviewShell* mpViewShell; ScPreviewShell* mpViewShell;
......
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