include/basic/sbmeth.hxx |    5 +----
 include/basic/sbmod.hxx  |    5 +----
 include/basic/sbstar.hxx |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit 429883310611da285561d57207d2322748abdc97
Author:     MelvinYG <[email protected]>
AuthorDate: Fri Oct 18 03:21:27 2024 +0530
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Fri Oct 18 14:19:53 2024 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Change-Id: Id648d25e47034e209b291bf73ac4878226b4e755
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175105
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git a/include/basic/sbmeth.hxx b/include/basic/sbmeth.hxx
index 50a0186d4a98..67260ef379d9 100644
--- a/include/basic/sbmeth.hxx
+++ b/include/basic/sbmeth.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASIC_SBMETH_HXX
-#define INCLUDED_BASIC_SBMETH_HXX
+#pragma once
 
 #include <comphelper/errcode.hxx>
 #include <basic/sbxmeth.hxx>
@@ -83,6 +82,4 @@ public:
         { return mxImplMeth.get(); }
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx
index 7c6c9ff53ffe..5c44d28f0f5f 100644
--- a/include/basic/sbmod.hxx
+++ b/include/basic/sbmod.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASIC_SBMOD_HXX
-#define INCLUDED_BASIC_SBMOD_HXX
+#pragma once
 
 #include <config_options.h>
 #include <basic/sbdef.hxx>
@@ -165,6 +164,4 @@ public:
     void triggerTerminateEvent();
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx
index 599f14aa4b1b..5c4779de5949 100644
--- a/include/basic/sbstar.hxx
+++ b/include/basic/sbstar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASIC_SBSTAR_HXX
-#define INCLUDED_BASIC_SBSTAR_HXX
+#pragma once
 
 #include <basic/sbx.hxx>
 #include <basic/sbxobj.hxx>
@@ -153,6 +152,4 @@ public:
 
 typedef tools::SvRef<StarBASIC> StarBASICRef;
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to