From 8118d328285ee47556d18aab1efcd2824c1dbcf0 Mon Sep 17 00:00:00 2001 From: Aleyna Doğrucan Date: Sun, 5 Jan 2020 00:43:43 +0300 Subject: tdf#124176: Use pragma once instead of include guards Change-Id: Ib0708c72fff342c25f79662cc3f4bbbfdfe0574a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86230 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- basctl/source/basicide/baside2.hxx | 5 +---- basctl/source/basicide/bastype3.hxx | 5 +---- basctl/source/basicide/breakpoint.hxx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index d83a2d7b9bc0..0ce8fda57041 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX -#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX +#pragma once #include #include @@ -541,6 +540,4 @@ public: } // namespace basctl -#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/basicide/bastype3.hxx b/basctl/source/basicide/bastype3.hxx index 41ddf81b93f8..3c79e0bea56f 100644 --- a/basctl/source/basicide/bastype3.hxx +++ b/basctl/source/basicide/bastype3.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_BASTYPE3_HXX -#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASTYPE3_HXX +#pragma once #include #include @@ -43,6 +42,4 @@ public: } // namespace basctl -#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASTYPE3_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx index 61a23753e042..4b5ab232535e 100644 --- a/basctl/source/basicide/breakpoint.hxx +++ b/basctl/source/basicide/breakpoint.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BREAKPOINT_HXX -#define INCLUDED_BASCTL_SOURCE_BASICIDE_BREAKPOINT_HXX +#pragma once #include #include @@ -78,6 +77,4 @@ public: } // namespace basctl -#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BREAKPOINT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit