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>
This commit is contained in:
Shady Mohamed
2022-04-11 21:45:19 +02:00
committed by Ilmari Lauhakangas
parent 812081337a
commit 4d27d087de
2 changed files with 2 additions and 8 deletions

View File

@@ -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: */

View File

@@ -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: */