prefix the component_getFactory name for DISABLE_DYNLOADING
This commit is contained in:
parent
29e7777de5
commit
cfdeb0895a
2 changed files with 8 additions and 0 deletions
|
@ -478,6 +478,10 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
|
|||
return g_moduleCount.canUnload( &g_moduleCount , pTime );
|
||||
}
|
||||
|
||||
#ifdef DISABLE_DYNLOADING
|
||||
#define component_getFactory reflection_component_getFactory
|
||||
#endif
|
||||
|
||||
//==================================================================================================
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
|
||||
|
|
|
@ -2906,6 +2906,10 @@ Reference< XInterface > SAL_CALL ImplIntrospection_CreateInstance( const Referen
|
|||
|
||||
}
|
||||
|
||||
#ifdef DISABLE_DYNLOADING
|
||||
#define component_getFactory introspection_component_getFactory
|
||||
#endif
|
||||
|
||||
extern "C"
|
||||
{
|
||||
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
||||
|
|
Loading…
Reference in a new issue