summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorRakielle <rakielledev@gmail.com>2022-10-14 00:06:21 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-10-14 08:08:42 +0200
commitf42bd275ce707ce3d88553d04582333f2eff0d71 (patch)
tree4f5925e828e0475cdbb25ad1a3be02b8e7077357 /sw/source
parent833825eec54718ac99ab31877fb65a83864ba049 (diff)
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 <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/vba/vbafont.hxx5
-rw-r--r--sw/source/ui/vba/vbalistlevels.hxx5
-rw-r--r--sw/source/ui/vba/vbapanes.hxx5
3 files changed, 3 insertions, 12 deletions
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 <vbahelper/vbafontbase.hxx>
#include <ooo/vba/word/XFont.hpp>
@@ -48,6 +46,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> 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 <vbahelper/vbacollectionimpl.hxx>
#include <ooo/vba/word/XListLevels.hpp>
@@ -46,6 +45,4 @@ public:
virtual css::uno::Sequence<OUString> 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 <vbahelper/vbacollectionimpl.hxx>
#include <ooo/vba/word/XPanes.hpp>
@@ -39,6 +38,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAPANES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */