diff options
author | Carsten Driesner <cd@openoffice.org> | 2010-10-12 13:35:45 +0200 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2010-10-12 13:35:45 +0200 |
commit | a62a624542310681073fa12b4261cc96e287740c (patch) | |
tree | 4f370679aa11dcd37aafb8888a3efecb7842914e /desktop/source/splash/services_spl.cxx | |
parent | 3dc5bef2459e2d8981a06cb9d69a4481bcd91dbd (diff) | |
parent | 4856f3fc585169d3135fcb9ea3ff4400b9c93d11 (diff) |
dockingwindows: Merge changes from DEV300m89
Diffstat (limited to 'desktop/source/splash/services_spl.cxx')
-rwxr-xr-x | desktop/source/splash/services_spl.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/desktop/source/splash/services_spl.cxx b/desktop/source/splash/services_spl.cxx index 349ec2ec0a78..4b1130c71cdf 100755 --- a/desktop/source/splash/services_spl.cxx +++ b/desktop/source/splash/services_spl.cxx @@ -97,32 +97,6 @@ component_getImplementationEnvironment( *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; } -sal_Bool SAL_CALL -component_writeInfo( - void* pServiceManager, - void* pRegistryKey) -{ - Reference<XMultiServiceFactory> xMan( - reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ; - Reference<XRegistryKey> xKey( - reinterpret_cast< XRegistryKey* >( pRegistryKey ) ) ; - - // iterate over service names and register them... - OUString aImpl; - const char* pServiceName = NULL; - const char* pImplName = NULL; - for (int i = 0; (pServices[i]!=NULL)&&(pImplementations[i]!=NULL); i++) { - pServiceName= pServices[i]; - pImplName = pImplementations[i]; - aImpl = OUString::createFromAscii("/") - + OUString::createFromAscii(pImplName) - + OUString::createFromAscii("/UNO/SERVICES"); - Reference<XRegistryKey> xNewKey = xKey->createKey(aImpl); - xNewKey->createKey(OUString::createFromAscii(pServiceName)); - } - return sal_True; -} - void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, |