diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-29 20:46:58 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-30 08:37:14 +0300 |
commit | 1a4cbf9f5ccef6d9409caad7d1b648f9fe2a2be4 (patch) | |
tree | 598a7d2ae176a49b7d372f25d70e39793f078fa0 /cppuhelper | |
parent | e362ccbab38a617c3118bcda2b86b2295e56d7b4 (diff) |
More static lib name mappings. Yeah, need to do a gperf thing some night
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/shlib.cxx | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index df898a66f5f3..8c127843908e 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -459,22 +459,13 @@ Reference< XInterface > invokeComponentFactory( #ifdef DISABLE_DYNLOADING extern "C" { - // In stoc/source/bootstrap/services.cxx. - - // Sure, some public header would be a better place for this. But - // it can't be in some stoc header as that hasn't been built and - // delivered yet when cppuhelper is built. - - extern void * bootstrap_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); - - // More of them, in order of discovery. This is a temporary way to handle this.. - extern void * ucb_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * configmgr_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); - extern void * ucpfile_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * bootstrap_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * configmgr_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * fwk_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * i18npool_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * sc_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * ucb_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); + extern void * ucpfile_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ); } #endif @@ -540,6 +531,12 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory( pSym = (oslGenericFunction) configmgr_component_getFactory; else if ( rLibName.equals( OUSTR("libucpfile1.a")) ) pSym = (oslGenericFunction) ucpfile_component_getFactory; + else if ( rLibName.equals( OUSTR("libsclo.a")) ) + pSym = (oslGenericFunction) sc_component_getFactory; + else if ( rLibName.equals( OUSTR("libfwklo.a")) ) + pSym = (oslGenericFunction) fwk_component_getFactory; + else if ( rLibName.equals( OUSTR("i18npool.uno.a")) ) + pSym = (oslGenericFunction) i18npool_component_getFactory; else { #if OSL_DEBUG_LEVEL > 1 |