sw/source/uibase/inc/optcomp.hxx | 6 ++---- sw/source/uibase/inc/optload.hxx | 6 ++---- sw/source/uibase/inc/optpage.hxx | 6 +++--- sw/source/uibase/inc/outline.hxx | 6 ++---- sw/source/uibase/inc/unomod.hxx | 6 ++---- 5 files changed, 11 insertions(+), 19 deletions(-)
New commits: commit 843aedb772223189aa2ba3b1e9ffb7dba86db1ac Author: Gül Toksöz <meryemglt...@gmail.com> AuthorDate: Wed Nov 25 18:33:08 2020 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Thu Nov 26 18:21:44 2020 +0100 tdf#124176: Use pragma once instead of include guards Change-Id: I334fee9257c83aa940b256b049d4408ab2e53a72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106609 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/sw/source/uibase/inc/optcomp.hxx b/sw/source/uibase/inc/optcomp.hxx index 8af469e6a679..c6d907656e67 100644 --- a/sw/source/uibase/inc/optcomp.hxx +++ b/sw/source/uibase/inc/optcomp.hxx @@ -16,8 +16,8 @@ * 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_UIBASE_INC_OPTCOMP_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX + +#pragma once #include <memory> #include <sfx2/tabdlg.hxx> @@ -71,6 +71,4 @@ public: virtual void Reset( const SfxItemSet* rSet ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/optload.hxx b/sw/source/uibase/inc/optload.hxx index e1b0abe2f4ff..0bb020800765 100644 --- a/sw/source/uibase/inc/optload.hxx +++ b/sw/source/uibase/inc/optload.hxx @@ -16,8 +16,8 @@ * 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_UIBASE_INC_OPTLOAD_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTLOAD_HXX + +#pragma once #include <tools/globname.hxx> #include <sfx2/tabdlg.hxx> @@ -190,6 +190,4 @@ public: virtual void Reset( const SfxItemSet* rSet ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx index 4ea45d347687..2889f5ea6ebf 100644 --- a/sw/source/uibase/inc/optpage.hxx +++ b/sw/source/uibase/inc/optpage.hxx @@ -16,8 +16,9 @@ * 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_UIBASE_INC_OPTPAGE_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTPAGE_HXX + +#pragma once + #include <sfx2/tabdlg.hxx> #include <vcl/weld.hxx> @@ -382,5 +383,4 @@ public: virtual void Reset( const SfxItemSet* rSet ) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx index f7702359c3ee..d1e1b2915b7d 100644 --- a/sw/source/uibase/inc/outline.hxx +++ b/sw/source/uibase/inc/outline.hxx @@ -16,8 +16,8 @@ * 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_UIBASE_INC_OUTLINE_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX + +#pragma once #include <memory> #include <sfx2/tabdlg.hxx> @@ -118,6 +118,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx index 1bd195689f48..857155df65a7 100644 --- a/sw/source/uibase/inc/unomod.hxx +++ b/sw/source/uibase/inc/unomod.hxx @@ -16,8 +16,8 @@ * 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_UIBASE_INC_UNOMOD_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_UNOMOD_HXX + +#pragma once #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/view/XPrintSettingsSupplier.hpp> @@ -133,6 +133,4 @@ public: void Invalidate() {bObjectValid = false;} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits