diff options
Diffstat (limited to 'forms/source/component/Numeric.hxx')
-rw-r--r-- | forms/source/component/Numeric.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx index fff9bbc738bb..2175b5beb55c 100644 --- a/forms/source/component/Numeric.hxx +++ b/forms/source/component/Numeric.hxx @@ -36,14 +36,13 @@ public: DECLARE_DEFAULT_LEAF_XTOR( ONumericModel ); // 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.ONumericModel"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; // css::io::XPersistObject - virtual OUString SAL_CALL getServiceName() throw ( css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; // OControlModel's property handling virtual void describeFixedProperties( @@ -61,7 +60,7 @@ protected: virtual void resetNoBroadcast() 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; }; class ONumericControl: public OBoundControl @@ -70,11 +69,10 @@ public: explicit ONumericControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); // 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.ONumericControl"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; |