diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 16:50:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 16:52:03 +0200 |
commit | e8ff469da51904a2ddafd59b2dcf45539370e08e (patch) | |
tree | bf35796d9eca312ec3f06bbaa67abc70cdc42393 /stoc/source/corereflection/crefl.cxx | |
parent | eeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (diff) |
Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r-- | stoc/source/corereflection/crefl.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx index 23867573e567..eec2d87a9cbc 100644 --- a/stoc/source/corereflection/crefl.cxx +++ b/stoc/source/corereflection/crefl.cxx @@ -43,10 +43,6 @@ static const sal_Int32 CACHE_SIZE = 256; #define SERVICENAME "com.sun.star.reflection.CoreReflection" #define IMPLNAME "com.sun.star.comp.stoc.CoreReflection" -// can be static, as every client of the core reflection keeps a reference to the -// core reflection, so refcounting can be done here. -static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; - static Sequence< OUString > core_getSupportedServiceNames() { Sequence< OUString > seqNames(1); @@ -65,16 +61,12 @@ IdlReflectionServiceImpl::IdlReflectionServiceImpl( , _xMgr( xContext->getServiceManager(), UNO_QUERY ) , _aElements( CACHE_SIZE ) { - g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); xContext->getValueByName( OUString( "/singletons/com.sun.star.reflection.theTypeDescriptionManager") ) >>= _xTDMgr; OSL_ENSURE( _xTDMgr.is(), "### cannot get singleton \"TypeDescriptionManager\" from context!" ); } //__________________________________________________________________________________________________ -IdlReflectionServiceImpl::~IdlReflectionServiceImpl() -{ - g_moduleCount.modCnt.release( &g_moduleCount.modCnt ); -} +IdlReflectionServiceImpl::~IdlReflectionServiceImpl() {} // XInterface //__________________________________________________________________________________________________ @@ -458,7 +450,7 @@ static struct ImplementationEntry g_entries[] = { IdlReflectionServiceImpl_create, core_getImplementationName, core_getSupportedServiceNames, createSingleComponentFactory, - &g_moduleCount.modCnt , 0 + 0, 0 }, { 0, 0, 0, 0, 0, 0 } }; |