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

ayhanyalcinsoy (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 27 09:39:09 UTC 2020


 basctl/inc/iderdll.hxx                     |    5 +----
 basctl/inc/strings.hxx                     |    5 +----
 basctl/source/basicide/basdoc.hxx          |    5 +----
 basctl/source/basicide/basicmod.hxx        |    5 +----
 basctl/source/basicide/basicrenderable.hxx |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 33bc192286c0f499c0d420b0e6f4a5d8ffbb9bf7
Author:     ayhanyalcinsoy <ayhanyalcinsoy at pisilinux.org>
AuthorDate: Sun Dec 22 01:30:32 2019 +0300
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Jan 27 10:38:34 2020 +0100

    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 at cib.de>

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: */


More information about the Libreoffice-commits mailing list