diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-09-04 02:10:58 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-09-04 08:55:19 +0300 |
commit | 37f1a6d35acd13ab356323637ecb2c8de076bf1c (patch) | |
tree | da564457772d4016cdbc60dd04831698fd441e8a /basic | |
parent | Possibly fixes compiling success regression on the UNIX platform. (diff) | |
download | core-37f1a6d35acd13ab356323637ecb2c8de076bf1c.tar.gz core-37f1a6d35acd13ab356323637ecb2c8de076bf1c.zip |
WaE: use number() instead of valueOf()
Change-Id: Ic45dc030f76531d202a12e227130d11d3d1de805
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/dllmgr-x64.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x86.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index 7d3e2915b5a3..d172833d3116 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -624,7 +624,7 @@ SbError getProcData(HMODULE handle, OUString const & name, ProcData * proc) } FARPROC p = GetProcAddress(handle, reinterpret_cast< LPCSTR >(n)); if (p != 0) { - proc->name = OString("#") + OString::valueOf(n); + proc->name = OString("#") + OString::number(n); proc->proc = p; return ERRCODE_NONE; } diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx index 2bfd0377d1c3..60b302755bd0 100644 --- a/basic/source/runtime/dllmgr-x86.cxx +++ b/basic/source/runtime/dllmgr-x86.cxx @@ -579,7 +579,7 @@ SbError getProcData(HMODULE handle, OUString const & name, ProcData * proc) } FARPROC p = GetProcAddress(handle, reinterpret_cast< LPCSTR >(n)); if (p != 0) { - proc->name = OString("#") + OString::valueOf(n); + proc->name = OString("#") + OString::number(n); proc->proc = p; return ERRCODE_NONE; } |