diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:03:16 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-21 13:19:17 +0100 |
commit | 01baeab99890e5650b3dabc15f8d900490a5a133 (patch) | |
tree | 64a1b30b20a53262605312fff4d035876fc7c811 /include/sal/backtrace.hxx | |
parent | 0108cd51faf942b3fc3a292522d4b2f421f1cf45 (diff) |
tdf#123936 Formatting files in module include with clang-format
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'include/sal/backtrace.hxx')
-rw-r--r-- | include/sal/backtrace.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/sal/backtrace.hxx b/include/sal/backtrace.hxx index 62dfb590fae7..5f44e5e01d2d 100644 --- a/include/sal/backtrace.hxx +++ b/include/sal/backtrace.hxx @@ -28,19 +28,18 @@ */ #if defined LIBO_INTERNAL_ONLY -namespace sal { - -struct BacktraceState { +namespace sal +{ +struct BacktraceState +{ void** buffer; int nDepth; - ~BacktraceState() {delete[] buffer;} + ~BacktraceState() { delete[] buffer; } }; -SAL_DLLPUBLIC std::unique_ptr<BacktraceState> backtrace_get( - sal_uInt32 backtraceDepth); +SAL_DLLPUBLIC std::unique_ptr<BacktraceState> backtrace_get(sal_uInt32 backtraceDepth); SAL_DLLPUBLIC OUString backtrace_to_string(BacktraceState* backtraceState); - } #endif |