diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-04 13:18:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-06 13:20:31 +0200 |
commit | 773ad75b0dbc4dac1cae704c726b5a2d67ae1146 (patch) | |
tree | b95386a6639835d7751a6b3aa7bcdfb114f026f8 /offapi/com | |
parent | 584cd8d1c23d47becb776e382f853ffe77ce9fc2 (diff) |
fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/util/NumberFormatsSupplier.idl | 24 |
1 files changed, 10 insertions, 14 deletions
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 <com/sun/star/util/XNumberFormatsSupplier.idl> -#include <com/sun/star/lang/XInitialization.idl> +#include <com/sun/star/lang/Locale.idl> - 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. - <p>In the <member scope="com::sun::star::lang">XInitialization::initialize</member> method, you can - pass a <type scope="com::sun::star::lang">Locale</type> to specify the default locale of the - number formats supplier.</p> + /** + Create using specific locale. - <p>The component should be initialized only once, after it has been instantiated, and before it - has been used.<br/> - If you initialize it a second time (or after you used it), it is up to implementation - how this is handled.</p> + @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(); }; |