summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-16 23:30:22 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-17 00:28:45 +0300
commitcfdeb0895a0284c3d38eed4143809b9ad39d798c (patch)
tree74659aeb1152b9b64c6719ef03109dc1937c61a9 /stoc/source/corereflection
parent29e7777de5ee60e794ea521c7fdefb527dbf10c7 (diff)
prefix the component_getFactory name for DISABLE_DYNLOADING
Diffstat (limited to 'stoc/source/corereflection')
-rw-r--r--stoc/source/corereflection/crefl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 1296ccd1ec70..5adcba762225 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -478,6 +478,10 @@ SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
return g_moduleCount.canUnload( &g_moduleCount , pTime );
}
+#ifdef DISABLE_DYNLOADING
+#define component_getFactory reflection_component_getFactory
+#endif
+
//==================================================================================================
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )