[Libreoffice-commits] core.git: basctl/source

Aleyna DoÄŸrucan (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 27 21:24:28 UTC 2020


 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(-)

New commits:
commit 8118d328285ee47556d18aab1efcd2824c1dbcf0
Author:     Aleyna Doğrucan <aleynadgrcn699 at gmail.com>
AuthorDate: Sun Jan 5 00:43:43 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 22:23:53 2020 +0100

    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 <muhammet.kara at collabora.com>

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 <memory>
 #include <layout.hxx>
@@ -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 <vcl/accel.hxx>
 #include <vcl/edit.hxx>
@@ -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 <cstddef>
 #include <vector>
@@ -78,6 +77,4 @@ public:
 
 } // namespace basctl
 
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BREAKPOINT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list