diff options
Diffstat (limited to 'forms/source/component/Pattern.hxx')
-rw-r--r-- | forms/source/component/Pattern.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx index 8c9b94c656c0..d1405f481909 100644 --- a/forms/source/component/Pattern.hxx +++ b/forms/source/component/Pattern.hxx @@ -42,14 +42,13 @@ public: DECLARE_DEFAULT_LEAF_XTOR( OPatternModel ); // 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.OPatternModel"); } - 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( @@ -67,7 +66,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 OPatternControl: public OBoundControl @@ -76,11 +75,10 @@ public: explicit OPatternControl(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.OPatternControl"); } - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override; + virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; |