tdf#124176:Use pragma once instead of include guards
Change-Id: Ie00f05a3661a9fd6159c424e01f11e7bb1ea45fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85640
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
diff --git a/basctl/inc/iderdll.hxx b/basctl/inc/iderdll.hxx
index 0087c91..ef8f287 100644
--- a/basctl/inc/iderdll.hxx
+++ b/basctl/inc/iderdll.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BASCTL_INC_IDERDLL_HXX
#define INCLUDED_BASCTL_INC_IDERDLL_HXX
#pragma once
namespace basctl
{
@@ -36,6 +35,4 @@
} // namespace basctl
#endif // INCLUDED_BASCTL_INC_IDERDLL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/inc/strings.hxx b/basctl/inc/strings.hxx
index fe12c7c..fc04eae 100644
--- a/basctl/inc/strings.hxx
+++ b/basctl/inc/strings.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_BASCTL_INC_STRINGS_HRC
#define INCLUDED_BASCTL_INC_STRINGS_HRC
#pragma once
// Dialog Controls ---------------------------------------------------------------
@@ -38,6 +37,4 @@
#define RID_STR_CLASS_SPINCONTROL "SpinButton"
#define RID_STR_CLASS_HYPERLINKCONTROL "HyperlinkControl"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/basctl/source/basicide/basdoc.hxx b/basctl/source/basicide/basdoc.hxx
index 897ce26..d5b3aab 100644
--- a/basctl/source/basicide/basdoc.hxx
+++ b/basctl/source/basicide/basdoc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASDOC_HXX
#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASDOC_HXX
#pragma once
#include <sfx2/docfac.hxx>
#include <svx/ifaceids.hxx>
@@ -65,6 +64,4 @@
// because I don't know how to use nested names in it.
typedef basctl::DocShell basctl_DocShell;
#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASDOC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/basicmod.hxx b/basctl/source/basicide/basicmod.hxx
index d94a219..c15d53d 100644
--- a/basctl/source/basicide/basicmod.hxx
+++ b/basctl/source/basicide/basicmod.hxx
@@ -18,8 +18,7 @@
*/
#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASICMOD_HXX
#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASICMOD_HXX
#pragma once
#include <sfx2/module.hxx>
@@ -37,6 +36,4 @@
} // namespace basctl
#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASICMOD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/basicrenderable.hxx b/basctl/source/basicide/basicrenderable.hxx
index 2618e5f..638749c 100644
--- a/basctl/source/basicide/basicrenderable.hxx
+++ b/basctl/source/basicide/basicrenderable.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_BASCTL_SOURCE_BASICIDE_BASICRENDERABLE_HXX
#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASICRENDERABLE_HXX
#pragma once
#include <com/sun/star/view/XRenderable.hpp>
#include <cppuhelper/compbase.hxx>
@@ -64,6 +63,4 @@
} // namespace basctl
#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASICRENDERABLE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */