diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-09-29 10:24:13 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-09-29 10:24:13 +0200 |
commit | 4d173f39926d9c98966b2925fa833ae3378aa16e (patch) | |
tree | 81e6ac88f4e8c91d78eef1ca38a53b87292710a0 /sc/source/ui/unoobj/detreg.cxx | |
parent | 83c5da00495c220ef852d53ab41fdcbbe16eb750 (diff) | |
parent | 80658937fcefff15a62fceb678b115a72c63b7bc (diff) |
CWS-TOOLING: integrate CWS sb129
Diffstat (limited to 'sc/source/ui/unoobj/detreg.cxx')
-rw-r--r-- | sc/source/ui/unoobj/detreg.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/ui/unoobj/detreg.cxx b/sc/source/ui/unoobj/detreg.cxx index 498d0fc886ec..e1e77e5deac9 100644 --- a/sc/source/ui/unoobj/detreg.cxx +++ b/sc/source/ui/unoobj/detreg.cxx @@ -49,27 +49,6 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; } -SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /* pServiceManager */ , - void* pRegistryKey ) -{ - Reference< ::registry::XRegistryKey > - xKey( reinterpret_cast< ::registry::XRegistryKey* >( pRegistryKey ) ) ; - - OUString aDelimiter( RTL_CONSTASCII_USTRINGPARAM("/") ); - OUString aUnoServices( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES") ); - - // Eigentliche Implementierung und ihre Services registrieren - sal_Int32 i; - Reference< ::registry::XRegistryKey > xNewKey(xKey->createKey( aDelimiter + ScFilterDetect::impl_getStaticImplementationName() + - aUnoServices )); - - Sequence< OUString > aServices(ScFilterDetect::impl_getStaticSupportedServiceNames()); - for(i = 0; i < aServices.getLength(); i++ ) - xNewKey->createKey( aServices.getConstArray()[i] ); - - return sal_True; -} - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* /* pRegistryKey */ ) |