Remove component_getImplementationEnvironment
This commit is contained in:
parent
92eafe7218
commit
a9137707c4
30 changed files with 1 additions and 174 deletions
|
@ -47,17 +47,6 @@ namespace comphelper{
|
|||
|
||||
//_______________________________________________
|
||||
|
||||
/** TODO doc
|
||||
*/
|
||||
#define _COMPHELPER_COMPONENT_GETIMPLEMENTATIONENVIRONMENT \
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** ppEnvironmentTypeName, \
|
||||
uno_Environment** /* ppEnvironment */ ) \
|
||||
{ \
|
||||
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; \
|
||||
}
|
||||
|
||||
//_______________________________________________
|
||||
|
||||
/** TODO doc
|
||||
*/
|
||||
#define _COMPHELPER_MULTIINSTANCEFACTORY(IMPLEMENTATIONNAME, SERVICENAMES, FACTORYMETHOD) \
|
||||
|
|
3
filter/source/config/cache/registration.cxx
vendored
3
filter/source/config/cache/registration.cxx
vendored
|
@ -99,9 +99,6 @@ static void InitConstants()
|
|||
theConstantsInitializer::get();
|
||||
}
|
||||
|
||||
// extern "C" component_getImplementationEnvironment()
|
||||
_COMPHELPER_COMPONENT_GETIMPLEMENTATIONENVIRONMENT
|
||||
|
||||
// extern "C" component_getFactory()
|
||||
_COMPHELPER_COMPONENT_GETFACTORY
|
||||
(
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
component_getImplementationEnvironment
|
||||
component_getFactory
|
||||
component_getFactory
|
||||
|
|
|
@ -43,15 +43,6 @@ static REF( NMSP_UNO::XInterface ) SAL_CALL create_FilterTracer( const REF( NMSP
|
|||
return REF( NMSP_UNO::XInterface )( *new FilterTracer( rxFact ) );
|
||||
}
|
||||
|
||||
// ------------------------------------------
|
||||
// - component_getImplementationEnvironment -
|
||||
// ------------------------------------------
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
// ------------------------
|
||||
// - component_getFactory -
|
||||
// ------------------------
|
||||
|
|
|
@ -56,14 +56,6 @@ using namespace ::swf;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -39,11 +39,6 @@ static REF( NMSP_UNO::XInterface ) SAL_CALL create_PptImporter( const REF( NMSP_
|
|||
return REF( NMSP_UNO::XInterface )( *new PptImporter( rxFact ) );
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ )
|
||||
{
|
||||
REF( NMSP_LANG::XSingleServiceFactory ) xFactory;
|
||||
|
|
|
@ -59,17 +59,7 @@ static ::cppu::ImplementationEntry const spServices[] =
|
|||
|
||||
} // namespace
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char** ppEnvironmentTypeName, uno_Environment** /*ppEnvironment*/ )
|
||||
{
|
||||
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const char* pImplName, void* pServiceManager, void* pRegistryKey )
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, spServices );
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
@ -235,8 +235,6 @@ Reference< XInterface > SAL_CALL OdfFlatXml::impl_createInstance(const Reference
|
|||
|
||||
}
|
||||
|
||||
_COMPHELPER_COMPONENT_GETIMPLEMENTATIONENVIRONMENT
|
||||
|
||||
// extern "C" component_getFactory()
|
||||
_COMPHELPER_COMPONENT_GETFACTORY
|
||||
(
|
||||
|
|
|
@ -47,14 +47,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
{
|
||||
OUString aImplName( OUString::createFromAscii( pImplName ) );
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
component_getImplementationEnvironment
|
||||
component_getFactory
|
||||
|
|
|
@ -53,13 +53,6 @@ using namespace ::pwp;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
UDK_3_0_0 {
|
||||
global:
|
||||
component_getImplementationEnvironment;
|
||||
component_getFactory;
|
||||
GraphicImport;
|
||||
|
||||
|
|
|
@ -46,13 +46,6 @@ using namespace T602ImportFilter;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -47,13 +47,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -48,13 +48,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
component_getImplementationEnvironment
|
||||
component_getFactory
|
||||
|
|
|
@ -398,14 +398,6 @@ void SAL_CALL XMLFilterDialogComponent::initialize( const Sequence< Any >& aArgu
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -588,12 +588,6 @@ using namespace XSLT;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,
|
||||
uno_Environment ** /* ppEnv */)
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char * pImplName,
|
||||
void * pServiceManager, void * /* pRegistryKey */)
|
||||
{
|
||||
|
|
|
@ -338,19 +338,8 @@ Sequence< OUString> HwpImportFilter::getSupportedServiceNames() throw(::com::sun
|
|||
return aRet;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
// The below three C functions are nessesary for this shared library is treaded as
|
||||
// UNO component library.
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
extern "C"
|
||||
{
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * )
|
||||
{
|
||||
void * pRet = 0;
|
||||
|
|
|
@ -19,11 +19,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
|
||||
{
|
||||
|
|
|
@ -81,17 +81,7 @@ static ::cppu::ImplementationEntry const spServices[] =
|
|||
|
||||
} // namespace
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char** ppEnvironmentTypeName, uno_Environment** /*ppEnvironment*/ )
|
||||
{
|
||||
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const char* pImplName, void* pServiceManager, void* pRegistryKey )
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, spServices );
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
@ -39,12 +39,6 @@ using namespace ::com::sun::star;
|
|||
extern "C"
|
||||
{
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL unordf_component_getImplementationEnvironment(const sal_Char **o_ppEnvironmentTypeName,
|
||||
uno_Environment ** /* ppEnvironment */)
|
||||
{
|
||||
*o_ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
static ::cppu::ImplementationEntry const entries[] = {
|
||||
{ &comp_CBlankNode::_create,
|
||||
&comp_CBlankNode::_getImplementationName,
|
||||
|
|
|
@ -55,11 +55,6 @@ using namespace ::com::sun::star::registry;
|
|||
extern "C"
|
||||
{
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL unoxml_component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment ** /*ppEnvironment */)
|
||||
{
|
||||
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
|
||||
}
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void* SAL_CALL unoxml_component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void * /*pRegistryKey*/)
|
||||
{
|
||||
void* pReturn = NULL ;
|
||||
|
|
|
@ -60,11 +60,6 @@ static struct ::cppu::ImplementationEntry s_component_entries [] =
|
|||
{ 0, 0, 0, 0, 0, 0 } // terminate with NULL
|
||||
};
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * implName, ::com::sun::star::lang::XMultiServiceFactory * xMgr, ::com::sun::star::registry::XRegistryKey * xRegistry )
|
||||
{
|
||||
return ::cppu::component_getFactoryHelper(implName, xMgr, xRegistry, s_component_entries );
|
||||
|
|
|
@ -56,12 +56,6 @@ static struct ::cppu::ImplementationEntry s_component_entries [] =
|
|||
{ 0, 0, 0, 0, 0, 0 } // terminate with NULL
|
||||
};
|
||||
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(sal_Char const * implName, ::com::sun::star::lang::XMultiServiceFactory * xMgr, ::com::sun::star::registry::XRegistryKey * xRegistry )
|
||||
{
|
||||
fprintf(stderr, "Loading service: %s: ", implName);
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
component_getImplementationEnvironment
|
||||
component_getFactory
|
||||
|
|
|
@ -41,11 +41,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -40,13 +40,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -41,11 +41,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
|
@ -41,11 +41,6 @@ using namespace ::com::sun::star::registry;
|
|||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
|
||||
const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
|
||||
{
|
||||
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
|
||||
}
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * /* pRegistryKey */ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue