[PATCH] do not use deprecated rtl_registerModuleForUnloading

Matúš Kukan (via_Code_Review) gerrit at gerrit.libreoffice.org
Wed Apr 10 12:36:44 PDT 2013


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 at gmail.com>



More information about the LibreOffice mailing list