summaryrefslogtreecommitdiff
path: root/stoc/source/simpleregistry
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-10 16:29:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-19 16:52:03 +0200
commiteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (patch)
tree8301967148dea710244b57c008b4fa18d176965a /stoc/source/simpleregistry
parentef08518fcfdab0e5fd5c61aa4fb4f7907fcb8355 (diff)
remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
Diffstat (limited to 'stoc/source/simpleregistry')
-rw-r--r--stoc/source/simpleregistry/simpleregistry.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx
index dbf7d13ad262..f59d5cf42f3b 100644
--- a/stoc/source/simpleregistry/simpleregistry.cxx
+++ b/stoc/source/simpleregistry/simpleregistry.cxx
@@ -45,15 +45,12 @@
#include "rtl/string.hxx"
#include "rtl/textcvt.h"
#include "rtl/textenc.h"
-#include "rtl/unload.h"
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
#include "sal/types.h"
#include "bootstrapservices.hxx"
-extern rtl_StandardModuleCount g_moduleCount;
-
namespace {
class SimpleRegistry:
@@ -61,9 +58,9 @@ class SimpleRegistry:
css::registry::XSimpleRegistry, css::lang::XServiceInfo >
{
public:
- SimpleRegistry() { g_moduleCount.modCnt.acquire(&g_moduleCount.modCnt); }
+ SimpleRegistry() {}
- ~SimpleRegistry() { g_moduleCount.modCnt.release(&g_moduleCount.modCnt); }
+ ~SimpleRegistry() {}
osl::Mutex mutex_;