From 3099c70b11c7e5b80fe4dbe3dc99171fb38c6fc2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 17 Mar 2015 12:25:11 +0100 Subject: Fix various XServiceInfo implementations ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f --- forms/source/component/RadioButton.hxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'forms/source/component/RadioButton.hxx') diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index 62e8246e7f3e..d8660c0e7b8a 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -32,7 +32,10 @@ public: DECLARE_DEFAULT_LEAF_XTOR( ORadioButtonModel ); // XServiceInfo - IMPLEMENTATION_NAME(ORadioButtonModel); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.ORadioButtonModel"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // OPropertySetHelper @@ -83,7 +86,10 @@ public: ORadioButtonControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory); // XServiceInfo - IMPLEMENTATION_NAME(ORadioButtonControl); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.ORadioButtonControl"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: -- cgit