From bb0f5c935993489902392e7eb22f2d77b389f14d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 13 Jun 2011 02:50:38 +0300 Subject: [PATCH] No dynamic module loading on iOS --- cppu/source/uno/loadmodule.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cppu/source/uno/loadmodule.cxx b/cppu/source/uno/loadmodule.cxx index fe2b9d0b1a59..ecc3ad9ce656 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 } } }