summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org>2019-12-22 01:30:32 +0300
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-01-27 10:38:34 +0100
commit33bc192286c0f499c0d420b0e6f4a5d8ffbb9bf7 (patch)
treec371cb7d82bcd57372a909e6b0b6e35c3c22d2fd
parent8762cc5f41e00e6f15e67b4f691e40751588ce17 (diff)
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>
-rw-r--r--basctl/inc/iderdll.hxx5
-rw-r--r--basctl/inc/strings.hxx5
-rw-r--r--basctl/source/basicide/basdoc.hxx5
-rw-r--r--basctl/source/basicide/basicmod.hxx5
-rw-r--r--basctl/source/basicide/basicrenderable.hxx5
5 files changed, 5 insertions, 20 deletions
diff --git a/basctl/inc/iderdll.hxx b/basctl/inc/iderdll.hxx
index 0087c915053c..ef8f28763e68 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 @@ ExtraData* GetExtraData();
} // 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 fe12c7c0125b..fc04eae43dc1 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 897ce265b1a3..d5b3aabcf961 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 @@ public:
// 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 d94a2198d440..c15d53d85738 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 @@ public:
} // 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 2618e5faa9d2..638749c64982 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 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASICRENDERABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */