diff options
Diffstat (limited to 'svx/source/table/tablecolumns.cxx')
-rw-r--r-- | svx/source/table/tablecolumns.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/table/tablecolumns.cxx b/svx/source/table/tablecolumns.cxx index eaf01178c979..d80581ee30d0 100644 --- a/svx/source/table/tablecolumns.cxx +++ b/svx/source/table/tablecolumns.cxx @@ -50,7 +50,7 @@ void TableColumns::dispose() } -void TableColumns::throwIfDisposed() const throw (css::uno::RuntimeException) +void TableColumns::throwIfDisposed() const { if( !mxTableModel.is() ) throw DisposedException(); @@ -60,14 +60,14 @@ void TableColumns::throwIfDisposed() const throw (css::uno::RuntimeException) // XTableRows -void SAL_CALL TableColumns::insertByIndex( sal_Int32 nIndex, sal_Int32 nCount ) throw (RuntimeException, std::exception) +void SAL_CALL TableColumns::insertByIndex( sal_Int32 nIndex, sal_Int32 nCount ) { throwIfDisposed(); mxTableModel->insertColumns( nIndex, nCount ); } -void SAL_CALL TableColumns::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) throw (RuntimeException, std::exception) +void SAL_CALL TableColumns::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) { throwIfDisposed(); mxTableModel->removeColumns( nIndex, nCount ); @@ -77,14 +77,14 @@ void SAL_CALL TableColumns::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount ) // XIndexAccess -sal_Int32 SAL_CALL TableColumns::getCount() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL TableColumns::getCount() { throwIfDisposed(); return mxTableModel->getColumnCount(); } -Any SAL_CALL TableColumns::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TableColumns::getByIndex( sal_Int32 Index ) { throwIfDisposed(); @@ -98,7 +98,7 @@ Any SAL_CALL TableColumns::getByIndex( sal_Int32 Index ) throw (IndexOutOfBounds // XElementAccess -Type SAL_CALL TableColumns::getElementType() throw (RuntimeException, std::exception) +Type SAL_CALL TableColumns::getElementType() { throwIfDisposed(); @@ -106,7 +106,7 @@ Type SAL_CALL TableColumns::getElementType() throw (RuntimeException, std::excep } -sal_Bool SAL_CALL TableColumns::hasElements() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TableColumns::hasElements() { throwIfDisposed(); |