summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorVenetia Furtado <venetiarosita@gmail.com>2023-06-15 21:38:06 -0600
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-06-16 17:38:03 +0200
commit8d52aac82344c0198a42ea104fb4fb9b157d8ea4 (patch)
tree459b5c9219dd66b10430ac0db5a796d7b45e4dc0 /sal/inc
parent97eaf03625d5a0b8d3340b5495143d08a9707275 (diff)
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.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sal/inc')
-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
4 files changed, 4 insertions, 16 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: */