diff options
Diffstat (limited to 'binaryurp/source/bridge.cxx')
-rw-r--r-- | binaryurp/source/bridge.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index d47b83410708..a47fbaa9a3cb 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -848,7 +848,7 @@ Bridge::~Bridge() { } css::uno::Reference< css::uno::XInterface > Bridge::getInstance( - OUString const & sInstanceName) throw (css::uno::RuntimeException, std::exception) + OUString const & sInstanceName) { if (sInstanceName.isEmpty()) { throw css::uno::RuntimeException( @@ -885,18 +885,18 @@ css::uno::Reference< css::uno::XInterface > Bridge::getInstance( SAL_NO_ACQUIRE); } -OUString Bridge::getName() throw (css::uno::RuntimeException, std::exception) { +OUString Bridge::getName() { return name_; } -OUString Bridge::getDescription() throw (css::uno::RuntimeException, std::exception) { +OUString Bridge::getDescription() { OUStringBuffer b(name_); b.append(':'); b.append(connection_->getDescription()); return b.makeStringAndClear(); } -void Bridge::dispose() throw (css::uno::RuntimeException, std::exception) { +void Bridge::dispose() { // For terminate(true) not to deadlock, an external protocol must ensure // that dispose is not called from a thread pool worker thread (that dispose // is never called from the reader or writer thread is already ensured @@ -911,7 +911,6 @@ void Bridge::dispose() throw (css::uno::RuntimeException, std::exception) { void Bridge::addEventListener( css::uno::Reference< css::lang::XEventListener > const & xListener) - throw (css::uno::RuntimeException, std::exception) { assert(xListener.is()); { @@ -928,7 +927,6 @@ void Bridge::addEventListener( void Bridge::removeEventListener( css::uno::Reference< css::lang::XEventListener > const & aListener) - throw (css::uno::RuntimeException, std::exception) { osl::MutexGuard g(mutex_); Listeners::iterator i( |