diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-08-08 20:58:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-08-08 21:20:52 +0300 |
commit | c8eefebef629e0c5a87e2230fbd255cca98cc8b6 (patch) | |
tree | 2529c0a3256e36ae5e17c126fb21784f8009decb /stoc/source | |
parent | 9a48e75b07d56f4d91a3cd59c1b94f0db75c9cb3 (diff) |
Use prefixed getFactory and no canUnload on iOS
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/bootstrap/services.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stoc/source/bootstrap/services.cxx b/stoc/source/bootstrap/services.cxx index 6a9096343480..90e04fd2c6fb 100644 --- a/stoc/source/bootstrap/services.cxx +++ b/stoc/source/bootstrap/services.cxx @@ -120,10 +120,16 @@ static struct ImplementationEntry g_entries[] = extern "C" { +#ifndef IOS sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) { return g_moduleCount.canUnload( &g_moduleCount , pTime ); } +#endif + +#ifdef IOS +#define component_getFactory bootstrap_component_getFactory +#endif //================================================================================================== SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( |