diff options
author | RMZeroFour <ritobroto04@gmail.com> | 2024-03-22 22:56:40 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-03-23 10:02:44 +0100 |
commit | c845b7db9504d3e4fbc728839d8d73d454415071 (patch) | |
tree | 3a0673ba9b85e9058ec5fb64357c7cd76ff32368 | |
parent | d7fd378b533c42f51d1d363f5da30b1fa1281f67 (diff) |
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.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r-- | sc/inc/listenerquery.hxx | 5 | ||||
-rw-r--r-- | sc/inc/listenerqueryids.hxx | 5 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaglobals.hxx | 4 |
3 files changed, 3 insertions, 11 deletions
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: */ |