From f42bd275ce707ce3d88553d04582333f2eff0d71 Mon Sep 17 00:00:00 2001 From: Rakielle Date: Fri, 14 Oct 2022 00:06:21 +0100 Subject: tdf#143148 Use pragma once instead of include guards used pragma in 3 files Change-Id: Ia8a67501388bb5f79485494fd2aa77a8e45d710f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141352 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- sw/source/ui/vba/vbafont.hxx | 5 +---- sw/source/ui/vba/vbalistlevels.hxx | 5 +---- sw/source/ui/vba/vbapanes.hxx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'sw/source') diff --git a/sw/source/ui/vba/vbafont.hxx b/sw/source/ui/vba/vbafont.hxx index 2902de5a2988..24b5832e7ee3 100644 --- a/sw/source/ui/vba/vbafont.hxx +++ b/sw/source/ui/vba/vbafont.hxx @@ -16,9 +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 INCLUDED_SW_SOURCE_UI_VBA_VBAFONT_HXX -#define INCLUDED_SW_SOURCE_UI_VBA_VBAFONT_HXX +#pragma once #include #include @@ -48,6 +46,5 @@ public: virtual OUString getServiceImplName() override; virtual css::uno::Sequence getServiceNames() override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/vba/vbalistlevels.hxx b/sw/source/ui/vba/vbalistlevels.hxx index 364a48127de6..69fdbf3b6ae2 100644 --- a/sw/source/ui/vba/vbalistlevels.hxx +++ b/sw/source/ui/vba/vbalistlevels.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 INCLUDED_SW_SOURCE_UI_VBA_VBALISTLEVELS_HXX -#define INCLUDED_SW_SOURCE_UI_VBA_VBALISTLEVELS_HXX +#pragma once #include #include @@ -46,6 +45,4 @@ public: virtual css::uno::Sequence getServiceNames() override; }; -#endif // INCLUDED_SW_SOURCE_UI_VBA_VBALISTLEVELS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/vba/vbapanes.hxx b/sw/source/ui/vba/vbapanes.hxx index da09790d7546..27a6d65671ce 100644 --- a/sw/source/ui/vba/vbapanes.hxx +++ b/sw/source/ui/vba/vbapanes.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 INCLUDED_SW_SOURCE_UI_VBA_VBAPANES_HXX -#define INCLUDED_SW_SOURCE_UI_VBA_VBAPANES_HXX +#pragma once #include #include @@ -39,6 +38,4 @@ public: virtual css::uno::Sequence getServiceNames() override; }; -#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAPANES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit