Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3315
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/15/3315/1
do not use deprecated rtl_registerModuleForUnloading
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06
---
M cppu/source/uno/lbenv.cxx
M cppu/source/uno/lbmap.cxx
M cppuhelper/source/shlib.cxx
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 93b5bf1..ff6539d 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -1092,8 +1092,6 @@
#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 530a5c8..ab12905 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -443,7 +443,6 @@
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 9a741d5..2d69caa 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -620,8 +620,6 @@
aExcMsg,
Reference< XInterface >() );
}
-
- rtl_registerModuleForUnloading( lib);
return xRet;
}
--
To view, visit https://gerrit.libreoffice.org/3315
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matúš Kukan <matus.kukan@gmail.com>
Context
- [PATCH] do not use deprecated rtl_registerModuleForUnloading · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.