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 @@
#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;
}
......
......@@ -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;
}
}
......
......@@ -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;
}
......
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