diff options
Diffstat (limited to 'forms/source/xforms/xforms_services.cxx')
-rw-r--r-- | forms/source/xforms/xforms_services.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/forms/source/xforms/xforms_services.cxx b/forms/source/xforms/xforms_services.cxx index 1ca4843f2bac..9c6081abe2af 100644 --- a/forms/source/xforms/xforms_services.cxx +++ b/forms/source/xforms/xforms_services.cxx @@ -35,16 +35,13 @@ class Implementation: NameContainer<css::uno::Reference<css::beans::XPropertySet>>, 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.XForms"); } - sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) override + sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } - css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) override + css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { return css::uno::Sequence<OUString>{"com.sun.star.xforms.XForms"}; } |