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/Time.hxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'forms/source/component/Time.hxx') diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx index dfef239d93fb..329b65fda26e 100644 --- a/forms/source/component/Time.hxx +++ b/forms/source/component/Time.hxx @@ -52,7 +52,10 @@ public: virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue) throw ( ::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XServiceInfo - IMPLEMENTATION_NAME(OTimeModel); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OTimeModel"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; // OControlModel's property handling @@ -106,7 +109,10 @@ public: DECLARE_UNO3_AGG_DEFAULTS(OTimeControl, OBoundControl) // ::com::sun::star::lang::XServiceInfo - IMPLEMENTATION_NAME(OTimeControl); + OUString SAL_CALL getImplementationName() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return OUString("com.sun.star.form.OTimeControl"); } + virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE; }; -- cgit