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>
This commit is contained in:
RMZeroFour
2024-03-23 10:02:44 +01:00
committed by Ilmari Lauhakangas
parent d7fd378b53
commit c845b7db95
3 changed files with 3 additions and 11 deletions
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */
+1 -3
View File
@@ -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: */