summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /unotools/source/accessibility
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unotools/source/accessibility')
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx12
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx12
2 files changed, 12 insertions, 12 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index df2f6a3cf77d..e3ae2a0d0854 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -153,7 +153,7 @@ AccessibleRelationSetHelper::~AccessibleRelationSetHelper(void)
*/
sal_Int32 SAL_CALL
AccessibleRelationSetHelper::getRelationCount( )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->getRelationCount();
@@ -175,7 +175,7 @@ sal_Int32 SAL_CALL
AccessibleRelation SAL_CALL
AccessibleRelationSetHelper::getRelation( sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->getRelation(nIndex);
@@ -195,7 +195,7 @@ sal_Int32 SAL_CALL
*/
sal_Bool SAL_CALL
AccessibleRelationSetHelper::containsRelation( sal_Int16 aRelationType )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->containsRelation(aRelationType);
@@ -214,7 +214,7 @@ sal_Bool SAL_CALL
*/
AccessibleRelation SAL_CALL
AccessibleRelationSetHelper::getRelationByType( sal_Int16 aRelationType )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->getRelationByType(aRelationType);
@@ -231,7 +231,7 @@ void AccessibleRelationSetHelper::AddRelation(const AccessibleRelation& rRelatio
uno::Sequence< ::com::sun::star::uno::Type>
AccessibleRelationSetHelper::getTypes (void)
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
const ::com::sun::star::uno::Type aTypeList[] = {
@@ -252,7 +252,7 @@ namespace
uno::Sequence<sal_Int8> SAL_CALL
AccessibleRelationSetHelper::getImplementationId (void)
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return theAccessibleRelationSetHelperUnoTunnelId::get().getSeq();
}
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index f0318fdf5c84..457a84a4bd8f 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -163,7 +163,7 @@ AccessibleStateSetHelper::~AccessibleStateSetHelper(void)
<FALSE/> if there is at least one state set in it.
*/
sal_Bool SAL_CALL AccessibleStateSetHelper::isEmpty ()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->IsEmpty();
@@ -181,7 +181,7 @@ sal_Bool SAL_CALL AccessibleStateSetHelper::isEmpty ()
state set and <FALSE/> otherwise.
*/
sal_Bool SAL_CALL AccessibleStateSetHelper::contains (sal_Int16 aState)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
return mpHelperImpl->Contains(aState);
@@ -204,7 +204,7 @@ sal_Bool SAL_CALL AccessibleStateSetHelper::contains (sal_Int16 aState)
*/
sal_Bool SAL_CALL AccessibleStateSetHelper::containsAll
(const uno::Sequence<sal_Int16>& rStateSet)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard (maMutex);
sal_Int32 nCount(rStateSet.getLength());
@@ -220,7 +220,7 @@ sal_Bool SAL_CALL AccessibleStateSetHelper::containsAll
}
uno::Sequence<sal_Int16> SAL_CALL AccessibleStateSetHelper::getStates()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard aGuard(maMutex);
return mpHelperImpl->GetStates();
@@ -244,7 +244,7 @@ void AccessibleStateSetHelper::RemoveState(sal_Int16 aState)
uno::Sequence< ::com::sun::star::uno::Type>
AccessibleStateSetHelper::getTypes (void)
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
const ::com::sun::star::uno::Type aTypeList[] = {
::getCppuType((const uno::Reference<
@@ -264,7 +264,7 @@ namespace
uno::Sequence<sal_Int8> SAL_CALL
AccessibleStateSetHelper::getImplementationId (void)
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return theAccessibleStateSetHelperUnoTunnelId::get().getSeq();
}