summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/workbench/gauss.hxx5
-rw-r--r--compilerplugins/clang/plugin.hxx5
-rw-r--r--compilerplugins/clang/pluginhandler.hxx5
-rw-r--r--compilerplugins/clang/sharedvisitor/dummyplugin.hxx5
4 files changed, 4 insertions, 16 deletions
diff --git a/basegfx/source/workbench/gauss.hxx b/basegfx/source/workbench/gauss.hxx
index fc352fe7e675..3605c1cac9bd 100644
--- a/basegfx/source/workbench/gauss.hxx
+++ b/basegfx/source/workbench/gauss.hxx
@@ -39,8 +39,7 @@
@return true, if elimination succeeded.
*/
-#ifndef INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
-#define INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
+#pragma once
template <class Matrix, typename BaseType>
bool eliminate( Matrix& matrix,
@@ -165,6 +164,4 @@ bool solve( Matrix& matrix,
return false;
}
-#endif // INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 577e8998b187..156955da4b87 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -9,8 +9,7 @@
*
*/
-#ifndef PLUGIN_H
-#define PLUGIN_H
+#pragma once
#include <clang/AST/ASTContext.h>
#include <clang/AST/RecursiveASTVisitor.h>
@@ -312,6 +311,4 @@ const Decl* getFunctionDeclContext(ASTContext& context, const Stmt* stmt);
} // namespace
-#endif // COMPILEPLUGIN_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx
index 54ab613b3a7e..f7a399672c5d 100644
--- a/compilerplugins/clang/pluginhandler.hxx
+++ b/compilerplugins/clang/pluginhandler.hxx
@@ -9,8 +9,7 @@
*
*/
-#ifndef PLUGINHANDLER_H
-#define PLUGINHANDLER_H
+#pragma once
#include <cstddef>
#include <functional>
@@ -105,6 +104,4 @@ private:
}
-#endif // COMPILEPLUGIN_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/compilerplugins/clang/sharedvisitor/dummyplugin.hxx b/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
index fea2786a796e..0ccc36dc86c9 100644
--- a/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
+++ b/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
@@ -9,8 +9,7 @@
*
*/
-#ifndef DUMMYPLUGIN_H
-#define DUMMYPLUGIN_H
+#pragma once
#include "config_clang.h"
@@ -77,6 +76,4 @@ public:
} // namespace
-#endif // DUMMYPLUGIN_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */