diff options
Diffstat (limited to 'sfx2/source/notify/eventsupplier.cxx')
-rw-r--r-- | sfx2/source/notify/eventsupplier.cxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index aa94e1b8e07f..807b353b0d16 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -53,8 +53,6 @@ using namespace css; // --- XNameReplace --- void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, const uno::Any & rElement ) - throw( lang::IllegalArgumentException, container::NoSuchElementException, - lang::WrappedTargetException, uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( maMutex ); @@ -111,8 +109,6 @@ void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, const uno:: // --- XNameAccess --- uno::Any SAL_CALL SfxEvents_Impl::getByName( const OUString& aName ) - throw( container::NoSuchElementException, lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( maMutex ); @@ -130,13 +126,13 @@ uno::Any SAL_CALL SfxEvents_Impl::getByName( const OUString& aName ) } -uno::Sequence< OUString > SAL_CALL SfxEvents_Impl::getElementNames() throw ( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SAL_CALL SfxEvents_Impl::getElementNames() { return maEventNames; } -sal_Bool SAL_CALL SfxEvents_Impl::hasByName( const OUString& aName ) throw ( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL SfxEvents_Impl::hasByName( const OUString& aName ) { ::osl::MutexGuard aGuard( maMutex ); @@ -156,14 +152,14 @@ sal_Bool SAL_CALL SfxEvents_Impl::hasByName( const OUString& aName ) throw ( uno // --- XElementAccess ( parent of XNameAccess ) --- -uno::Type SAL_CALL SfxEvents_Impl::getElementType() throw ( uno::RuntimeException, std::exception ) +uno::Type SAL_CALL SfxEvents_Impl::getElementType() { uno::Type aElementType = cppu::UnoType<uno::Sequence < beans::PropertyValue >>::get(); return aElementType; } -sal_Bool SAL_CALL SfxEvents_Impl::hasElements() throw ( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL SfxEvents_Impl::hasElements() { ::osl::MutexGuard aGuard( maMutex ); @@ -268,7 +264,7 @@ void SfxEvents_Impl::Execute( uno::Any& aEventData, const document::DocumentEven // --- ::document::XEventListener --- -void SAL_CALL SfxEvents_Impl::notifyEvent( const document::EventObject& aEvent ) throw( uno::RuntimeException, std::exception ) +void SAL_CALL SfxEvents_Impl::notifyEvent( const document::EventObject& aEvent ) { ::osl::ClearableMutexGuard aGuard( maMutex ); @@ -298,7 +294,7 @@ void SAL_CALL SfxEvents_Impl::notifyEvent( const document::EventObject& aEvent ) // --- ::lang::XEventListener --- -void SAL_CALL SfxEvents_Impl::disposing( const lang::EventObject& /*Source*/ ) throw( uno::RuntimeException, std::exception ) +void SAL_CALL SfxEvents_Impl::disposing( const lang::EventObject& /*Source*/ ) { ::osl::MutexGuard aGuard( maMutex ); |