From 773ad75b0dbc4dac1cae704c726b5a2d67ae1146 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Dec 2012 13:18:35 +0200 Subject: fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9 --- offapi/com/sun/star/util/NumberFormatsSupplier.idl | 24 +++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'offapi/com') diff --git a/offapi/com/sun/star/util/NumberFormatsSupplier.idl b/offapi/com/sun/star/util/NumberFormatsSupplier.idl index 9640cd2d2817..683d2a3a6746 100644 --- a/offapi/com/sun/star/util/NumberFormatsSupplier.idl +++ b/offapi/com/sun/star/util/NumberFormatsSupplier.idl @@ -21,10 +21,10 @@ #define __com_sun_star_util_NumberFormatsSupplier_idl__ #include -#include +#include - module com { module sun { module star { module util { +module com { module sun { module star { module util { /** provides an supplier of number formats @@ -34,24 +34,20 @@ @since OOo 1.1.2 */ -published service NumberFormatsSupplier +published service NumberFormatsSupplier : XNumberFormatsSupplier { - /** used to initialize the component when instantiating. -

In the XInitialization::initialize method, you can - pass a Locale to specify the default locale of the - number formats supplier.

+ /** + Create using specific locale. -

The component should be initialized only once, after it has been instantiated, and before it - has been used.
- If you initialize it a second time (or after you used it), it is up to implementation - how this is handled.

+ @param aLocale the locale of the number formats supplier */ - interface com::sun::star::lang::XInitialization; + createWithLocale([in] com::sun::star::lang::Locale locale); - /** allows access to the number formats supplied by the component. + /** + Create using default locale. */ - interface XNumberFormatsSupplier; + createWithDefaultLocale(); }; -- cgit