diff options
author | OmkarAcharekar <omkaracharekar12@gmail.com> | 2022-10-16 03:29:57 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-10-16 12:39:01 +0200 |
commit | 3398a2bc324bb00c18071374cb33f97cd9902860 (patch) | |
tree | 7fa69cc5ed98ca94997eb64e775ed3a6a8027cd4 /sw | |
parent | 42d7cd1abca095d5166a7f4355f1cfc0f822961b (diff) |
tdf#143148 Use pragma once in sw/source/ui/envelp
Change-Id: Iff490b1ceb0bd73aa61fd7a92367d1e71b9f84ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141422
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/envelp/envfmt.hxx | 5 | ||||
-rw-r--r-- | sw/source/ui/envelp/envprt.hxx | 5 | ||||
-rw-r--r-- | sw/source/ui/envelp/labfmt.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/envelp/labprt.hxx | 5 | ||||
-rw-r--r-- | sw/source/ui/envelp/swuilabimp.hxx | 5 |
5 files changed, 5 insertions, 19 deletions
diff --git a/sw/source/ui/envelp/envfmt.hxx b/sw/source/ui/envelp/envfmt.hxx index fb089f8a3743..bdc42de6b55f 100644 --- a/sw/source/ui/envelp/envfmt.hxx +++ b/sw/source/ui/envelp/envfmt.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_ENVELP_ENVFMT_HXX -#define INCLUDED_SW_SOURCE_UI_ENVELP_ENVFMT_HXX +#pragma once #include <sal/config.h> @@ -74,6 +73,4 @@ public: virtual void Reset(const SfxItemSet* rSet) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/envelp/envprt.hxx b/sw/source/ui/envelp/envprt.hxx index 078efa0995c4..4cc3bf4f784b 100644 --- a/sw/source/ui/envelp/envprt.hxx +++ b/sw/source/ui/envelp/envprt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX -#define INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX +#pragma once #include <sfx2/tabdlg.hxx> #include <vcl/print.hxx> @@ -69,6 +68,4 @@ public: void SetPrt(Printer* pPrinter) { m_xPrt = pPrinter; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx index b6a7f491505a..bfb1ef309738 100644 --- a/sw/source/ui/envelp/labfmt.hxx +++ b/sw/source/ui/envelp/labfmt.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_ENVELP_LABFMT_HXX -#define INCLUDED_SW_SOURCE_UI_ENVELP_LABFMT_HXX +#pragma once #include <labimg.hxx> #include <label.hxx> @@ -137,6 +136,5 @@ public: } bool GetLabel(SwLabItem& rItem); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx index 6df616aa68bf..66a4c1365725 100644 --- a/sw/source/ui/envelp/labprt.hxx +++ b/sw/source/ui/envelp/labprt.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_ENVELP_LABPRT_HXX -#define INCLUDED_SW_SOURCE_UI_ENVELP_LABPRT_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -61,6 +60,4 @@ public: Printer* GetPrt() { return m_pPrinter; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx index 10ab6fe71579..222c9fd911cc 100644 --- a/sw/source/ui/envelp/swuilabimp.hxx +++ b/sw/source/ui/envelp/swuilabimp.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_ENVELP_SWUILABIMP_HXX -#define INCLUDED_SW_SOURCE_UI_ENVELP_SWUILABIMP_HXX +#pragma once #include <label.hxx> #include <labimg.hxx> @@ -143,6 +142,4 @@ public: virtual void Reset(const SfxItemSet* rSet) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |