From c8eefebef629e0c5a87e2230fbd255cca98cc8b6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 8 Aug 2011 20:58:33 +0300 Subject: Use prefixed getFactory and no canUnload on iOS --- stoc/source/bootstrap/services.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stoc/source') 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( -- cgit