diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /configmgr/source/rootaccess.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'configmgr/source/rootaccess.cxx')
-rw-r--r-- | configmgr/source/rootaccess.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx index 59b2bbd12051..9ccf8fcb5fb3 100644 --- a/configmgr/source/rootaccess.cxx +++ b/configmgr/source/rootaccess.cxx @@ -120,7 +120,7 @@ void RootAccess::setAlive(bool b) { void RootAccess::addChangesListener( css::uno::Reference< css::util::XChangesListener > const & aListener) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_ANY)); { @@ -143,7 +143,7 @@ void RootAccess::addChangesListener( void RootAccess::removeChangesListener( css::uno::Reference< css::util::XChangesListener > const & aListener) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_ANY)); osl::MutexGuard g(*lock_); @@ -183,7 +183,7 @@ void RootAccess::commitChanges() bc.send(); } -sal_Bool RootAccess::hasPendingChanges() throw (css::uno::RuntimeException) { +sal_Bool RootAccess::hasPendingChanges() throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_UPDATE)); osl::MutexGuard g(*lock_); checkLocalizedPropertyAccess(); @@ -194,7 +194,7 @@ sal_Bool RootAccess::hasPendingChanges() throw (css::uno::RuntimeException) { } css::util::ChangesSet RootAccess::getPendingChanges() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_UPDATE)); osl::MutexGuard g(*lock_); @@ -296,7 +296,7 @@ void RootAccess::clearListeners() throw() { } css::uno::Any RootAccess::queryInterface(css::uno::Type const & aType) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_ANY)); osl::MutexGuard g(*lock_); @@ -318,7 +318,7 @@ css::uno::Any RootAccess::queryInterface(css::uno::Type const & aType) } OUString RootAccess::getImplementationName() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { assert(thisIs(IS_ANY)); osl::MutexGuard g(*lock_); |