Kaydet (Commit) 4a662ef7 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706945 Uncaught exception

Change-Id: I1da5edfdfd15ec8205de6467bd6c88dc5596426f
üst 2af58ba7
...@@ -91,7 +91,9 @@ ScVbaChartObject::getName() throw (css::uno::RuntimeException, std::exception) ...@@ -91,7 +91,9 @@ ScVbaChartObject::getName() throw (css::uno::RuntimeException, std::exception)
} }
void SAL_CALL void SAL_CALL
ScVbaChartObject::Delete() throw ( css::script::BasicErrorException, std::exception ) ScVbaChartObject::Delete()
throw (css::script::BasicErrorException,
css::uno::RuntimeException, std::exception)
{ {
// parent of this object is sheet // parent of this object is sheet
uno::Reference< excel::XWorksheet > xParent( getParent(), uno::UNO_QUERY_THROW ); uno::Reference< excel::XWorksheet > xParent( getParent(), uno::UNO_QUERY_THROW );
......
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setName( const OUString& sName ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setName( const OUString& sName ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< ov::excel::XChart > SAL_CALL getChart() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< ov::excel::XChart > SAL_CALL getChart() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL Delete() throw ( css::script::BasicErrorException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL Delete() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void Activate() throw ( css::script::BasicErrorException ); virtual void Activate() throw ( css::script::BasicErrorException );
// XHelperInterface // XHelperInterface
virtual OUString getServiceImplName() SAL_OVERRIDE; virtual OUString getServiceImplName() SAL_OVERRIDE;
......
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