vcl/source/edit/textdat2.hxx |    5 +----
 vcl/source/edit/textdoc.hxx  |    5 +----
 vcl/source/edit/textund2.hxx |    5 +----
 vcl/source/edit/textundo.hxx |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit 683c2e286e2b8f3220481625d085bdde8e1eab29
Author:     Hemant Kumar Singh <iammr...@yahoo.com>
AuthorDate: Tue Oct 18 20:53:24 2022 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Oct 18 18:40:41 2022 +0200

    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.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

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: */

Reply via email to