From 0a89e8789f2fad854f8ca0e344aeae10e117816b Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 1 Apr 2011 22:33:12 +0100 Subject: remove obsolete component_writeInfo methods --- scaddins/source/datefunc/datefunc.cxx | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'scaddins') diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index a543f7b2b45d..878d9c9b0dec 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -241,35 +241,6 @@ void SAL_CALL component_getImplementationEnvironment( *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } -sal_Bool SAL_CALL component_writeInfo( - void * /*pServiceManager*/, registry::XRegistryKey * pRegistryKey ) -{ - if (pRegistryKey) - { - try - { - OUString aImpl(RTL_CONSTASCII_USTRINGPARAM( "/" )); - aImpl += ScaDateAddIn::getImplementationName_Static(); - aImpl += OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" )); - - uno::Reference< registry::XRegistryKey > xNewKey( - reinterpret_cast< registry::XRegistryKey* >( pRegistryKey )->createKey( aImpl ) ); - - uno::Sequence< OUString > aSequ = ScaDateAddIn::getSupportedServiceNames_Static(); - const OUString * pArray = aSequ.getConstArray(); - for( sal_Int32 i = 0; i < aSequ.getLength(); i++ ) - xNewKey->createKey( pArray[i] ); - - return sal_True; - } - catch (registry::InvalidRegistryException&) - { - OSL_FAIL( "### InvalidRegistryException!" ); - } - } - return sal_False; -} - void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { -- cgit ce-6-1'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/extras/Package_tplwizdesktop.mk
AgeCommit message (Expand)Author
2024-06-12tdf#161173 Replace HTML template and idxexampleLaurent Balland
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
2013-09-23Try to fix cross-compilationTor Lillqvist
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist