diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-20 13:55:38 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-20 14:18:07 +0300 |
commit | c672b1f43c64e5f411badc2deb2d39a7c0fe6373 (patch) | |
tree | edf7b46b893fdaaa72986680ab0608e42f1d3a8c /stoc | |
parent | 29b0c6093db08ed959022af7ee53b42b155c7fb5 (diff) |
No point with component_canUnload when DISABLE_DYNLOADING
Change-Id: I85016d1e70dbb5e499aefad568179800b5d00ab7
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index 1af1b3a629de..3357a540ca1b 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -464,11 +464,16 @@ static struct ImplementationEntry g_entries[] = 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 reflection_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) |