summaryrefslogtreecommitdiff
path: root/include/tools/pathutils.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:03:16 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:19:17 +0100
commit01baeab99890e5650b3dabc15f8d900490a5a133 (patch)
tree64a1b30b20a53262605312fff4d035876fc7c811 /include/tools/pathutils.hxx
parent0108cd51faf942b3fc3a292522d4b2f421f1cf45 (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/tools/pathutils.hxx')
-rw-r--r--include/tools/pathutils.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/tools/pathutils.hxx b/include/tools/pathutils.hxx
index 3fa5cc0d1e9d..045ec4b96bbe 100644
--- a/include/tools/pathutils.hxx
+++ b/include/tools/pathutils.hxx
@@ -29,15 +29,15 @@
// The compiled code is not part of the tl dynamic library, but is delivered as
// pathutils-obj and pathutils-slo objects (it is linked into special
// executables and dynamic libraries that do not link against OOo libraries):
-namespace tools {
-
+namespace tools
+{
/** Determine the filename part of a path.
@param path
A non-NULL pointer to a null-terminated path.
@return
A pointer to the trailing filename part of the given path.
*/
-WCHAR * filename(WCHAR * path);
+WCHAR* filename(WCHAR* path);
/** Concatenate two paths.
@@ -62,10 +62,8 @@ WCHAR * filename(WCHAR * path);
A pointer to the terminating null character of the concatenation, or NULL
if a failure occurred.
*/
-WCHAR * buildPath(
- WCHAR * path, WCHAR const * frontBegin, WCHAR const * frontEnd,
- WCHAR const * backBegin, std::size_t backLength);
-
+WCHAR* buildPath(WCHAR* path, WCHAR const* frontBegin, WCHAR const* frontEnd,
+ WCHAR const* backBegin, std::size_t backLength);
}
#endif