diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-07 19:24:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-07 19:23:01 +0000 |
commit | da147a4e64847f62007d3d01f82c8dc59e2f4366 (patch) | |
tree | fa15907dac279a99da66b98a9643d752aba57425 /sal/osl/all | |
parent | bddc774795c139f84e0f76a83eb1b046b9f51a32 (diff) |
Clean up C-style interface nonsense
Change-Id: Ie9a1e106f5270fd307d211fa334449c698acf25d
Reviewed-on: https://gerrit.libreoffice.org/34010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/log.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 5e4497fac24b..7a6c3072b940 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -26,7 +26,7 @@ #include "sal/detail/log.h" #include "sal/log.hxx" #include "sal/types.h" -#include "misc.hxx" +#include "backtraceasstring.hxx" #include "salusesyslog.hxx" #if defined ANDROID @@ -277,9 +277,8 @@ void log_backtrace( sal_detail_LogLevel level, char const * area, char const * where, char const * message, int maxNoStackFramesToDisplay) { - OUString buff = OUString::createFromAscii(message) + - " at:\n" + - OUString(osl_backtraceAsString(maxNoStackFramesToDisplay), SAL_NO_ACQUIRE); + OUString buff = OUString::createFromAscii(message) + " at:\n" + + osl::detail::backtraceAsString(maxNoStackFramesToDisplay); log(level, area, where, buff.toUtf8().getStr()); } |