diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-10-23 22:07:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-10-24 22:58:20 +0300 |
commit | 4fc1fe6dbc6dd1e836a7abf37f7860eb17c12b1c (patch) | |
tree | 2ee6d36d7d3500c96cdb354167b83fce1f4ecba2 /sal | |
parent | 9db2d95e1e094c61efe20fecf80fe2d44ca22bd7 (diff) |
Tell the actual end result and not an intermediate one in the SAL_INFO()
Change-Id: If896ed5b1a8daa3dc057888b858b6b0d5da18f28
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/module.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/unx/module.cxx b/sal/osl/unx/module.cxx index 9d3f23a95242..571770248c1c 100644 --- a/sal/osl/unx/module.cxx +++ b/sal/osl/unx/module.cxx @@ -309,8 +309,6 @@ sal_Bool SAL_CALL osl_getModuleURLFromAddress(void * addr, rtl_uString ** ppLibr osl_getProcessWorkingDir(&workDir); if (workDir) { - SAL_INFO( - "sal.osl", "osl_getModuleURLFromAddress: " << path->buffer); rtl_string2UString(ppLibraryUrl, path->buffer, path->length, @@ -321,6 +319,7 @@ sal_Bool SAL_CALL osl_getModuleURLFromAddress(void * addr, rtl_uString ** ppLibr *ppLibraryUrl == nullptr, "sal.osl", "rtl_string2UString failed"); osl_getFileURLFromSystemPath(*ppLibraryUrl, ppLibraryUrl); osl_getAbsoluteFileURL(workDir, *ppLibraryUrl, ppLibraryUrl); + SAL_INFO("sal.osl", "osl_getModuleURLFromAddress(" << addr << ") => " << OUString(*ppLibraryUrl)); rtl_uString_release(workDir); result = true; |