summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorShady Mohamed <shadimabdrawy1999@gmail.com>2022-04-11 21:45:19 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-04-12 10:29:28 +0200
commit4d27d087de2922f918a76437a1385dc4a287afc3 (patch)
tree2fb841ec789f2927bfb5219f78c7d9d1764da512 /sal
parent812081337ae6458cd14cd17e56510b7ed48acbc6 (diff)
tdf#143148 Use pragma once instead of include guards
Change-Id: I6262d64edcff4e73f2b148e98a62ee8d4b0d3294 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132839 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/sockimpl.hxx5
-rw-r--r--sal/osl/w32/thread.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/sal/osl/w32/sockimpl.hxx b/sal/osl/w32/sockimpl.hxx
index 44aeced6b3e6..72b204a2e0fd 100644
--- a/sal/osl/w32/sockimpl.hxx
+++ b/sal/osl/w32/sockimpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SAL_OSL_W32_SOCKIMPL_HXX
-#define INCLUDED_SAL_OSL_W32_SOCKIMPL_HXX
+#pragma once
#include <osl/socket.h>
#include <osl/interlck.h>
@@ -40,6 +39,4 @@ struct oslSocketAddrImpl
oslSocket osl_createSocketImpl_(SOCKET Socket);
void osl_destroySocketImpl_(oslSocket pImpl);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/osl/w32/thread.hxx b/sal/osl/w32/thread.hxx
index 8740fb72cc56..8002d8b7f855 100644
--- a/sal/osl/w32/thread.hxx
+++ b/sal/osl/w32/thread.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SAL_OSL_W32_THREAD_HXX
-#define INCLUDED_SAL_OSL_W32_THREAD_HXX
+#pragma once
#include <sal/config.h>
@@ -16,6 +15,4 @@
void osl_callThreadKeyCallbackOnThreadDetach(void);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */