analysis.cxx (1f1a0ddb) analysis.cxx (390c74e1)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 37 unchanged lines hidden (view full) ---

46//
47// entry points for service registration / instantiation
48//
49//------------------------------------------------------------------
50
51extern "C" {
52
53
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 37 unchanged lines hidden (view full) ---

46//
47// entry points for service registration / instantiation
48//
49//------------------------------------------------------------------
50
51extern "C" {
52
53
54void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
54SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvTypeName, uno_Environment** /*ppEnv*/ )
55{
56 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
57}
58
55{
56 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
57}
58
59void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
59SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ )
60{
61 void* pRet = 0;
62
63 if( pServiceManager && STRING::createFromAscii( pImplName ) == AnalysisAddIn::getImplementationName_Static() )
64 {
65 REF( lang::XSingleServiceFactory ) xFactory( cppu::createOneInstanceFactory(
66 reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
67 AnalysisAddIn::getImplementationName_Static(),

--- 1312 unchanged lines hidden ---
60{
61 void* pRet = 0;
62
63 if( pServiceManager && STRING::createFromAscii( pImplName ) == AnalysisAddIn::getImplementationName_Static() )
64 {
65 REF( lang::XSingleServiceFactory ) xFactory( cppu::createOneInstanceFactory(
66 reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
67 AnalysisAddIn::getImplementationName_Static(),

--- 1312 unchanged lines hidden ---