diff options
Diffstat (limited to 'forms/source/xforms/datatypes.cxx')
-rw-r--r-- | forms/source/xforms/datatypes.cxx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index 90e307ab0b30..707dce52a2eb 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -108,62 +108,62 @@ namespace xforms SAL_WARN_IF( member != value, "forms.misc", "OXSDDataType::setFoo: inconsistency!" ); - OUString SAL_CALL OXSDDataType::getName( ) throw (RuntimeException, std::exception) + OUString SAL_CALL OXSDDataType::getName( ) { return m_sName; } - void SAL_CALL OXSDDataType::setName( const OUString& aName ) throw (RuntimeException, VetoException, std::exception) + void SAL_CALL OXSDDataType::setName( const OUString& aName ) { // TODO: check the name for conflicts in the repository SET_PROPERTY( NAME, aName, m_sName ); } - OUString SAL_CALL OXSDDataType::getPattern() throw (RuntimeException, std::exception) + OUString SAL_CALL OXSDDataType::getPattern() { return m_sPattern; } - void SAL_CALL OXSDDataType::setPattern( const OUString& _pattern ) throw (RuntimeException, std::exception) + void SAL_CALL OXSDDataType::setPattern( const OUString& _pattern ) { SET_PROPERTY( XSD_PATTERN, _pattern, m_sPattern ); } - sal_Int16 SAL_CALL OXSDDataType::getWhiteSpaceTreatment() throw (RuntimeException, std::exception) + sal_Int16 SAL_CALL OXSDDataType::getWhiteSpaceTreatment() { return m_nWST; } - void SAL_CALL OXSDDataType::setWhiteSpaceTreatment( sal_Int16 _whitespacetreatment ) throw (RuntimeException, IllegalArgumentException, std::exception) + void SAL_CALL OXSDDataType::setWhiteSpaceTreatment( sal_Int16 _whitespacetreatment ) { SET_PROPERTY( XSD_WHITESPACE, _whitespacetreatment, m_nWST ); } - sal_Bool SAL_CALL OXSDDataType::getIsBasic() throw (RuntimeException, std::exception) + sal_Bool SAL_CALL OXSDDataType::getIsBasic() { return m_bIsBasic; } - sal_Int16 SAL_CALL OXSDDataType::getTypeClass() throw (RuntimeException, std::exception) + sal_Int16 SAL_CALL OXSDDataType::getTypeClass() { return m_nTypeClass; } - sal_Bool OXSDDataType::validate( const OUString& sValue ) throw( RuntimeException, std::exception ) + sal_Bool OXSDDataType::validate( const OUString& sValue ) { return ( _validate( sValue ) == 0 ); } - OUString OXSDDataType::explainInvalid( const OUString& sValue ) throw( RuntimeException, std::exception ) + OUString OXSDDataType::explainInvalid( const OUString& sValue ) { // get reason sal_uInt16 nReason = _validate( sValue ); @@ -237,7 +237,7 @@ namespace xforms } - sal_Bool OXSDDataType::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException) + sal_Bool OXSDDataType::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) { // let the base class do the conversion if ( !OXSDDataType_PBase::convertFastPropertyValue( _rConvertedValue, _rOldValue, _nHandle, _rValue ) ) @@ -257,7 +257,7 @@ namespace xforms } - void SAL_CALL OXSDDataType::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw (Exception, std::exception) + void SAL_CALL OXSDDataType::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) { OXSDDataType_PBase::setFastPropertyValue_NoBroadcast( _nHandle, _rValue ); if ( _nHandle == PROPERTY_ID_XSD_PATTERN ) @@ -285,37 +285,37 @@ namespace xforms } - void SAL_CALL OXSDDataType::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception) + void SAL_CALL OXSDDataType::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) { OXSDDataType_PBase::setPropertyValue( aPropertyName, aValue ); } - Any SAL_CALL OXSDDataType::getPropertyValue( const OUString& PropertyName ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) + Any SAL_CALL OXSDDataType::getPropertyValue( const OUString& PropertyName ) { return OXSDDataType_PBase::getPropertyValue( PropertyName ); } - void SAL_CALL OXSDDataType::addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) + void SAL_CALL OXSDDataType::addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) { OXSDDataType_PBase::addPropertyChangeListener( aPropertyName, xListener ); } - void SAL_CALL OXSDDataType::removePropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) + void SAL_CALL OXSDDataType::removePropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) { OXSDDataType_PBase::removePropertyChangeListener( aPropertyName, aListener ); } - void SAL_CALL OXSDDataType::addVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) + void SAL_CALL OXSDDataType::addVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) { OXSDDataType_PBase::addVetoableChangeListener( PropertyName, aListener ); } - void SAL_CALL OXSDDataType::removeVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) + void SAL_CALL OXSDDataType::removeVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) { OXSDDataType_PBase::removeVetoableChangeListener( PropertyName, aListener ); } @@ -351,7 +351,7 @@ namespace xforms void SAL_CALL OValueLimitedType_Base::setFastPropertyValue_NoBroadcast( - sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw (css::uno::Exception, std::exception) + sal_Int32 _nHandle, const css::uno::Any& _rValue ) { OXSDDataType::setFastPropertyValue_NoBroadcast( _nHandle, _rValue ); @@ -955,7 +955,7 @@ template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS > template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS > -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getPropertySetInfo() throw( css::uno::RuntimeException ) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getPropertySetInfo() { return ::cppu::OPropertySetHelper::createPropertySetInfo( getInfoHelper() ); } |