summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/inc/backtraceasstring.hxx5
-rw-r--r--sal/inc/salusesyslog.hxx5
-rw-r--r--sal/inc/signalshared.hxx5
-rw-r--r--sal/inc/uri_internal.hxx5
-rw-r--r--sal/osl/unx/createfilehandlefromfd.hxx5
5 files changed, 5 insertions, 20 deletions
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: */