sw/inc/edimp.hxx | 5 +---- sw/inc/editsh.hxx | 5 +---- sw/inc/extinput.hxx | 5 +---- sw/inc/fchrfmt.hxx | 4 +--- 4 files changed, 4 insertions(+), 15 deletions(-)
New commits: commit a37d19efa3cb4f2b0448b3f0bafe59458bc76a6f Author: Paul McQuade <paulmcq...@gmail.com> AuthorDate: Sat Jul 19 21:31:40 2025 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sun Jul 20 19:35:49 2025 +0200 tdf#143148: Use pragma once instead of include guards Change-Id: Iafb001d644fc7760e10a98edcd28351ee06dad66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188077 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Tested-by: Jenkins diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index 50888ce339c3..7a564a76e609 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_EDIMP_HXX -#define INCLUDED_SW_INC_EDIMP_HXX +#pragma once #include <o3tl/sorted_vector.hxx> @@ -53,6 +52,4 @@ private: o3tl::sorted_vector<SwPamRange> maVector; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 30d35c966ba4..0de50413d3cc 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.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_INC_EDITSH_HXX -#define INCLUDED_SW_INC_EDITSH_HXX +#pragma once #include <sfx2/redlinerecordingmode.hxx> @@ -1062,6 +1061,4 @@ public: ~SwMvContext() COVERITY_NOEXCEPT_FALSE; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/extinput.hxx b/sw/inc/extinput.hxx index c2fe02adbbdf..f59c35e5bec6 100644 --- a/sw/inc/extinput.hxx +++ b/sw/inc/extinput.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_INC_EXTINPUT_HXX -#define INCLUDED_SW_INC_EXTINPUT_HXX +#pragma once #include "pam.hxx" #include <i18nlangtag/lang.h> @@ -48,6 +47,4 @@ public: const SwExtTextInput* GetPrev() const { return static_cast<SwExtTextInput const *>(GetPrevInRing()); } }; -#endif // INCLUDED_SW_INC_EXTINPUT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx index 0fd676dfebe9..a5f86fef0d3c 100644 --- a/sw/inc/fchrfmt.hxx +++ b/sw/inc/fchrfmt.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_INC_FCHRFMT_HXX -#define INCLUDED_SW_INC_FCHRFMT_HXX +#pragma once #include <svl/poolitem.hxx> #include <svl/listener.hxx> @@ -74,6 +73,5 @@ public: void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */