diff options
Diffstat (limited to 'cppu/source/uno/loadmodule.cxx')
-rw-r--r-- | cppu/source/uno/loadmodule.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppu/source/uno/loadmodule.cxx b/cppu/source/uno/loadmodule.cxx index b56c03965518..9e970b754536 100644 --- a/cppu/source/uno/loadmodule.cxx +++ b/cppu/source/uno/loadmodule.cxx @@ -32,15 +32,15 @@ namespace cppu { namespace detail { #ifndef DISABLE_DYNLOADING bool loadModule(osl::Module& rModule, OUString const & name) { - OUStringBuffer b; + OUString b = #if defined SAL_DLLPREFIX - b.append(SAL_DLLPREFIX); + SAL_DLLPREFIX + #endif - b.append(name); - b.append(SAL_DLLEXTENSION); + name + + SAL_DLLEXTENSION; return rModule.loadRelative( reinterpret_cast< oslGenericFunction >(&loadModule), - b.makeStringAndClear(), + b, SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY); } |