diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:48:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:10 +0100 |
commit | 53d6df4f54d92bdb527ff2824561db998695e865 (patch) | |
tree | e1031aed2c4d759d6a3f5e3748e4381df60a56d9 /unotools/source/accessibility | |
parent | d9126de425534db6f09a1a7ef5d0e91f26a2c6ea (diff) |
New loplugin:dynexcspec: Add @throws documentation, unotools
Change-Id: Ie1adfe09bf5b63adecc0a5a67a042e6e678b58dd
Diffstat (limited to 'unotools/source/accessibility')
-rw-r--r-- | unotools/source/accessibility/accessiblerelationsethelper.cxx | 6 | ||||
-rw-r--r-- | unotools/source/accessibility/accessiblestatesethelper.cxx | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx index 0792c85bf3fd..fcd42ab0c316 100644 --- a/unotools/source/accessibility/accessiblerelationsethelper.cxx +++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx @@ -33,15 +33,21 @@ public: AccessibleRelationSetHelperImpl(const AccessibleRelationSetHelperImpl& rImpl); ~AccessibleRelationSetHelperImpl(); + /// @throws uno::RuntimeException sal_Int32 getRelationCount( ) throw (uno::RuntimeException); + /// @throws lang::IndexOutOfBoundsException + /// @throws uno::RuntimeException AccessibleRelation getRelation( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException); + /// @throws uno::RuntimeException bool containsRelation( sal_Int16 aRelationType ) throw (uno::RuntimeException); + /// @throws uno::RuntimeException AccessibleRelation getRelationByType( sal_Int16 aRelationType ) throw (uno::RuntimeException); + /// @throws uno::RuntimeException void AddRelation(const AccessibleRelation& rRelation) throw (uno::RuntimeException); diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx index 549c360e3c0b..a6c1d9c67d2f 100644 --- a/unotools/source/accessibility/accessiblestatesethelper.cxx +++ b/unotools/source/accessibility/accessiblestatesethelper.cxx @@ -36,14 +36,19 @@ public: AccessibleStateSetHelperImpl(const AccessibleStateSetHelperImpl& rImpl); ~AccessibleStateSetHelperImpl(); + /// @throws uno::RuntimeException bool IsEmpty () const throw (uno::RuntimeException); + /// @throws uno::RuntimeException bool Contains (sal_Int16 aState) const throw (uno::RuntimeException); + /// @throws uno::RuntimeException uno::Sequence<sal_Int16> GetStates() const throw (uno::RuntimeException); + /// @throws uno::RuntimeException void AddState(sal_Int16 aState) throw (uno::RuntimeException); + /// @throws uno::RuntimeException void RemoveState(sal_Int16 aState) throw (uno::RuntimeException); |