diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-23 15:27:51 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-23 15:28:36 -0500 |
commit | ba897375db27a2b74ead5251516824572260b029 (patch) | |
tree | 63bb9872f28f758ef7ac3362f862be44cef73bf9 /sc/inc | |
parent | 2ee55872ebc5aeb71041c3267d9b3baa9607b85b (diff) |
Let's throw out-of-bound exception on out-of-bound destination position.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/docuno.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 1ca0d7165dd1..35296da3400b 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -406,7 +406,9 @@ public: ::com::sun::star::sheet::XSpreadsheetDocument > & xDocSrc, const rtl::OUString& srcName, const sal_Int32 nDestPosition) - throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::IndexOutOfBoundsException, + ::com::sun::star::uno::RuntimeException); // XCellRangesAccess |