diff options
Diffstat (limited to 'stoc/source/bootstrap/services.cxx')
-rw-r--r-- | stoc/source/bootstrap/services.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/stoc/source/bootstrap/services.cxx b/stoc/source/bootstrap/services.cxx index 72404f19f9bb..c66aeea7f61c 100644 --- a/stoc/source/bootstrap/services.cxx +++ b/stoc/source/bootstrap/services.cxx @@ -106,23 +106,12 @@ static struct ImplementationEntry g_entries[] = { 0, 0, 0, 0, 0, 0 } }; -extern "C" -{ - -#ifndef DISABLE_DYNLOADING -SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) -{ - return g_moduleCount.canUnload( &g_moduleCount , pTime ); -} -#endif +#define component_getFactory bootstrap_component_getFactory -//================================================================================================== -SAL_DLLPUBLIC_EXPORT void * SAL_CALL bootstrap_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); } -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |