summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbastyles.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbastyles.cxx')
-rw-r--r--sw/source/ui/vba/vbastyles.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx
index 728e1ff1b6ea..f8ca1d4e0357 100644
--- a/sw/source/ui/vba/vbastyles.cxx
+++ b/sw/source/ui/vba/vbastyles.cxx
@@ -293,7 +293,8 @@ SwVbaStyles::createEnumeration() throw (uno::RuntimeException)
}
uno::Any SAL_CALL
-SwVbaStyles::Item( const uno::Any& Index1, const uno::Any& Index2 ) throw (uno::RuntimeException)
+SwVbaStyles::Item( const uno::Any& Index1, const uno::Any& Index2 )
+ throw (script::BasicErrorException, uno::RuntimeException)
{
//handle WdBuiltinStyle
sal_Int32 nIndex = 0;