summaryrefslogtreecommitdiff
path: root/stoc/source/defaultregistry/defaultregistry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/defaultregistry/defaultregistry.cxx')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx
index 198b90b85254..0f39a0553219 100644
--- a/stoc/source/defaultregistry/defaultregistry.cxx
+++ b/stoc/source/defaultregistry/defaultregistry.cxx
@@ -48,8 +48,6 @@ using namespace osl;
#define SERVICENAME "com.sun.star.registry.NestedRegistry"
#define IMPLNAME "com.sun.star.comp.stoc.NestedRegistry"
-extern rtl_StandardModuleCount g_moduleCount;
-
namespace stoc_bootstrap
{
Sequence< OUString > defreg_getSupportedServiceNames()
@@ -1139,16 +1137,10 @@ OUString SAL_CALL NestedKeyImpl::getResolvedName( const OUString& aKeyName )
//*************************************************************************
NestedRegistryImpl::NestedRegistryImpl( )
: m_state(0)
-{
- g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
-}
+{}
//*************************************************************************
-NestedRegistryImpl::~NestedRegistryImpl()
-{
- g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
-}
-
+NestedRegistryImpl::~NestedRegistryImpl() {}
class RegistryEnumueration : public WeakImplHelper1< XEnumeration >
{