summaryrefslogtreecommitdiff
path: root/include/unotools/accessiblerelationsethelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /include/unotools/accessiblerelationsethelper.hxx
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/unotools/accessiblerelationsethelper.hxx')
-rw-r--r--include/unotools/accessiblerelationsethelper.hxx22
1 files changed, 7 insertions, 15 deletions
diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx
index 4daa4152da4b..d49e1dbb5ac7 100644
--- a/include/unotools/accessiblerelationsethelper.hxx
+++ b/include/unotools/accessiblerelationsethelper.hxx
@@ -62,8 +62,7 @@ public:
@return
Returns the number of relations or zero if there are none.
*/
- virtual sal_Int32 SAL_CALL getRelationCount( )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL getRelationCount( ) override;
/** Returns the relation of this relation set that is specified by
the given index.
@@ -79,9 +78,7 @@ public:
*/
virtual css::accessibility::AccessibleRelation SAL_CALL
- getRelation( sal_Int32 nIndex )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception) override;
+ getRelation( sal_Int32 nIndex ) override;
/** Tests whether the relation set contains a relation matching the
specified key.
@@ -95,8 +92,7 @@ public:
Returns <TRUE/> if there is a (at least one) relation of the
given type and <FALSE/> if there is no such relation in the set.
*/
- virtual sal_Bool SAL_CALL containsRelation( sal_Int16 aRelationType )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL containsRelation( sal_Int16 aRelationType ) override;
/** Retrieve and return the relation with the given relation type.
@@ -110,27 +106,23 @@ public:
type INVALID is returned.
*/
virtual css::accessibility::AccessibleRelation SAL_CALL
- getRelationByType( sal_Int16 aRelationType )
- throw (css::uno::RuntimeException, std::exception) override;
+ getRelationByType( sal_Int16 aRelationType ) override;
/// @throws uno::RuntimeException
void AddRelation(
- const css::accessibility::AccessibleRelation& rRelation)
- throw (css::uno::RuntimeException);
+ const css::accessibility::AccessibleRelation& rRelation);
//===== XTypeProvider ===================================================
/** Returns a sequence of all supported interfaces.
*/
virtual css::uno::Sequence< css::uno::Type> SAL_CALL
- getTypes()
- throw (css::uno::RuntimeException, std::exception) override;
+ getTypes() override;
/** Returns a implementation id.
*/
virtual css::uno::Sequence<sal_Int8> SAL_CALL
- getImplementationId()
- throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationId() override;
protected:
/// Mutex guarding this object.