diff options
Diffstat (limited to 'forms/source/xforms/submission.cxx')
-rw-r--r-- | forms/source/xforms/submission.cxx | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 7ad6dd810688..c2ebb3e23f14 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -284,7 +284,6 @@ Submission* Submission::getSubmission( void Submission::liveCheck() - throw( RuntimeException ) { bool bValid = mxModel.is(); @@ -355,7 +354,6 @@ void Submission::initializePropertySet() sal_Bool SAL_CALL Submission::convertFastPropertyValue( Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue ) - throw ( IllegalArgumentException ) { if ( nHandle == HANDLE_IncludeNamespacePrefixes ) { @@ -378,13 +376,11 @@ sal_Bool SAL_CALL Submission::convertFastPropertyValue( } OUString SAL_CALL Submission::getName() - throw( RuntimeException, std::exception ) { return getID(); } void SAL_CALL Submission::setName( const OUString& sID ) - throw( RuntimeException, std::exception ) { setID( sID ); } @@ -392,7 +388,6 @@ void SAL_CALL Submission::setName( const OUString& sID ) sal_Int64 SAL_CALL Submission::getSomething( const Sequence<sal_Int8>& aId ) - throw( RuntimeException, std::exception ) { return ( aId == getUnoTunnelID() ) ? reinterpret_cast<sal_Int64>(this) : 0; } @@ -406,9 +401,6 @@ static OUString lcl_message( const OUString& rID, const OUString& rText ) void SAL_CALL Submission::submitWithInteraction( const Reference<XInteractionHandler>& _rxHandler ) - throw ( VetoException, - WrappedTargetException, - RuntimeException, std::exception ) { // as long as this class is not really threadsafe, we need to copy // the members we're interested in @@ -497,18 +489,18 @@ void SAL_CALL Submission::submitWithInteraction( } } -void SAL_CALL Submission::submit( ) throw ( VetoException, WrappedTargetException, RuntimeException, std::exception ) +void SAL_CALL Submission::submit( ) { submitWithInteraction( nullptr ); } -void SAL_CALL Submission::addSubmissionVetoListener( const Reference< XSubmissionVetoListener >& /*listener*/ ) throw (NoSupportException, RuntimeException, std::exception) +void SAL_CALL Submission::addSubmissionVetoListener( const Reference< XSubmissionVetoListener >& /*listener*/ ) { // TODO throw NoSupportException(); } -void SAL_CALL Submission::removeSubmissionVetoListener( const Reference< XSubmissionVetoListener >& /*listener*/ ) throw (NoSupportException, RuntimeException, std::exception) +void SAL_CALL Submission::removeSubmissionVetoListener( const Reference< XSubmissionVetoListener >& /*listener*/ ) { // TODO throw NoSupportException(); @@ -590,31 +582,31 @@ Reference< XDocumentFragment > Submission::createSubmissionDocument(const Refere // some forwarding: XPropertySet is implemented in our base class, // but also available as base of XSubmission -Reference< css::beans::XPropertySetInfo > SAL_CALL Submission::getPropertySetInfo( ) throw(RuntimeException, std::exception) +Reference< css::beans::XPropertySetInfo > SAL_CALL Submission::getPropertySetInfo( ) { return PropertySetBase::getPropertySetInfo(); } -void SAL_CALL Submission::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL Submission::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) { PropertySetBase::setPropertyValue( aPropertyName, aValue ); } -Any SAL_CALL Submission::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL Submission::getPropertyValue( const OUString& PropertyName ) { return PropertySetBase::getPropertyValue( PropertyName ); } -void SAL_CALL Submission::addPropertyChangeListener( const OUString& aPropertyName, const Reference< css::beans::XPropertyChangeListener >& xListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL Submission::addPropertyChangeListener( const OUString& aPropertyName, const Reference< css::beans::XPropertyChangeListener >& xListener ) { PropertySetBase::addPropertyChangeListener( aPropertyName, xListener ); } -void SAL_CALL Submission::removePropertyChangeListener( const OUString& aPropertyName, const Reference< css::beans::XPropertyChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL Submission::removePropertyChangeListener( const OUString& aPropertyName, const Reference< css::beans::XPropertyChangeListener >& aListener ) { PropertySetBase::removePropertyChangeListener( aPropertyName, aListener ); } -void SAL_CALL Submission::addVetoableChangeListener( const OUString& PropertyName, const Reference< css::beans::XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL Submission::addVetoableChangeListener( const OUString& PropertyName, const Reference< css::beans::XVetoableChangeListener >& aListener ) { PropertySetBase::addVetoableChangeListener( PropertyName, aListener ); } -void SAL_CALL Submission::removeVetoableChangeListener( const OUString& PropertyName, const Reference< css::beans::XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL Submission::removeVetoableChangeListener( const OUString& PropertyName, const Reference< css::beans::XVetoableChangeListener >& aListener ) { PropertySetBase::removeVetoableChangeListener( PropertyName, aListener ); } |