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/invocation | |
parent | eeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (diff) |
Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
Diffstat (limited to 'stoc/source/invocation')
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 429b361715c7..8ec0c9ae00c9 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -66,8 +66,6 @@ using namespace osl; namespace stoc_inv { -static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; - static Sequence< OUString > inv_getSupportedServiceNames() { Sequence< OUString > seqNames(1); @@ -249,14 +247,10 @@ Invocation_Impl::Invocation_Impl , xIntrospection( rI ) , xCoreReflection( rCR ) { - g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); setMaterial( rAdapted ); } -Invocation_Impl::~Invocation_Impl() -{ - g_moduleCount.modCnt.release( &g_moduleCount.modCnt ); -} +Invocation_Impl::~Invocation_Impl() {} //################################################################################################## //### INTERFACE IMPLEMENTATIONS #################################################################### @@ -1099,7 +1093,6 @@ InvocationService::InvocationService( const Reference<XComponentContext> & xCtx : mxCtx( xCtx ) , mxSMgr( xCtx->getServiceManager() ) { - g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); xTypeConverter = Reference<XTypeConverter>( mxSMgr->createInstanceWithContext( OUString("com.sun.star.script.Converter"), @@ -1123,10 +1116,7 @@ InvocationService::InvocationService( const Reference<XComponentContext> & xCtx // UNO_QUERY); } -InvocationService::~InvocationService() -{ - g_moduleCount.modCnt.release( &g_moduleCount.modCnt ); -} +InvocationService::~InvocationService() {} // XServiceInfo OUString InvocationService::getImplementationName() throw( RuntimeException ) @@ -1192,7 +1182,7 @@ static struct ImplementationEntry g_entries[] = { InvocationService_CreateInstance, inv_getImplementationName, inv_getSupportedServiceNames, createSingleComponentFactory, - &g_moduleCount.modCnt , 0 + 0, 0 }, { 0, 0, 0, 0, 0, 0 } }; |