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 /sc/source/filter/excel/xestream.cxx | |
parent | 91aef61e6771aaf276ae655fc066c7472b45f0bd (diff) |
remove obsolete component_writeInfo methods
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index b54b3bfe4bd2..d6d729ce1de2 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -1196,30 +1196,6 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } -SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /* pServiceManager */, void* pRegistryKey ) -{ - sal_Bool bRet = false; - - if( pRegistryKey ) - { - try - { - Reference< XRegistryKey > xNewKey1( - static_cast< XRegistryKey* >( pRegistryKey )->createKey( - OUString(RTL_CONSTASCII_USTRINGPARAM( IMPL_NAME "/UNO/SERVICES/" )) ) ); - xNewKey1->createKey( XlsxExport_getSupportedServiceNames().getConstArray()[0] ); - - bRet = sal_True; - } - catch( InvalidRegistryException& ) - { - OSL_ENSURE( false, "### InvalidRegistryException!" ); - } - } - - return bRet; -} - // ------------------------ // - component_getFactory - // ------------------------ |