sal/osl/w32/sockimpl.hxx |    5 +----
 sal/osl/w32/thread.hxx   |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 4d27d087de2922f918a76437a1385dc4a287afc3
Author:     Shady Mohamed <shadimabdrawy1...@gmail.com>
AuthorDate: Mon Apr 11 21:45:19 2022 +0200
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Apr 12 10:29:28 2022 +0200

    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.lauhakan...@libreoffice.org>

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

Reply via email to