summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbacomments.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbacomments.cxx')
-rw-r--r--sc/source/ui/vba/vbacomments.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/vba/vbacomments.cxx b/sc/source/ui/vba/vbacomments.cxx
index 2f92dfff1f6e..b78cc4eacf68 100644
--- a/sc/source/ui/vba/vbacomments.cxx
+++ b/sc/source/ui/vba/vbacomments.cxx
@@ -46,12 +46,12 @@ public:
const uno::Reference< XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< container::XEnumeration >& xEnumeration,
- const uno::Reference< frame::XModel >& xModel ) throw ( uno::RuntimeException ) :
+ const uno::Reference< frame::XModel >& xModel ) :
EnumerationHelperImpl( xParent, xContext, xEnumeration ),
mxModel( xModel, uno::UNO_SET_THROW )
{}
- virtual uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
+ virtual uno::Any SAL_CALL nextElement() override
{
return AnnotationToComment( m_xEnumeration->nextElement(), m_xContext, mxModel );
}
@@ -71,7 +71,7 @@ ScVbaComments::ScVbaComments(
// public helper functions
uno::Reference< container::XEnumeration >
-ScVbaComments::createEnumeration() throw (uno::RuntimeException)
+ScVbaComments::createEnumeration()
{
uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW );
return new CommentEnumeration( mxParent, mxContext, xEnumAccess->createEnumeration(), mxModel );
@@ -84,7 +84,7 @@ ScVbaComments::createCollectionObject( const css::uno::Any& aSource )
}
uno::Type
-ScVbaComments::getElementType() throw (uno::RuntimeException)
+ScVbaComments::getElementType()
{
return cppu::UnoType<excel::XComment>::get();
}