summaryrefslogtreecommitdiff
path: root/desktop/source/so_comp/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/so_comp/services.cxx')
-rwxr-xr-x[-rw-r--r--]desktop/source/so_comp/services.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/desktop/source/so_comp/services.cxx b/desktop/source/so_comp/services.cxx
index 177b5fb3ff12..a2bd31eec013 100644..100755
--- a/desktop/source/so_comp/services.cxx
+++ b/desktop/source/so_comp/services.cxx
@@ -101,32 +101,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(RTL_CONSTASCII_USTRINGPARAM("/"))
- + OUString::createFromAscii(pImplName)
- + OUString(RTL_CONSTASCII_USTRINGPARAM("/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,