sc/inc/listenerquery.hxx        |    5 +----
 sc/inc/listenerqueryids.hxx     |    5 +----
 sc/source/ui/vba/vbaglobals.hxx |    4 +---
 3 files changed, 3 insertions(+), 11 deletions(-)

New commits:
commit c845b7db9504d3e4fbc728839d8d73d454415071
Author:     RMZeroFour <ritobrot...@gmail.com>
AuthorDate: Fri Mar 22 22:56:40 2024 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Sat Mar 23 10:02:44 2024 +0100

    tdf#143148 Replace include guards with pragma once in sc module
    
    As part of the efforts in #143148 to replace include guards in
    the codebase with #pragma once, this performs the changes for
    the remaining files in the sc module.
    
    Change-Id: Ia5633919e4159da94b6e663fa484ef0524cf7bd4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165196
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sc/inc/listenerquery.hxx b/sc/inc/listenerquery.hxx
index 095e65f762b3..64d9b463a64f 100644
--- a/sc/inc/listenerquery.hxx
+++ b/sc/inc/listenerquery.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef SC_LISTENERQUERY_HXX
-#define SC_LISTENERQUERY_HXX
+#pragma once
 
 #include "address.hxx"
 #include "rangelst.hxx"
@@ -64,6 +63,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/listenerqueryids.hxx b/sc/inc/listenerqueryids.hxx
index ce8a0e252900..909de7284134 100644
--- a/sc/inc/listenerqueryids.hxx
+++ b/sc/inc/listenerqueryids.hxx
@@ -7,12 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef SC_LISTENERQUERYIDS_HXX
-#define SC_LISTENERQUERYIDS_HXX
+#pragma once
 
 #define SC_LISTENER_QUERY_FORMULA_GROUP_POS        0
 #define SC_LISTENER_QUERY_FORMULA_GROUP_RANGE      1
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaglobals.hxx b/sc/source/ui/vba/vbaglobals.hxx
index 6f978c591d10..067d9372914c 100644
--- a/sc/source/ui/vba/vbaglobals.hxx
+++ b/sc/source/ui/vba/vbaglobals.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 SC_VBA_GLOBALS
-#define SC_VBA_GLOBALS
+#pragma once
 
 #include <ooo/vba/excel/XGlobals.hpp>
 
@@ -78,5 +77,4 @@ public:
     virtual css::uno::Sequence<OUString> getServiceNames() override;
 };
 
-#endif
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to