diff options
Diffstat (limited to 'forms/source/xforms/submission.hxx')
-rw-r--r-- | forms/source/xforms/submission.hxx | 45 |
1 files changed, 16 insertions, 29 deletions
diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index fac867fc753d..836e3a098c07 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -167,8 +167,7 @@ private: /// (to be used be API methods before acting on the object) /// /// @throws css::uno::RuntimeException - void liveCheck() - throw( css::uno::RuntimeException ); + void liveCheck(); /// get the model implementation xforms::Model* getModelImpl() const; @@ -184,8 +183,7 @@ protected: css::uno::Any& rConvertedValue, css::uno::Any& rOldValue, sal_Int32 nHandle, - const css::uno::Any& rValue ) - throw ( css::lang::IllegalArgumentException ) override; + const css::uno::Any& rValue ) override; private: void initializePropertySet(); @@ -198,51 +196,40 @@ public: // get/set name - virtual OUString SAL_CALL getName() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getName() override; - virtual void SAL_CALL setName( const OUString& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setName( const OUString& ) override; // XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( - const css::uno::Sequence<sal_Int8>& ) - throw( css::uno::RuntimeException, std::exception ) override; + const css::uno::Sequence<sal_Int8>& ) override; // XSubmission - virtual void SAL_CALL submit( ) - throw ( css::util::VetoException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL submit( ) override; virtual void SAL_CALL submitWithInteraction( - const css::uno::Reference< css::task::XInteractionHandler >& aHandler ) - throw ( css::util::VetoException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::task::XInteractionHandler >& aHandler ) override; virtual void SAL_CALL addSubmissionVetoListener( - const css::uno::Reference< css::form::submission::XSubmissionVetoListener >& listener ) - throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::form::submission::XSubmissionVetoListener >& listener ) override; virtual void SAL_CALL removeSubmissionVetoListener( - const css::uno::Reference< css::form::submission::XSubmissionVetoListener >& listener ) - throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::form::submission::XSubmissionVetoListener >& listener ) override; // XPropertySet // (need to disambiguate this) - virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override; + virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override; + virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override; + virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override; + virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override; + virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; + virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override; }; |