Kaydet (Commit) 65be0772 authored tarafından Matúš Kukan's avatar Matúš Kukan Kaydeden (comit) Stephan Bergmann

do not use deprecated rtl_registerModuleForUnloading

Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06
Signed-off-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst a1c07004
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "osl/module.h" #include "osl/module.h"
#include "osl/process.h" #include "osl/process.h"
#include "rtl/process.h" #include "rtl/process.h"
#include "rtl/unload.h"
#include "rtl/string.hxx" #include "rtl/string.hxx"
#include "rtl/ustring.hxx" #include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx" #include "rtl/ustrbuf.hxx"
...@@ -1092,8 +1091,6 @@ static bool loadEnv(OUString const & cLibStem, ...@@ -1092,8 +1091,6 @@ static bool loadEnv(OUString const & cLibStem,
#endif #endif
(*fpInit)( pEnv ); // init of environment (*fpInit)( pEnv ); // init of environment
::rtl_registerModuleForUnloading( hMod );
return true; return true;
} }
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <set> #include <set>
#include <algorithm> #include <algorithm>
#include "rtl/unload.h"
#include "rtl/ustring.hxx" #include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx" #include "rtl/ustrbuf.hxx"
#include "osl/module.h" #include "osl/module.h"
...@@ -443,7 +442,6 @@ static Mapping loadExternalMapping( ...@@ -443,7 +442,6 @@ static Mapping loadExternalMapping(
OSL_ASSERT( aExt.is() ); OSL_ASSERT( aExt.is() );
if (aExt.is()) if (aExt.is())
{ {
::rtl_registerModuleForUnloading( hModule );
return aExt; return aExt;
} }
} }
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "osl/file.hxx" #include "osl/file.hxx"
#include "osl/mutex.hxx" #include "osl/mutex.hxx"
#include "osl/module.hxx" #include "osl/module.hxx"
#include "rtl/unload.h"
#include "rtl/ustrbuf.hxx" #include "rtl/ustrbuf.hxx"
#include "rtl/instance.hxx" #include "rtl/instance.hxx"
#include "uno/environment.h" #include "uno/environment.h"
...@@ -620,8 +619,6 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory( ...@@ -620,8 +619,6 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory(
aExcMsg, aExcMsg,
Reference< XInterface >() ); Reference< XInterface >() );
} }
rtl_registerModuleForUnloading( lib);
return xRet; return xRet;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment