summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/vba/vbachartobject.cxx4
-rw-r--r--sc/source/ui/vba/vbachartobject.hxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbachartobject.cxx b/sc/source/ui/vba/vbachartobject.cxx
index 413d58247851..863233ed8063 100644
--- a/sc/source/ui/vba/vbachartobject.cxx
+++ b/sc/source/ui/vba/vbachartobject.cxx
@@ -91,7 +91,9 @@ ScVbaChartObject::getName() throw (css::uno::RuntimeException, std::exception)
}
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
uno::Reference< excel::XWorksheet > xParent( getParent(), uno::UNO_QUERY_THROW );
diff --git a/sc/source/ui/vba/vbachartobject.hxx b/sc/source/ui/vba/vbachartobject.hxx
index e1ebbed1e86d..e79bfaa53b03 100644
--- a/sc/source/ui/vba/vbachartobject.hxx
+++ b/sc/source/ui/vba/vbachartobject.hxx
@@ -54,7 +54,7 @@ public:
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 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 );
// XHelperInterface
virtual OUString getServiceImplName() SAL_OVERRIDE;