include/basic/sbxcore.hxx | 5 +---- include/basic/sbxdef.hxx | 5 +---- include/basic/sbxmeth.hxx | 5 +---- include/basic/sbxobj.hxx | 5 +---- include/basic/sbxvar.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
New commits: commit 8e2369a7813ba7dca75ac30b5ae2a26e181503c6 Author: Abrar Emad <eng.abraremad...@gmail.com> AuthorDate: Wed Oct 16 14:11:13 2024 +0300 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Wed Oct 16 16:14:52 2024 +0200 tdf#143148 Use pragma once instead of include guards Change-Id: I9df35198804cca98cd71c19fa4ef74fb6f47fd5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175013 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/include/basic/sbxcore.hxx b/include/basic/sbxcore.hxx index 2fc27cf86efd..9cf0a2fc2b3e 100644 --- a/include/basic/sbxcore.hxx +++ b/include/basic/sbxcore.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SBXCORE_HXX -#define INCLUDED_BASIC_SBXCORE_HXX +#pragma once #include <basic/basicdllapi.h> #include <basic/sbxdef.hxx> @@ -132,6 +131,4 @@ inline bool SbxBase::IsHidden() const inline bool SbxBase::IsVisible() const { return IsReset( SbxFlagBits::Invisible ); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx index b0c667bfc854..00e9af8ba01a 100644 --- a/include/basic/sbxdef.hxx +++ b/include/basic/sbxdef.hxx @@ -18,8 +18,7 @@ */ -#ifndef INCLUDED_BASIC_SBXDEF_HXX -#define INCLUDED_BASIC_SBXDEF_HXX +#pragma once #include <o3tl/typed_flags_set.hxx> #include <sal/types.h> @@ -214,6 +213,4 @@ constexpr auto SBX_MAXINDEX32 = SbxMAXLNG; // The numeric values of sal_True and FALSE enum SbxBOOL { SbxFALSE = 0, SbxTRUE = -1 }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx index 23ec6a00e5c9..b1c90d9a3654 100644 --- a/include/basic/sbxmeth.hxx +++ b/include/basic/sbxmeth.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SBXMETH_HXX -#define INCLUDED_BASIC_SBXMETH_HXX +#pragma once #include <basic/sbxvar.hxx> #include <basic/basicdllapi.h> @@ -39,6 +38,4 @@ public: virtual void Clear() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx index fbc8bbf9d70b..234d73d1b78b 100644 --- a/include/basic/sbxobj.hxx +++ b/include/basic/sbxobj.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SBXOBJ_HXX -#define INCLUDED_BASIC_SBXOBJ_HXX +#pragma once #include <svl/lstner.hxx> #include <basic/sbxvar.hxx> @@ -82,6 +81,4 @@ public: SAL_DLLPRIVATE void Dump( SvStream&, bool bDumpAll ); }; -#endif // INCLUDED_BASIC_SBXOBJ_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index cf18367d5430..b6aed459ca6c 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SBXVAR_HXX -#define INCLUDED_BASIC_SBXVAR_HXX +#pragma once #include <rtl/character.hxx> #include <rtl/ustring.hxx> @@ -331,6 +330,4 @@ public: virtual void SetParent(SbxObject* p) override; }; -#endif // INCLUDED_BASIC_SBXVAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */