summaryrefslogtreecommitdiff
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
parenta1c07004a00a9cd13cf78d2300fe2d3ddf2672cf (diff)
do not use deprecated rtl_registerModuleForUnloading
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--cppu/source/uno/lbenv.cxx3
-rw-r--r--cppu/source/uno/lbmap.cxx2
-rw-r--r--cppuhelper/source/shlib.cxx3
3 files changed, 0 insertions, 8 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;
}
}
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 9a741d53174a..a0dcbd3a57a7 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -23,7 +23,6 @@
#include "osl/file.hxx"
#include "osl/mutex.hxx"
#include "osl/module.hxx"
-#include "rtl/unload.h"
#include "rtl/ustrbuf.hxx"
#include "rtl/instance.hxx"
#include "uno/environment.h"
@@ -620,8 +619,6 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory(
aExcMsg,
Reference< XInterface >() );
}
-
- rtl_registerModuleForUnloading( lib);
return xRet;
}