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/xmlreader | |
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/xmlreader')
-rw-r--r-- | include/xmlreader/pad.hxx | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/xmlreader/pad.hxx b/include/xmlreader/pad.hxx index d450f7a54c96..b142cebcdd41 100644 --- a/include/xmlreader/pad.hxx +++ b/include/xmlreader/pad.hxx @@ -29,17 +29,16 @@ #include <xmlreader/detail/xmlreaderdllapi.hxx> #include <xmlreader/span.hxx> -namespace xmlreader { - -class SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Pad { +namespace xmlreader +{ +class SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Pad +{ public: - void add(char const * begin, sal_Int32 length); + void add(char const* begin, sal_Int32 length); - template< std::size_t N > void add(char const (& literal)[N]) { - add(literal, N - 1); - } + template <std::size_t N> void add(char const (&literal)[N]) { add(literal, N - 1); } - void addEphemeral(char const * begin, sal_Int32 length); + void addEphemeral(char const* begin, sal_Int32 length); void clear(); @@ -49,9 +48,8 @@ private: SAL_DLLPRIVATE void flushSpan(); Span span_; - OStringBuffer buffer_ {256}; + OStringBuffer buffer_{ 256 }; }; - } #endif |