summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 18:01:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:26 +0100
commit68044e9ec6d17cac1695b0e87c8430df98ace80e (patch)
treea156709de9f1ac42869365c2a6c9ad64e6fef33a /accessibility/source
parent079abb8b46a53600352c6f99a391153684ed8a98 (diff)
New loplugin:dynexcspec: Add @throws documentation, accessibility
Change-Id: I4857292372116bd8330403456d415476a5435f11
Diffstat (limited to 'accessibility/source')
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx1
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableCell.cxx1
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx1
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx1
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx1
-rw-r--r--accessibility/source/standard/vclxaccessiblelistitem.cxx1
6 files changed, 6 insertions, 0 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index ce61700ed334..edf942981311 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -27,6 +27,7 @@ namespace accessibility
{
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 7703b3f3a2ec..016eea27fc5b 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -30,6 +30,7 @@ namespace accessibility
{
// FIXME this is a copy'n'paste from
// source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that...
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 591c254e775a..ba08bff38279 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -42,6 +42,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index e2706d9a2004..ba5500f93ca3 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -47,6 +47,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index d0f87d3e9335..f134ca7d29ca 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -41,6 +41,7 @@ using namespace ::accessibility;
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkSelection_Impl( sal_Int32 _nIndex, const IComboListBoxHelper& _rListBox, bool bSelected )
throw (css::lang::IndexOutOfBoundsException)
{
diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx
index 0ee2bb164080..07b7ea94a49e 100644
--- a/accessibility/source/standard/vclxaccessiblelistitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx
@@ -43,6 +43,7 @@
namespace
{
+ /// @throws css::lang::IndexOutOfBoundsException
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex < 0 || _nIndex > _sText.getLength() )