diff options
Diffstat (limited to 'basic/source/runtime/dllmgr-x64.cxx')
-rw-r--r-- | basic/source/runtime/dllmgr-x64.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index a0902dad034c..fdd54b129da8 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -734,7 +734,7 @@ Dll * SbiDllMgr::Impl::getDll(OUString const & name) { Dlls::iterator i(dlls.find(name)); if (i == dlls.end()) { i = dlls.emplace(name, new Dll).first; - HMODULE h = LoadLibraryW(reinterpret_cast<LPCWSTR>(name.getStr())); + HMODULE h = LoadLibraryW(SAL_W(name.getStr())); if (h == nullptr) { dlls.erase(i); return nullptr; |