summaryrefslogtreecommitdiff
path: root/stoc/source/invocation_adapterfactory/iafactory.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-19 16:50:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-19 16:52:03 +0200
commite8ff469da51904a2ddafd59b2dcf45539370e08e (patch)
treebf35796d9eca312ec3f06bbaa67abc70cdc42393 /stoc/source/invocation_adapterfactory/iafactory.cxx
parenteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (diff)
Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
Diffstat (limited to 'stoc/source/invocation_adapterfactory/iafactory.cxx')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index b1b5904f8bc2..f0f23d14cc0a 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -59,8 +59,6 @@ using namespace ::com::sun::star::uno;
namespace stoc_invadp
{
-static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
-
static Sequence< OUString > invadp_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
@@ -762,8 +760,6 @@ FactoryImpl::FactoryImpl( Reference< XComponentContext > const & xContext )
throw RuntimeException(
"missing type descriptions!", Reference< XInterface >() );
}
-
- g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
}
//______________________________________________________________________________
FactoryImpl::~FactoryImpl() SAL_THROW(())
@@ -780,7 +776,6 @@ FactoryImpl::~FactoryImpl() SAL_THROW(())
#if OSL_DEBUG_LEVEL > 1
OSL_ENSURE( m_receiver2adapters.empty(), "### still adapters out there!?" );
#endif
- g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
}
//------------------------------------------------------------------------------
@@ -949,7 +944,7 @@ static struct ::cppu::ImplementationEntry g_entries[] =
::stoc_invadp::invadp_getImplementationName,
::stoc_invadp::invadp_getSupportedServiceNames,
::cppu::createOneInstanceComponentFactory,
- &::stoc_invadp::g_moduleCount.modCnt , 0
+ 0, 0
},
{ 0, 0, 0, 0, 0, 0 }
};