From e8ff469da51904a2ddafd59b2dcf45539370e08e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Apr 2013 16:50:50 +0200 Subject: Remove any remaining remnants of unused component_canUnload feature Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a --- io/source/acceptor/acceptor.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'io/source/acceptor/acceptor.cxx') diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index ca66e6efea5c..bf28d7b359ba 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -45,8 +45,6 @@ using namespace ::com::sun::star::connection; namespace io_acceptor { - rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; - class OAcceptor : public WeakImplHelper2< XAcceptor, XServiceInfo > { public: @@ -85,9 +83,7 @@ namespace io_acceptor , m_bInAccept( sal_False ) , _xSMgr( xCtx->getServiceManager() ) , _xCtx( xCtx ) - { - g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); - } + {} OAcceptor::~OAcceptor() { @@ -99,7 +95,6 @@ namespace io_acceptor { delete m_pSocket; } - g_moduleCount.modCnt.release( &g_moduleCount.modCnt ); } struct BeingInAccept @@ -321,7 +316,7 @@ static struct ImplementationEntry g_entries[] = { acceptor_CreateInstance, acceptor_getImplementationName , acceptor_getSupportedServiceNames, createSingleComponentFactory , - &g_moduleCount.modCnt , 0 + 0, 0 }, { 0, 0, 0, 0, 0, 0 } }; -- cgit v1.2.1