diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-09-28 16:08:20 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-09-28 16:08:20 +0000 |
commit | 0b266cfc991326562c43ce2139237822be833424 (patch) | |
tree | 363dc13f126c4946575245aad1bcfbc53b4444e5 /sc/inc | |
parent | e84febf6537765ce52eca93c592b164d66145ce8 (diff) |
#92569# IndexOutOfBoundsException for getCellByPosition / getCellRangeByPosition
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 19 | ||||
-rw-r--r-- | sc/inc/cursuno.hxx | 10 |
2 files changed, 18 insertions, 11 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 802bd2f03e40..e6baed6acde2 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: cellsuno.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: sab $ $Date: 2001-07-19 07:58:23 $ + * last change: $Author: nn $ $Date: 2001-09-28 17:06:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -690,7 +690,8 @@ protected: ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > GetCellByPosition_Impl( sal_Int32 nColumn, sal_Int32 nRow ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); public: @@ -816,11 +817,13 @@ public: // XCellRange virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const ::rtl::OUString& aRange ) throw(::com::sun::star::uno::RuntimeException); @@ -1069,11 +1072,13 @@ public: // XCellRange virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const ::rtl::OUString& aRange ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/inc/cursuno.hxx b/sc/inc/cursuno.hxx index a9cfede7b752..6e0f01724b9a 100644 --- a/sc/inc/cursuno.hxx +++ b/sc/inc/cursuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: cursuno.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:48 $ + * last change: $Author: nn $ $Date: 2001-09-28 17:06:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -121,11 +121,13 @@ public: // XCellRange virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > SAL_CALL getCellRangeByName( const ::rtl::OUString& aRange ) throw(::com::sun::star::uno::RuntimeException); |