diff options
Diffstat (limited to 'framework/source/services/ContextChangeEventMultiplexer.cxx')
-rw-r--r-- | framework/source/services/ContextChangeEventMultiplexer.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx index 5bdcaf03f33f..24ad2dd865ea 100644 --- a/framework/source/services/ContextChangeEventMultiplexer.cxx +++ b/framework/source/services/ContextChangeEventMultiplexer.cxx @@ -61,32 +61,32 @@ public: virtual void SAL_CALL addContextChangeEventListener ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException, cssl::IllegalArgumentException); + throw(cssu::RuntimeException, cssl::IllegalArgumentException, std::exception); virtual void SAL_CALL removeContextChangeEventListener ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException, cssl::IllegalArgumentException); + throw(cssu::RuntimeException, cssl::IllegalArgumentException, std::exception); virtual void SAL_CALL removeAllContextChangeEventListeners ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener) - throw(cssu::RuntimeException, cssl::IllegalArgumentException); + throw(cssu::RuntimeException, cssl::IllegalArgumentException, std::exception); virtual void SAL_CALL broadcastContextChangeEvent ( const css::ui::ContextChangeEventObject& rContextChangeEventObject, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException); + throw(cssu::RuntimeException, std::exception); // XServiceInfo virtual ::rtl::OUString SAL_CALL getImplementationName (void) - throw (cssu::RuntimeException); + throw (cssu::RuntimeException, std::exception); virtual sal_Bool SAL_CALL supportsService ( const ::rtl::OUString& rsServiceName) - throw (cssu::RuntimeException); + throw (cssu::RuntimeException, std::exception); virtual cssu::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) - throw (cssu::RuntimeException); + throw (cssu::RuntimeException, std::exception); // XEventListener virtual void SAL_CALL disposing ( const css::lang::EventObject& rEvent) - throw (cssu::RuntimeException); + throw (cssu::RuntimeException, std::exception); private: typedef ::std::vector<cssu::Reference<css::ui::XContextChangeEventListener> > ListenerContainer; @@ -157,7 +157,7 @@ void SAL_CALL ContextChangeEventMultiplexer::disposing (void) void SAL_CALL ContextChangeEventMultiplexer::addContextChangeEventListener ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException,cssl::IllegalArgumentException) + throw(cssu::RuntimeException,cssl::IllegalArgumentException, std::exception) { if ( ! rxListener.is()) throw css::lang::IllegalArgumentException( @@ -194,7 +194,7 @@ void SAL_CALL ContextChangeEventMultiplexer::addContextChangeEventListener ( void SAL_CALL ContextChangeEventMultiplexer::removeContextChangeEventListener ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException,cssl::IllegalArgumentException) + throw(cssu::RuntimeException,cssl::IllegalArgumentException, std::exception) { if ( ! rxListener.is()) throw cssl::IllegalArgumentException( @@ -220,7 +220,7 @@ void SAL_CALL ContextChangeEventMultiplexer::removeContextChangeEventListener ( void SAL_CALL ContextChangeEventMultiplexer::removeAllContextChangeEventListeners ( const cssu::Reference<css::ui::XContextChangeEventListener>& rxListener) - throw(cssu::RuntimeException,cssl::IllegalArgumentException) + throw(cssu::RuntimeException,cssl::IllegalArgumentException, std::exception) { if ( ! rxListener.is()) throw cssl::IllegalArgumentException( @@ -248,7 +248,7 @@ void SAL_CALL ContextChangeEventMultiplexer::removeAllContextChangeEventListener void SAL_CALL ContextChangeEventMultiplexer::broadcastContextChangeEvent ( const css::ui::ContextChangeEventObject& rEventObject, const cssu::Reference<cssu::XInterface>& rxEventFocus) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { // Remember the current context. if (rxEventFocus.is()) @@ -312,26 +312,26 @@ ContextChangeEventMultiplexer::FocusDescriptor* ContextChangeEventMultiplexer::G } OUString SAL_CALL ContextChangeEventMultiplexer::getImplementationName() - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { return OUString("org.apache.openoffice.comp.framework.ContextChangeEventMultiplexer"); } sal_Bool SAL_CALL ContextChangeEventMultiplexer::supportsService ( const ::rtl::OUString& rsServiceName) - throw (cssu::RuntimeException) + throw (cssu::RuntimeException, std::exception) { return cppu::supportsService(this, rsServiceName); } css::uno::Sequence<OUString> SAL_CALL ContextChangeEventMultiplexer::getSupportedServiceNames() - throw (cssu::RuntimeException) + throw (cssu::RuntimeException, std::exception) { // it's a singleton, not a service return css::uno::Sequence<OUString>(); } void SAL_CALL ContextChangeEventMultiplexer::disposing ( const css::lang::EventObject& rEvent) - throw (cssu::RuntimeException) + throw (cssu::RuntimeException, std::exception) { ListenerMap::iterator iDescriptor (maListeners.find(rEvent.Source)); |