summaryrefslogtreecommitdiff
path: root/io/source/connector/connector.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 /io/source/connector/connector.cxx
parenteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (diff)
Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
Diffstat (limited to 'io/source/connector/connector.cxx')
-rw-r--r--io/source/connector/connector.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 0d6571702bba..e6df22775a70 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -46,8 +46,6 @@ using namespace ::com::sun::star::connection;
namespace stoc_connector
{
- rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT;
-
class OConnector : public WeakImplHelper2< XConnector, XServiceInfo >
{
Reference< XMultiComponentFactory > _xSMgr;
@@ -69,14 +67,9 @@ namespace stoc_connector
OConnector::OConnector(const Reference< XComponentContext > &xCtx)
: _xSMgr( xCtx->getServiceManager() )
, _xCtx( xCtx )
- {
- g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
- }
+ {}
- OConnector::~OConnector()
- {
- g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
- }
+ OConnector::~OConnector() {}
Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription )
throw( NoConnectException, ConnectionSetupException, RuntimeException)
@@ -228,7 +221,7 @@ static struct ImplementationEntry g_entries[] =
{
connector_CreateInstance, connector_getImplementationName ,
connector_getSupportedServiceNames, createSingleComponentFactory ,
- &g_moduleCount.modCnt , 0
+ 0, 0
},
{ 0, 0, 0, 0, 0, 0 }
};