summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaeventshelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:52:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:15 +0100
commitb36f675c5e13decbd3204c0e5e893a41e5653a72 (patch)
tree21239e676e490ab7b45273c2018a8d50c117227d /sc/source/ui/vba/vbaeventshelper.cxx
parent8870dec9a431eeff5045efd4ba12a2a70bad5e24 (diff)
New loplugin:dynexcspec: Add @throws documentation, sc
Change-Id: Ieb01ae3f8c5d3010354027ea2c6e0a2cee176e7f
Diffstat (limited to 'sc/source/ui/vba/vbaeventshelper.cxx')
-rw-r--r--sc/source/ui/vba/vbaeventshelper.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index 32299421d03c..4ffb20e0c84c 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -50,7 +50,11 @@ using namespace ::ooo::vba;
namespace {
/** Extracts a sheet index from the specified element of the passed sequence.
- The element may be an integer, a Calc range or ranges object, or a VBA Range object. */
+ The element may be an integer, a Calc range or ranges object, or a VBA Range object.
+
+ @throws lang::IllegalArgumentException
+ @throws uno::RuntimeException
+*/
SCTAB lclGetTabFromArgs( const uno::Sequence< uno::Any >& rArgs, sal_Int32 nIndex ) throw (lang::IllegalArgumentException, uno::RuntimeException)
{
VbaEventsHelperBase::checkArgument( rArgs, nIndex );