sal/inc/backtraceasstring.hxx          |    5 +----
 sal/inc/salusesyslog.hxx               |    5 +----
 sal/inc/signalshared.hxx               |    5 +----
 sal/inc/uri_internal.hxx               |    5 +----
 sal/osl/unx/createfilehandlefromfd.hxx |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 8d52aac82344c0198a42ea104fb4fb9b157d8ea4
Author:     Venetia Furtado <venetiaros...@gmail.com>
AuthorDate: Thu Jun 15 21:38:06 2023 -0600
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Jun 16 17:38:03 2023 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Change-Id: I83c7405c61edd2c92ad624064326ba9c9e971313
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153164
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sal/inc/backtraceasstring.hxx b/sal/inc/backtraceasstring.hxx
index e857ea476730..49bca65f40f1 100644
--- a/sal/inc/backtraceasstring.hxx
+++ b/sal/inc/backtraceasstring.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SAL_INC_BACKTRACEASSTRING_HXX
-#define INCLUDED_SAL_INC_BACKTRACEASSTRING_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -20,5 +19,3 @@ namespace osl::detail
 /// Build a debugging backtrace from current PC location.
 OUString backtraceAsString(sal_uInt32 maxDepth);
 }
-
-#endif // INCLUDED_SAL_INC_INTERNAL_MISC_H
diff --git a/sal/inc/salusesyslog.hxx b/sal/inc/salusesyslog.hxx
index ae1c14a886cb..0ff5c93e07b5 100644
--- a/sal/inc/salusesyslog.hxx
+++ b/sal/inc/salusesyslog.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SAL_INC_SALUSESYSLOG_HXX
-#define INCLUDED_SAL_INC_SALUSESYSLOG_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -18,6 +17,4 @@
 extern bool sal_use_syslog;
 #endif
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
diff --git a/sal/inc/signalshared.hxx b/sal/inc/signalshared.hxx
index 10bc0f57b974..feee2bed2745 100644
--- a/sal/inc/signalshared.hxx
+++ b/sal/inc/signalshared.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_SAL_INC_INTERNAL_SIGNALSHARED_HXX
-#define INCLUDED_SAL_INC_INTERNAL_SIGNALSHARED_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <osl/signal.h>
@@ -35,5 +34,3 @@ oslSignalAction callSignalHandler(oslSignalInfo* pInfo);
 bool onInitSignal();
 bool onDeInitSignal();
 
-#endif
-
diff --git a/sal/inc/uri_internal.hxx b/sal/inc/uri_internal.hxx
index 0ec0650cab63..071511e776ee 100644
--- a/sal/inc/uri_internal.hxx
+++ b/sal/inc/uri_internal.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SAL_INC_URI_INTERNAL_HXX
-#define INCLUDED_SAL_INC_URI_INTERNAL_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -35,6 +34,4 @@ sal_uInt32 readUcs4(sal_Unicode const** pBegin, sal_Unicode 
const* pEnd, bool bE
                     rtl_TextEncoding eCharset, EscapeType* pType);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
diff --git a/sal/osl/unx/createfilehandlefromfd.hxx 
b/sal/osl/unx/createfilehandlefromfd.hxx
index bb8a768ef814..11f60ef1294b 100644
--- a/sal/osl/unx/createfilehandlefromfd.hxx
+++ b/sal/osl/unx/createfilehandlefromfd.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SAL_OSL_UNX_CREATEFILEHANDLEFROMFD_HXX
-#define INCLUDED_SAL_OSL_UNX_CREATEFILEHANDLEFROMFD_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -19,6 +18,4 @@ namespace osl::detail
 oslFileHandle createFileHandleFromFD(int fd); // defined in file.cxx
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to