diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-04-01 22:33:12 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-04-01 22:33:56 +0100 |
commit | 0a89e8789f2fad854f8ca0e344aeae10e117816b (patch) | |
tree | 3db31a53ea68d9168459fdb9687844e5c8b3b421 /sccomp | |
parent | 91aef61e6771aaf276ae655fc066c7472b45f0bd (diff) |
remove obsolete component_writeInfo methods
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/source/solver/solver.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx index fae7f015fbda..4df8e1b4c34c 100644 --- a/sccomp/source/solver/solver.cxx +++ b/sccomp/source/solver/solver.cxx @@ -602,36 +602,6 @@ extern "C" *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - // ------------------------------------------------------------------------- - - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey ) - { - if (pRegistryKey) - { - try - { - uno::Reference<registry::XRegistryKey> xNewKey; - sal_Int32 nPos; - - xNewKey = reinterpret_cast< registry::XRegistryKey * >( pRegistryKey )->createKey( SolverComponent_getImplementationName() ); - xNewKey = xNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" )) ); - const uno::Sequence< OUString > & rSNL1 = SolverComponent_getSupportedServiceNames(); - const OUString * pArray1 = rSNL1.getConstArray(); - for ( nPos = rSNL1.getLength(); nPos--; ) - xNewKey->createKey( pArray1[nPos] ); - - return sal_True; - } - catch (registry::InvalidRegistryException &) - { - OSL_FAIL( "### InvalidRegistryException!" ); - } - } - return sal_False; - } - - // ------------------------------------------------------------------------- - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { OUString aImplName( OUString::createFromAscii( pImplName ) ); |