summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-23 15:27:51 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-23 15:28:36 -0500
commitba897375db27a2b74ead5251516824572260b029 (patch)
tree63bb9872f28f758ef7ac3362f862be44cef73bf9 /sc/inc
parent2ee55872ebc5aeb71041c3267d9b3baa9607b85b (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.hxx4
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