summaryrefslogtreecommitdiff
path: root/basic/source/runtime/dllmgr-x64.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/dllmgr-x64.cxx')
-rw-r--r--basic/source/runtime/dllmgr-x64.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index aa59c29fc752..d36e7238e20f 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -647,7 +647,7 @@ ErrCode getProcData(HMODULE handle, OUString const & name, ProcData * proc)
}
FARPROC p = GetProcAddress(handle, reinterpret_cast< LPCSTR >(n));
if (p != nullptr) {
- proc->name = OString("#") + OString::number(n);
+ proc->name = "#" + OString::number(n);
proc->proc = p;
return ERRCODE_NONE;
}
@@ -673,14 +673,14 @@ ErrCode getProcData(HMODULE handle, OUString const & name, ProcData * proc)
return ERRCODE_NONE;
}
}
- OString real(OString("_") + name8);
+ OString real("_" + name8);
p = GetProcAddress(handle, real.getStr());
if (p != nullptr) {
proc->name = real;
proc->proc = p;
return ERRCODE_NONE;
}
- real = name8 + OString("A");
+ real = name8 + "A";
p = GetProcAddress(handle, real.getStr());
if (p != nullptr) {
proc->name = real;