diff options
Diffstat (limited to 'scaddins/source/analysis/analysis.cxx')
-rw-r--r-- | scaddins/source/analysis/analysis.cxx | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 09fea0f11da2..391a453e7598 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -61,37 +61,6 @@ void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvType *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - -sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, registry::XRegistryKey* pRegistryKey ) -{ - if( pRegistryKey ) - { - try - { - STRING aImpl = STRFROMASCII( "/" ); - aImpl += AnalysisAddIn::getImplementationName_Static(); - aImpl += STRFROMASCII( "/UNO/SERVICES" ); - - REF( registry::XRegistryKey ) xNewKey( - reinterpret_cast< registry::XRegistryKey* >( pRegistryKey )->createKey( aImpl ) ); - - SEQ( STRING ) aSequ = AnalysisAddIn::getSupportedServiceNames_Static(); - const STRING* pArray = aSequ.getConstArray(); - - for( sal_Int32 i = 0 ; i < aSequ.getLength() ; i++ ) - xNewKey->createKey( pArray[ i ] ); - - return sal_True; - } - catch( registry::InvalidRegistryException& ) - { - OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); - } - } - return sal_False; -} - - void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ ) { void* pRet = 0; @@ -151,7 +120,7 @@ class AnalysisResourcePublisher : public Resource { public: AnalysisResourcePublisher( const AnalysisResId& rId ) : Resource( rId ) {} - BOOL IsAvailableRes( const ResId& rId ) const { return Resource::IsAvailableRes( rId ); } + sal_Bool IsAvailableRes( const ResId& rId ) const { return Resource::IsAvailableRes( rId ); } void FreeResource() { Resource::FreeResource(); } }; |