[Libreoffice-commits] .: cppu/source
Tor Lillqvist
tml at kemper.freedesktop.org
Sun Jun 12 16:52:58 PDT 2011
cppu/source/uno/loadmodule.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 81553ab1bb5a2054c92dd3d079538c1907979fe2
Author: Tor Lillqvist <tml at iki.fi>
Date: Mon Jun 13 02:50:38 2011 +0300
No dynamic module loading on iOS
diff --git a/cppu/source/uno/loadmodule.cxx b/cppu/source/uno/loadmodule.cxx
index 7182415..305716a 100644
--- a/cppu/source/uno/loadmodule.cxx
+++ b/cppu/source/uno/loadmodule.cxx
@@ -41,6 +41,9 @@
namespace cppu { namespace detail {
::oslModule loadModule(rtl::OUString const & name) {
+#ifdef IOS
+ return NULL;
+#else
rtl::OUStringBuffer b;
#if defined SAL_DLLPREFIX
b.appendAscii(RTL_CONSTASCII_STRINGPARAM(SAL_DLLPREFIX));
@@ -51,6 +54,7 @@ namespace cppu { namespace detail {
reinterpret_cast< oslGenericFunction >(&loadModule),
b.makeStringAndClear().pData,
SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY);
+#endif
}
} }
More information about the Libreoffice-commits
mailing list