diff options
Diffstat (limited to 'forms/source/component/RadioButton.hxx')
-rw-r--r-- | forms/source/component/RadioButton.hxx | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index 0f148397e4d7..3a3a4a6e53dd 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -32,25 +32,23 @@ public: DECLARE_DEFAULT_LEAF_XTOR( ORadioButtonModel ); // XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.ORadioButtonModel"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; // OPropertySetHelper - virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) - throw (css::uno::Exception, std::exception) override; + virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) override; // XPersistObject - virtual OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; virtual void SAL_CALL - write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) override; + write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) override; virtual void SAL_CALL - read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) override; + read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) override; // OPropertyChangeListener - virtual void _propertyChanged(const css::beans::PropertyChangeEvent& evt) throw(css::uno::RuntimeException) override; + virtual void _propertyChanged(const css::beans::PropertyChangeEvent& evt) override; // OControlModel's property handling virtual void describeFixedProperties( @@ -66,7 +64,7 @@ protected: protected: void SetSiblingPropsTo(const OUString& rPropName, const css::uno::Any& rValue); - 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: void setControlSource(); @@ -78,11 +76,10 @@ public: explicit ORadioButtonControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); // XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.ORadioButtonControl"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; |