summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}