summaryrefslogtreecommitdiff
path: root/svtools/source/uno/registerservices.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-19 07:11:21 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-19 07:11:21 +0000
commit3c1e4ef131060340bdc1fc140d37f8540ab69f8c (patch)
treec4f72f2093cf20345eb1d725de4b1a25e5db54fc /svtools/source/uno/registerservices.cxx
parent58f0e12aa999d5c3366cf7e2ad1d9a95386a1003 (diff)
INTEGRATION: CWS fwkq1 (1.15.12); FILE MERGED
2003/08/28 13:12:41 mba 1.15.12.1: #110843#: register NumberFormatter
Diffstat (limited to 'svtools/source/uno/registerservices.cxx')
-rw-r--r--svtools/source/uno/registerservices.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/svtools/source/uno/registerservices.cxx b/svtools/source/uno/registerservices.cxx
index fd8d2c900676..f8a4ca81759f 100644
--- a/svtools/source/uno/registerservices.cxx
+++ b/svtools/source/uno/registerservices.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: registerservices.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: rt $ $Date: 2003-06-12 08:22:54 $
+ * last change: $Author: rt $ $Date: 2003-09-19 08:11:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -118,6 +118,7 @@
// -------------------------------------------------------------------------------------
+DECLARE_CREATEINSTANCE( SvNumberFormatterServiceObj )
DECLARE_CREATEINSTANCE( SvNumberFormatsSupplierServiceObject )
DECLARE_CREATEINSTANCE( ImageProducer )
DECLARE_CREATEINSTANCE_NAMESPACE( svt, OAddressBookSourceDialogUno )
@@ -264,6 +265,9 @@ sal_Bool SAL_CALL component_writeInfo( void* _pServiceManager, void* _pRegistryK
xNewKey = xRegistryKey->createKey( ::rtl::OUString::createFromAscii( "/com.sun.star.uno.util.numbers.SvNumberFormatsSupplierServiceObject/UNO/SERVICES" ) );
xNewKey->createKey( ::rtl::OUString::createFromAscii( "com.sun.star.util.NumberFormatsSupplier" ) );
+ xNewKey = xRegistryKey->createKey( ::rtl::OUString::createFromAscii( "/com.sun.star.uno.util.numbers.SvNumberFormatterServiceObject/UNO/SERVICES" ) );
+ xNewKey->createKey( ::rtl::OUString::createFromAscii( "com.sun.star.util.NumberFormatter" ) );
+
xNewKey = xRegistryKey->createKey( ::rtl::OUString::createFromAscii( "/org.openoffice.comp.svt.OAddressBookSourceDialogUno/UNO/SERVICES" ) );
xNewKey->createKey( ::rtl::OUString::createFromAscii( "com.sun.star.ui.AddressBookSourceDialog" ) );
@@ -319,6 +323,12 @@ void* SAL_CALL component_getFactory( const sal_Char* sImplementationName, void*
aServiceNames.getArray()[0] = ::rtl::OUString::createFromAscii( "com.sun.star.util.NumberFormatsSupplier" );
xFactory = ::cppu::createSingleFactory( xServiceManager, ::rtl::OUString::createFromAscii( sImplementationName ), SvNumberFormatsSupplierServiceObject_CreateInstance, aServiceNames );
}
+ else if ( rtl_str_compare( sImplementationName, "com.sun.star.uno.util.numbers.SvNumberFormatterServiceObject") == 0 )
+ {
+ ::com::sun::star::uno::Sequence< ::rtl::OUString > aServiceNames(1);
+ aServiceNames.getArray()[0] = ::rtl::OUString::createFromAscii( "com.sun.star.util.NumberFormatter" );
+ xFactory = ::cppu::createSingleFactory( xServiceManager, ::rtl::OUString::createFromAscii( sImplementationName ), SvNumberFormatterServiceObj_CreateInstance, aServiceNames );
+ }
else if ( rtl_str_compare( sImplementationName, "org.openoffice.comp.svt.OAddressBookSourceDialogUno") == 0 )
{
::com::sun::star::uno::Sequence< ::rtl::OUString > aServiceNames(1);