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 @@ -78,5 +77,4 @@ public: virtual css::uno::Sequence getServiceNames() override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */