diff options
author | Hemant Kumar Singh <iammrhks@yahoo.com> | 2022-10-18 20:53:24 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-10-18 18:40:41 +0200 |
commit | 683c2e286e2b8f3220481625d085bdde8e1eab29 (patch) | |
tree | b527d0bc5289be503fe2f4d1a41de4ecd43a33f3 /vcl/source/edit | |
parent | 2969900b75e288e8c626a34277250aa233dc944c (diff) |
tdf#143148 Use pragma once in vcl/source/edit
Change-Id: I62be40614baf489433a53f19397737031d1f217b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141509
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r-- | vcl/source/edit/textdat2.hxx | 5 | ||||
-rw-r--r-- | vcl/source/edit/textdoc.hxx | 5 | ||||
-rw-r--r-- | vcl/source/edit/textund2.hxx | 5 | ||||
-rw-r--r-- | vcl/source/edit/textundo.hxx | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx index c620f91ad4e2..e0174848f74a 100644 --- a/vcl/source/edit/textdat2.hxx +++ b/vcl/source/edit/textdat2.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_EDIT_TEXTDAT2_HXX -#define INCLUDED_VCL_SOURCE_EDIT_TEXTDAT2_HXX +#pragma once #include <vcl/seleng.hxx> #include <vcl/cursor.hxx> @@ -279,6 +278,4 @@ struct TextDDInfo } }; -#endif // INCLUDED_VCL_SOURCE_EDIT_TEXTDAT2_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/edit/textdoc.hxx b/vcl/source/edit/textdoc.hxx index babd9a248594..3dd0dce8d262 100644 --- a/vcl/source/edit/textdoc.hxx +++ b/vcl/source/edit/textdoc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_EDIT_TEXTDOC_HXX -#define INCLUDED_VCL_SOURCE_EDIT_TEXTDOC_HXX +#pragma once #include <rtl/ustring.hxx> #include <vcl/textdata.hxx> @@ -124,6 +123,4 @@ public: bool IsValidPaM( const TextPaM& rPaM ); }; -#endif // INCLUDED_VCL_SOURCE_EDIT_TEXTDOC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx index e537f6701435..7aea9af6b87e 100644 --- a/vcl/source/edit/textund2.hxx +++ b/vcl/source/edit/textund2.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_VCL_SOURCE_EDIT_TEXTUND2_HXX -#define INCLUDED_VCL_SOURCE_EDIT_TEXTUND2_HXX +#pragma once #include "textundo.hxx" #include <vcl/textdata.hxx> @@ -103,6 +102,4 @@ public: virtual OUString GetComment () const override; }; -#endif // INCLUDED_VCL_SOURCE_EDIT_TEXTUND2_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/edit/textundo.hxx b/vcl/source/edit/textundo.hxx index 0ec4a9aba328..571a16c2cea6 100644 --- a/vcl/source/edit/textundo.hxx +++ b/vcl/source/edit/textundo.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_VCL_SOURCE_EDIT_TEXTUNDO_HXX -#define INCLUDED_VCL_SOURCE_EDIT_TEXTUNDO_HXX +#pragma once #include <svl/undo.hxx> #include <vcl/texteng.hxx> @@ -75,6 +74,4 @@ public: virtual OUString GetComment() const override; }; -#endif // INCLUDED_VCL_SOURCE_EDIT_TEXTUNDO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |