summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapagebreaks.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapagebreaks.hxx')
-rw-r--r--sc/source/ui/vba/vbapagebreaks.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbapagebreaks.hxx b/sc/source/ui/vba/vbapagebreaks.hxx
index 9fec6397056c..487beb31a4e2 100644
--- a/sc/source/ui/vba/vbapagebreaks.hxx
+++ b/sc/source/ui/vba/vbapagebreaks.hxx
@@ -47,7 +47,7 @@ public:
virtual ~ScVbaHPageBreaks(){}
// XHPageBreaks
- virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before) throw ( css::script::BasicErrorException, css::uno::RuntimeException);
+ virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before) throw ( css::script::BasicErrorException, css::uno::RuntimeException, std::exception);
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException);
@@ -74,7 +74,7 @@ public:
virtual ~ScVbaVPageBreaks();
// XVPageBreaks
- virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before ) throw ( css::script::BasicErrorException, css::uno::RuntimeException );
+ virtual css::uno::Any SAL_CALL Add( const css::uno::Any& Before ) throw ( css::script::BasicErrorException, css::uno::RuntimeException, std::exception );
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() throw ( css::uno::RuntimeException );