summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapivottables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapivottables.cxx')
-rw-r--r--sc/source/ui/vba/vbapivottables.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/vba/vbapivottables.cxx b/sc/source/ui/vba/vbapivottables.cxx
index 97facba0c103..f60c5e53b7db 100644
--- a/sc/source/ui/vba/vbapivottables.cxx
+++ b/sc/source/ui/vba/vbapivottables.cxx
@@ -34,9 +34,9 @@ class PivotTableEnumeration : public EnumerationHelperImpl
{
public:
/// @throws uno::RuntimeException
- PivotTableEnumeration( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< container::XEnumeration >& xEnumeration ) throw ( uno::RuntimeException ) : EnumerationHelperImpl( xParent, xContext, xEnumeration ) {}
+ PivotTableEnumeration( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< container::XEnumeration >& xEnumeration ) : EnumerationHelperImpl( xParent, xContext, xEnumeration ) {}
- virtual uno::Any SAL_CALL nextElement( ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
+ virtual uno::Any SAL_CALL nextElement( ) override
{
return DataPilotToPivotTable( m_xEnumeration->nextElement(), m_xContext );
}
@@ -48,7 +48,7 @@ ScVbaPivotTables::ScVbaPivotTables( const uno::Reference< XHelperInterface >& xP
}
uno::Reference< container::XEnumeration >
-ScVbaPivotTables::createEnumeration() throw (uno::RuntimeException)
+ScVbaPivotTables::createEnumeration()
{
uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xIndexAccess, uno::UNO_QUERY_THROW );
return new PivotTableEnumeration( mxParent, mxContext, xEnumAccess->createEnumeration() );
@@ -61,7 +61,7 @@ ScVbaPivotTables::createCollectionObject( const css::uno::Any& aSource )
}
uno::Type
-ScVbaPivotTables::getElementType() throw (uno::RuntimeException)
+ScVbaPivotTables::getElementType()
{
return cppu::UnoType<excel::XPivotTable>::get();
}