summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:11:00 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:16:53 +0100
commit70e36068a43cb6747232441ee67e609c86362aa0 (patch)
treeca05d17c538d3230ff904296fbb7625b2d7d5660 /sal/qa/osl
parente8e093f14b698fc710930b2dead57c7d4fb63b8e (diff)
tdf#123936 Formatting files in module sal with clang-format
Change-Id: I04a773e8fd565f57dc0eb887fb4714b6edbb35e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105699 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/condition/osl_Condition_Const.h2
-rw-r--r--sal/qa/osl/module/osl_Module_DLL.cxx5
-rw-r--r--sal/qa/osl/security/osl_Security_Const.h4
3 files changed, 4 insertions, 7 deletions
diff --git a/sal/qa/osl/condition/osl_Condition_Const.h b/sal/qa/osl/condition/osl_Condition_Const.h
index 6bcf9e73018d..89b26121ba88 100644
--- a/sal/qa/osl/condition/osl_Condition_Const.h
+++ b/sal/qa/osl/condition/osl_Condition_Const.h
@@ -38,7 +38,7 @@
// condition names
-OUString aTestCon( "testcondition" );
+OUString aTestCon("testcondition");
const char pTestString[17] = "Sun Microsystems";
diff --git a/sal/qa/osl/module/osl_Module_DLL.cxx b/sal/qa/osl/module/osl_Module_DLL.cxx
index b8d4885969cb..59f30b137a6f 100644
--- a/sal/qa/osl/module/osl_Module_DLL.cxx
+++ b/sal/qa/osl/module/osl_Module_DLL.cxx
@@ -27,9 +27,6 @@
// But we instantiate a test plugin to fake the build process.
CPPUNIT_PLUGIN_IMPLEMENT();
-extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool firstfunc( sal_Bool )
-{
- return true;
-}
+extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool firstfunc(sal_Bool) { return true; }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/qa/osl/security/osl_Security_Const.h b/sal/qa/osl/security/osl_Security_Const.h
index 58f578814693..8329962a3dfb 100644
--- a/sal/qa/osl/security/osl_Security_Const.h
+++ b/sal/qa/osl/security/osl_Security_Const.h
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SAL_QA_OSL_SECURITY_OSL_SECURITY_CONST_H
#define INCLUDED_SAL_QA_OSL_SECURITY_OSL_SECURITY_CONST_H
-#if defined(_WIN32) // Windows
+#if defined(_WIN32) // Windows
#include <io.h>
#endif
@@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
-#if ( defined UNX )
+#if (defined UNX)
#include <unistd.h>
#include <pwd.h>
#endif