diff options
Diffstat (limited to 'framework/source/fwe/classes/rootactiontriggercontainer.cxx')
-rw-r--r-- | framework/source/fwe/classes/rootactiontriggercontainer.cxx | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx index 7c4312470c8b..c1306b33dfd5 100644 --- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx +++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx @@ -60,7 +60,6 @@ RootActionTriggerContainer::~RootActionTriggerContainer() // XInterface Any SAL_CALL RootActionTriggerContainer::queryInterface( const Type& aType ) -throw ( RuntimeException, std::exception ) { Any a = ::cppu::queryInterface( aType , @@ -90,7 +89,6 @@ void SAL_CALL RootActionTriggerContainer::release() throw () // XMultiServiceFactory Reference< XInterface > SAL_CALL RootActionTriggerContainer::createInstance( const OUString& aServiceSpecifier ) -throw ( Exception, RuntimeException, std::exception ) { if ( aServiceSpecifier == SERVICENAME_ACTIONTRIGGER ) return static_cast<OWeakObject *>( new ActionTriggerPropertySet()); @@ -103,13 +101,11 @@ throw ( Exception, RuntimeException, std::exception ) } Reference< XInterface > SAL_CALL RootActionTriggerContainer::createInstanceWithArguments( const OUString& ServiceSpecifier, const Sequence< Any >& /*Arguments*/ ) -throw ( Exception, RuntimeException, std::exception ) { return createInstance( ServiceSpecifier ); } Sequence< OUString > SAL_CALL RootActionTriggerContainer::getAvailableServiceNames() -throw ( RuntimeException, std::exception ) { Sequence< OUString > aSeq( 3 ); @@ -122,7 +118,6 @@ throw ( RuntimeException, std::exception ) // XIndexContainer void SAL_CALL RootActionTriggerContainer::insertByIndex( sal_Int32 Index, const Any& Element ) -throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { SolarMutexGuard g; @@ -135,7 +130,6 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept } void SAL_CALL RootActionTriggerContainer::removeByIndex( sal_Int32 Index ) -throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { SolarMutexGuard g; @@ -149,7 +143,6 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std // XIndexReplace void SAL_CALL RootActionTriggerContainer::replaceByIndex( sal_Int32 Index, const Any& Element ) -throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { SolarMutexGuard g; @@ -163,7 +156,6 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept // XIndexAccess sal_Int32 SAL_CALL RootActionTriggerContainer::getCount() -throw ( RuntimeException, std::exception ) { SolarMutexGuard g; @@ -184,7 +176,6 @@ throw ( RuntimeException, std::exception ) } Any SAL_CALL RootActionTriggerContainer::getByIndex( sal_Int32 Index ) -throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) { SolarMutexGuard g; @@ -196,13 +187,11 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std // XElementAccess Type SAL_CALL RootActionTriggerContainer::getElementType() - throw (css::uno::RuntimeException, std::exception) { return cppu::UnoType<XPropertySet>::get(); } sal_Bool SAL_CALL RootActionTriggerContainer::hasElements() -throw (css::uno::RuntimeException, std::exception) { if ( m_pMenu ) { @@ -215,26 +204,23 @@ throw (css::uno::RuntimeException, std::exception) // XServiceInfo OUString SAL_CALL RootActionTriggerContainer::getImplementationName() -throw ( RuntimeException, std::exception ) { return OUString( IMPLEMENTATIONNAME_ROOTACTIONTRIGGERCONTAINER ); } sal_Bool SAL_CALL RootActionTriggerContainer::supportsService( const OUString& ServiceName ) -throw ( RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } Sequence< OUString > SAL_CALL RootActionTriggerContainer::getSupportedServiceNames() -throw ( RuntimeException, std::exception ) { Sequence< OUString > seqServiceNames { SERVICENAME_ACTIONTRIGGERCONTAINER }; return seqServiceNames; } // XUnoTunnel -sal_Int64 SAL_CALL RootActionTriggerContainer::getSomething( const Sequence< sal_Int8 >& aIdentifier ) throw ( RuntimeException, std::exception ) +sal_Int64 SAL_CALL RootActionTriggerContainer::getSomething( const Sequence< sal_Int8 >& aIdentifier ) { if ( aIdentifier == impl_getStaticIdentifier() ) return reinterpret_cast< sal_Int64 >( this ); @@ -243,7 +229,7 @@ sal_Int64 SAL_CALL RootActionTriggerContainer::getSomething( const Sequence< sal } // XTypeProvider -Sequence< Type > SAL_CALL RootActionTriggerContainer::getTypes() throw ( RuntimeException, std::exception ) +Sequence< Type > SAL_CALL RootActionTriggerContainer::getTypes() { // Optimize this method ! // We initialize a static variable only one time. And we don't must use a mutex at every call! @@ -275,7 +261,7 @@ Sequence< Type > SAL_CALL RootActionTriggerContainer::getTypes() throw ( Runtime return pTypeCollection->getTypes(); } -Sequence< sal_Int8 > SAL_CALL RootActionTriggerContainer::getImplementationId() throw ( RuntimeException, std::exception ) +Sequence< sal_Int8 > SAL_CALL RootActionTriggerContainer::getImplementationId() { return css::uno::Sequence<sal_Int8>(); } @@ -291,7 +277,7 @@ void RootActionTriggerContainer::FillContainer() m_pMenu ); m_bInContainerCreation = false; } -OUString RootActionTriggerContainer::getName() throw ( RuntimeException, std::exception ) +OUString RootActionTriggerContainer::getName() { OUString sRet; if( m_pMenuIdentifier ) @@ -299,7 +285,7 @@ OUString RootActionTriggerContainer::getName() throw ( RuntimeException, std::ex return sRet; } -void RootActionTriggerContainer::setName( const OUString& ) throw ( RuntimeException, std::exception) +void RootActionTriggerContainer::setName( const OUString& ) { throw RuntimeException(); } |