summaryrefslogtreecommitdiff
path: root/include/desktop
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/desktop
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/desktop')
-rw-r--r--include/desktop/dllapi.h8
-rw-r--r--include/desktop/exithelper.h3
-rw-r--r--include/desktop/minidump.hxx7
3 files changed, 9 insertions, 9 deletions
diff --git a/include/desktop/dllapi.h b/include/desktop/dllapi.h
index fd23aeb7f973..5cf948ce08a4 100644
--- a/include/desktop/dllapi.h
+++ b/include/desktop/dllapi.h
@@ -14,15 +14,15 @@
#include <sal/types.h>
#if defined(DESKTOP_DLLIMPLEMENTATION)
-# define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
-# define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#if defined(CRASHREPORT_DLLIMPLEMENTATION)
-# define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
-# define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif
diff --git a/include/desktop/exithelper.h b/include/desktop/exithelper.h
index fbb37c583233..b4f618783e33 100644
--- a/include/desktop/exithelper.h
+++ b/include/desktop/exithelper.h
@@ -20,7 +20,8 @@
#ifndef INCLUDED_DESKTOP_EXITHELPER_H
#define INCLUDED_DESKTOP_EXITHELPER_H
-enum EExitCodes {
+enum EExitCodes
+{
/* e.g. used to force showing of the command line help */
EXITHELPER_NO_ERROR = 0,
/* a uno exception was caught during startup */
diff --git a/include/desktop/minidump.hxx b/include/desktop/minidump.hxx
index 6ed0e18277f8..0f49075fad5e 100644
--- a/include/desktop/minidump.hxx
+++ b/include/desktop/minidump.hxx
@@ -14,8 +14,8 @@
#include <desktop/dllapi.h>
-namespace crashreport {
-
+namespace crashreport
+{
// when response = nullptr only make test
/** Read+Send, Test and send info from the Dump.ini .
@@ -27,8 +27,7 @@ namespace crashreport {
@retval false Read+Send, Test is a error
*/
-CRASHREPORT_DLLPUBLIC bool readConfig(const std::string& iniPath, std::string * response);
-
+CRASHREPORT_DLLPUBLIC bool readConfig(const std::string& iniPath, std::string* response);
}
#endif