diff options
author | Gül Toksöz <meryemgltksz@gmail.com> | 2020-11-25 18:33:08 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-11-26 18:21:44 +0100 |
commit | 843aedb772223189aa2ba3b1e9ffb7dba86db1ac (patch) | |
tree | 2c1e91ec2d27f304e7248b2872ef33e0d2cb3795 /sw/source/uibase/inc | |
parent | 2b5d320630aaa89fc3857f2926b82d116910f905 (diff) |
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 <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/optcomp.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/inc/optload.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/inc/optpage.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/inc/outline.hxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/inc/unomod.hxx | 6 |
5 files changed, 11 insertions, 19 deletions
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: */ |