diff options
Diffstat (limited to 'stoc/source/corereflection/crcomp.cxx')
-rw-r--r-- | stoc/source/corereflection/crcomp.cxx | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/stoc/source/corereflection/crcomp.cxx b/stoc/source/corereflection/crcomp.cxx index 3596e220a3c4..3dd101f2979f 100644 --- a/stoc/source/corereflection/crcomp.cxx +++ b/stoc/source/corereflection/crcomp.cxx @@ -50,30 +50,29 @@ public: {} // XInterface - virtual Any SAL_CALL queryInterface( const Type & rType ) throw (css::uno::RuntimeException, std::exception) override; + virtual Any SAL_CALL queryInterface( const Type & rType ) override; virtual void SAL_CALL acquire() throw () override; virtual void SAL_CALL release() throw () override; // XTypeProvider - virtual Sequence< Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; - virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (css::uno::RuntimeException, std::exception) override; + virtual Sequence< Type > SAL_CALL getTypes() override; + virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() override; // XIdlMember - virtual Reference< XIdlClass > SAL_CALL getDeclaringClass() throw(css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override; + virtual Reference< XIdlClass > SAL_CALL getDeclaringClass() override; + virtual OUString SAL_CALL getName() override; // XIdlField - virtual Reference< XIdlClass > SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override; - virtual FieldAccessMode SAL_CALL getAccessMode() throw(css::uno::RuntimeException, std::exception) override; - virtual Any SAL_CALL get( const Any & rObj ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL set( const Any & rObj, const Any & rValue ) throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception) override; + virtual Reference< XIdlClass > SAL_CALL getType() override; + virtual FieldAccessMode SAL_CALL getAccessMode() override; + virtual Any SAL_CALL get( const Any & rObj ) override; + virtual void SAL_CALL set( const Any & rObj, const Any & rValue ) override; // XIdlField2: getType, getAccessMode and get are equal to XIdlField - virtual void SAL_CALL set( Any & rObj, const Any & rValue ) throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL set( Any & rObj, const Any & rValue ) override; }; // XInterface Any IdlCompFieldImpl::queryInterface( const Type & rType ) - throw(css::uno::RuntimeException, std::exception) { Any aRet( ::cppu::queryInterface( rType, static_cast< XIdlField * >( this ), @@ -94,7 +93,6 @@ void IdlCompFieldImpl::release() throw() // XTypeProvider Sequence< Type > IdlCompFieldImpl::getTypes() - throw (css::uno::RuntimeException, std::exception) { static ::cppu::OTypeCollection * s_pTypes = nullptr; if (! s_pTypes) @@ -113,7 +111,6 @@ Sequence< Type > IdlCompFieldImpl::getTypes() } Sequence< sal_Int8 > IdlCompFieldImpl::getImplementationId() - throw (css::uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } @@ -121,7 +118,6 @@ Sequence< sal_Int8 > IdlCompFieldImpl::getImplementationId() // XIdlMember Reference< XIdlClass > IdlCompFieldImpl::getDeclaringClass() - throw(css::uno::RuntimeException, std::exception) { if (! _xDeclClass.is()) { @@ -149,7 +145,6 @@ Reference< XIdlClass > IdlCompFieldImpl::getDeclaringClass() } OUString IdlCompFieldImpl::getName() - throw(css::uno::RuntimeException, std::exception) { return IdlMemberImpl::getName(); } @@ -157,19 +152,16 @@ OUString IdlCompFieldImpl::getName() // XIdlField Reference< XIdlClass > IdlCompFieldImpl::getType() - throw(css::uno::RuntimeException, std::exception) { return getReflection()->forType( getTypeDescr() ); } FieldAccessMode IdlCompFieldImpl::getAccessMode() - throw(css::uno::RuntimeException, std::exception) { return FieldAccessMode_READWRITE; } Any IdlCompFieldImpl::get( const Any & rObj ) - throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { if (rObj.getValueTypeClass() == css::uno::TypeClass_STRUCT || rObj.getValueTypeClass() == css::uno::TypeClass_EXCEPTION) @@ -202,7 +194,6 @@ Any IdlCompFieldImpl::get( const Any & rObj ) } void IdlCompFieldImpl::set( const Any & rObj, const Any & rValue ) - throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception) { if (rObj.getValueTypeClass() == css::uno::TypeClass_STRUCT || rObj.getValueTypeClass() == css::uno::TypeClass_EXCEPTION) @@ -239,7 +230,6 @@ void IdlCompFieldImpl::set( const Any & rObj, const Any & rValue ) void IdlCompFieldImpl::set( Any & rObj, const Any & rValue ) - throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception) { if (rObj.getValueTypeClass() == css::uno::TypeClass_STRUCT || rObj.getValueTypeClass() == css::uno::TypeClass_EXCEPTION) @@ -281,7 +271,6 @@ CompoundIdlClassImpl::~CompoundIdlClassImpl() sal_Bool CompoundIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > & xType ) - throw(css::uno::RuntimeException, std::exception) { if (xType.is()) { @@ -305,7 +294,6 @@ sal_Bool CompoundIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > & } Sequence< Reference< XIdlClass > > CompoundIdlClassImpl::getSuperclasses() - throw(css::uno::RuntimeException, std::exception) { if (! _xSuperClass.is()) { @@ -324,7 +312,6 @@ Sequence< Reference< XIdlClass > > CompoundIdlClassImpl::getSuperclasses() } Reference< XIdlField > CompoundIdlClassImpl::getField( const OUString & rName ) - throw(css::uno::RuntimeException, std::exception) { if (! _pFields) getFields(); // init fields @@ -337,7 +324,6 @@ Reference< XIdlField > CompoundIdlClassImpl::getField( const OUString & rName ) } Sequence< Reference< XIdlField > > CompoundIdlClassImpl::getFields() - throw(css::uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( getMutexAccess() ); if (! _pFields) |