summaryrefslogtreecommitdiff
path: root/cppu/source/uno
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-10 18:01:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-16 17:52:36 +0200
commit65be07720b04dbf8635cf7a5a52500238aefed59 (patch)
treeea8b175a7fe44771947a038188d67b8b0f6e9771 /cppu/source/uno
parenta1c07004a00a9cd13cf78d2300fe2d3ddf2672cf (diff)
do not use deprecated rtl_registerModuleForUnloading
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppu/source/uno')
-rw-r--r--cppu/source/uno/lbenv.cxx3
-rw-r--r--cppu/source/uno/lbmap.cxx2
2 files changed, 0 insertions, 5 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 93b5bf107562..bab6ffddae6c 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -28,7 +28,6 @@
#include "osl/module.h"
#include "osl/process.h"
#include "rtl/process.h"
-#include "rtl/unload.h"
#include "rtl/string.hxx"
#include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx"
@@ -1092,8 +1091,6 @@ static bool loadEnv(OUString const & cLibStem,
#endif
(*fpInit)( pEnv ); // init of environment
- ::rtl_registerModuleForUnloading( hMod );
-
return true;
}
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index 530a5c87bf6d..f699cee57964 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -24,7 +24,6 @@
#include <set>
#include <algorithm>
-#include "rtl/unload.h"
#include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx"
#include "osl/module.h"
@@ -443,7 +442,6 @@ static Mapping loadExternalMapping(
OSL_ASSERT( aExt.is() );
if (aExt.is())
{
- ::rtl_registerModuleForUnloading( hModule );
return aExt;
}
}