diff options
Diffstat (limited to 'forms/source/component/CheckBox.hxx')
-rw-r--r-- | forms/source/component/CheckBox.hxx | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/forms/source/component/CheckBox.hxx b/forms/source/component/CheckBox.hxx index cfa6c0c8a3a2..98421e1599e9 100644 --- a/forms/source/component/CheckBox.hxx +++ b/forms/source/component/CheckBox.hxx @@ -35,18 +35,17 @@ public: DECLARE_DEFAULT_LEAF_XTOR( OCheckBoxModel ); // XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.OCheckBoxModel"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() 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; // OControlModel's property handling virtual void describeFixedProperties( @@ -54,7 +53,7 @@ public: ) const override; protected: - 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; // OBoundControlModel overridables virtual css::uno::Any translateDbColumnToControlValue( ) override; @@ -67,11 +66,10 @@ public: explicit OCheckBoxControl(const css::uno::Reference< css::uno::XComponentContext>& _rxContext); // XServiceInfo - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.form.OCheckBoxControl"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; |