summaryrefslogtreecommitdiff
path: root/basic/source/runtime/dllmgr-x86.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/dllmgr-x86.cxx')
-rw-r--r--basic/source/runtime/dllmgr-x86.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx
index 12588d798aea..f07495949dff 100644
--- a/basic/source/runtime/dllmgr-x86.cxx
+++ b/basic/source/runtime/dllmgr-x86.cxx
@@ -710,13 +710,13 @@ ErrCode SbiDllMgr::Call(
if (cdeclConvention) {
return ERRCODE_BASIC_NOT_IMPLEMENTED;
}
- OUString dllName(fullDllName(library));
+ OUString dllName(fullDllName(OUString(library)));
Dll * dll = impl_->getDll(dllName);
if (dll == 0) {
return ERRCODE_BASIC_BAD_DLL_LOAD;
}
ProcData proc;
- ErrCode e = dll->getProc(function, &proc);
+ ErrCode e = dll->getProc(OUString(function), &proc);
if (e != ERRCODE_NONE) {
return e;
}