diff options
Diffstat (limited to 'stoc/source/stocservices/stocservices.cxx')
-rw-r--r-- | stoc/source/stocservices/stocservices.cxx | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/stoc/source/stocservices/stocservices.cxx b/stoc/source/stocservices/stocservices.cxx index 0ec496e9feb4..81810a937783 100644 --- a/stoc/source/stocservices/stocservices.cxx +++ b/stoc/source/stocservices/stocservices.cxx @@ -87,24 +87,10 @@ 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 - -SAL_DLLPUBLIC_EXPORT void * SAL_CALL stocservices_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL stocservices_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: */ |