summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/textdat2.hxx5
-rw-r--r--vcl/source/edit/textdoc.hxx5
-rw-r--r--vcl/source/edit/textund2.hxx5
-rw-r--r--vcl/source/edit/textundo.hxx5
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: */