diff options
Diffstat (limited to 'svx/source/table/cellcursor.cxx')
-rw-r--r-- | svx/source/table/cellcursor.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/table/cellcursor.cxx b/svx/source/table/cellcursor.cxx index 02427a6770a4..37b9e04577c8 100644 --- a/svx/source/table/cellcursor.cxx +++ b/svx/source/table/cellcursor.cxx @@ -50,19 +50,19 @@ CellCursor::~CellCursor() // XCellCursor -Reference< XCell > SAL_CALL CellCursor::getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XCell > SAL_CALL CellCursor::getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) { return CellRange::getCellByPosition( nColumn, nRow ); } -Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) { return CellRange::getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); } -Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByName( const OUString& aRange ) throw (RuntimeException, std::exception) +Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByName( const OUString& aRange ) { return CellRange::getCellRangeByName( aRange ); } @@ -71,21 +71,21 @@ Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByName( const OUString& // XCellCursor -void SAL_CALL CellCursor::gotoStart( ) throw (RuntimeException, std::exception) +void SAL_CALL CellCursor::gotoStart( ) { mnRight = mnLeft; mnBottom = mnTop; } -void SAL_CALL CellCursor::gotoEnd( ) throw (RuntimeException, std::exception) +void SAL_CALL CellCursor::gotoEnd( ) { mnLeft = mnRight; mnTop = mnBottom; } -void SAL_CALL CellCursor::gotoNext( ) throw (RuntimeException, std::exception) +void SAL_CALL CellCursor::gotoNext( ) { if( mxTable.is() ) { @@ -113,7 +113,7 @@ void SAL_CALL CellCursor::gotoNext( ) throw (RuntimeException, std::exception) } -void SAL_CALL CellCursor::gotoPrevious( ) throw (RuntimeException, std::exception) +void SAL_CALL CellCursor::gotoPrevious( ) { if( mxTable.is() ) { @@ -133,7 +133,7 @@ void SAL_CALL CellCursor::gotoPrevious( ) throw (RuntimeException, std::excepti } -void SAL_CALL CellCursor::gotoOffset( ::sal_Int32 nColumnOffset, ::sal_Int32 nRowOffset ) throw (RuntimeException, std::exception) +void SAL_CALL CellCursor::gotoOffset( ::sal_Int32 nColumnOffset, ::sal_Int32 nRowOffset ) { if( mxTable.is() ) { @@ -231,7 +231,7 @@ bool CellCursor::GetMergedSelection( CellPos& rStart, CellPos& rEnd ) } -void SAL_CALL CellCursor::merge( ) throw (NoSupportException, RuntimeException, std::exception) +void SAL_CALL CellCursor::merge( ) { CellPos aStart, aEnd; if( !GetMergedSelection( aStart, aEnd ) ) @@ -493,7 +493,7 @@ void CellCursor::split_vertical( sal_Int32 nRows ) } -void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) throw (NoSupportException, IllegalArgumentException, RuntimeException, std::exception) +void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) { if( (nColumns < 0) || (nRows < 0) ) throw IllegalArgumentException(); @@ -531,7 +531,7 @@ void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) throw (No } -sal_Bool SAL_CALL CellCursor::isMergeable( ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL CellCursor::isMergeable( ) { CellPos aStart, aEnd; return GetMergedSelection( aStart, aEnd ); |