diff options
Diffstat (limited to 'forms/source/component/Edit.hxx')
-rw-r--r-- | forms/source/component/Edit.hxx | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index 5430920ce335..97d7a4f1b755 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -57,22 +57,21 @@ public: virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle ) const override; // XPersistObject - virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw ( css::io::IOException, css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) throw ( css::io::IOException, css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getServiceName() throw ( css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) override; + virtual void SAL_CALL read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) override; + virtual OUString SAL_CALL getServiceName() override; // XPropertySet using OBoundControlModel::getFastPropertyValue; // XReset - virtual void SAL_CALL reset( ) throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL reset( ) override; // XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.OEditModel"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; // OControlModel's property handling virtual void describeFixedProperties( @@ -104,7 +103,7 @@ protected: protected: virtual sal_uInt16 getPersistenceFlags() const override; - virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override; private: bool implActsAsRichText( ) const; @@ -131,7 +130,7 @@ public: virtual ~OEditControl() override; DECLARE_UNO3_AGG_DEFAULTS(OEditControl, OBoundControl) - virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) override; virtual css::uno::Sequence< css::uno::Type> _getTypes() override; @@ -139,26 +138,25 @@ public: virtual void SAL_CALL disposing() override; // css::lang::XEventListener - virtual void SAL_CALL disposing(const css::lang::EventObject& _rSource) throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing(const css::lang::EventObject& _rSource) override; // css::lang::XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.OEditControl"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; // css::form::XChangeBroadcaster - virtual void SAL_CALL addChangeListener(const css::uno::Reference< css::form::XChangeListener>& _rxListener) throw ( css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeChangeListener(const css::uno::Reference< css::form::XChangeListener>& _rxListener) throw ( css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL addChangeListener(const css::uno::Reference< css::form::XChangeListener>& _rxListener) override; + virtual void SAL_CALL removeChangeListener(const css::uno::Reference< css::form::XChangeListener>& _rxListener) override; // css::awt::XFocusListener - virtual void SAL_CALL focusGained( const css::awt::FocusEvent& e ) throw ( css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL focusLost( const css::awt::FocusEvent& e ) throw ( css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL focusGained( const css::awt::FocusEvent& e ) override; + virtual void SAL_CALL focusLost( const css::awt::FocusEvent& e ) override; // css::awt::XKeyListener - virtual void SAL_CALL keyPressed(const css::awt::KeyEvent& e) throw ( css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL keyReleased(const css::awt::KeyEvent& e) throw ( css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL keyPressed(const css::awt::KeyEvent& e) override; + virtual void SAL_CALL keyReleased(const css::awt::KeyEvent& e) override; // XControl using OBoundControl::createPeer; |