summaryrefslogtreecommitdiff
path: root/svx/source/table/tablerows.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/table/tablerows.cxx')
-rw-r--r--svx/source/table/tablerows.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/table/tablerows.cxx b/svx/source/table/tablerows.cxx
index e816f7efe53c..f0c4e7593ab2 100644
--- a/svx/source/table/tablerows.cxx
+++ b/svx/source/table/tablerows.cxx
@@ -51,7 +51,7 @@ void TableRows::dispose()
}
-void TableRows::throwIfDisposed() const throw (css::uno::RuntimeException)
+void TableRows::throwIfDisposed() const
{
if( !mxTableModel.is() )
throw DisposedException();
@@ -61,14 +61,14 @@ void TableRows::throwIfDisposed() const throw (css::uno::RuntimeException)
// XTableRows
-void SAL_CALL TableRows::insertByIndex( sal_Int32 nIndex, sal_Int32 nCount ) throw (RuntimeException, std::exception)
+void SAL_CALL TableRows::insertByIndex( sal_Int32 nIndex, sal_Int32 nCount )
{
throwIfDisposed();
mxTableModel->insertRows( nIndex, nCount );
}
-void SAL_CALL TableRows::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) throw (RuntimeException, std::exception)
+void SAL_CALL TableRows::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount )
{
throwIfDisposed();
mxTableModel->removeRows( nIndex, nCount );
@@ -78,14 +78,14 @@ void SAL_CALL TableRows::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) thr
// XIndexAccess
-sal_Int32 SAL_CALL TableRows::getCount() throw (RuntimeException, std::exception)
+sal_Int32 SAL_CALL TableRows::getCount()
{
throwIfDisposed();
return mxTableModel->getRowCount();
}
-Any SAL_CALL TableRows::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception)
+Any SAL_CALL TableRows::getByIndex( sal_Int32 Index )
{
throwIfDisposed();
return Any( Reference< XCellRange >( static_cast< XCellRange* >( mxTableModel->getRow( Index ).get() ) ) );
@@ -95,14 +95,14 @@ Any SAL_CALL TableRows::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsExc
// XElementAccess
-Type SAL_CALL TableRows::getElementType() throw (RuntimeException, std::exception)
+Type SAL_CALL TableRows::getElementType()
{
throwIfDisposed();
return cppu::UnoType<XCellRange>::get();
}
-sal_Bool SAL_CALL TableRows::hasElements() throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL TableRows::hasElements()
{
throwIfDisposed();
return mxTableModel->getRowCount() != 0;