summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorBatuhan Görkem Benzer <batuhan1167@gmail.com>2019-12-20 08:16:27 -0500
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-20 19:39:07 +0100
commitd0b69965012a711c0b181bf359c8b27a782be2c3 (patch)
tree702dc08b73ec502bd50e827a1a37e5a97ec4043b /editeng
parent24939a5b43b9fe889c3aace027c668666ff61987 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I4d291de9a331923877160293c217c2ce8b15294d Reviewed-on: https://gerrit.libreoffice.org/85603 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdbg.hxx5
-rw-r--r--editeng/source/editeng/editobj2.hxx5
-rw-r--r--editeng/source/editeng/editsel.hxx5
-rw-r--r--editeng/source/editeng/editstt2.hxx5
-rw-r--r--editeng/source/editeng/editundo.hxx6
-rw-r--r--editeng/source/editeng/eehtml.hxx5
6 files changed, 6 insertions, 25 deletions
diff --git a/editeng/source/editeng/editdbg.hxx b/editeng/source/editeng/editdbg.hxx
index f3d8347caa6b..9c2fa5004791 100644
--- a/editeng/source/editeng/editdbg.hxx
+++ b/editeng/source/editeng/editdbg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EDITDBG_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EDITDBG_HXX
+#pragma once
#include <rtl/string.hxx>
#include <stdio.h>
@@ -37,6 +36,4 @@ public:
static void ShowEditEngineData( EditEngine* pEditEngine, bool bInfoBox = true );
};
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EDITDBG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx
index f217e4beb948..b7d045d459f4 100644
--- a/editeng/source/editeng/editobj2.hxx
+++ b/editeng/source/editeng/editobj2.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EDITOBJ2_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EDITOBJ2_HXX
+#pragma once
#include <editeng/editobj.hxx>
#include <editeng/fieldupdater.hxx>
@@ -277,6 +276,4 @@ public:
#endif
};
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EDITOBJ2_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/editsel.hxx b/editeng/source/editeng/editsel.hxx
index f59a9ea05880..8d2adfb670f3 100644
--- a/editeng/source/editeng/editsel.hxx
+++ b/editeng/source/editeng/editsel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EDITSEL_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EDITSEL_HXX
+#pragma once
#include <vcl/seleng.hxx>
@@ -56,6 +55,4 @@ public:
void SetCurView( EditView* pNewView );
};
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EDITSEL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/editstt2.hxx b/editeng/source/editeng/editstt2.hxx
index 48d5f1e81da6..4474df8b429b 100644
--- a/editeng/source/editeng/editstt2.hxx
+++ b/editeng/source/editeng/editstt2.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EDITSTT2_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EDITSTT2_HXX
+#pragma once
#include <editeng/editstat.hxx>
@@ -94,6 +93,4 @@ public:
{ return bool( nControlBits & EEControlBits::ULSPACESUMMATION ); }
};
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EDITSTT2_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx
index b22cbb5dea67..43d2a0d3b911 100644
--- a/editeng/source/editeng/editundo.hxx
+++ b/editeng/source/editeng/editundo.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EDITUNDO_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EDITUNDO_HXX
+#pragma once
#include <editdoc.hxx>
#include <editeng/editund2.hxx>
@@ -286,7 +285,4 @@ public:
virtual void Redo() override;
};
-
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EDITUNDO_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx
index 4c68f0dcc69f..8a7394d25e59 100644
--- a/editeng/source/editeng/eehtml.hxx
+++ b/editeng/source/editeng/eehtml.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EEHTML_HXX
-#define INCLUDED_EDITENG_SOURCE_EDITENG_EEHTML_HXX
+#pragma once
#include <memory>
#include <editdoc.hxx>
@@ -81,6 +80,4 @@ public:
typedef tools::SvRef<EditHTMLParser> EditHTMLParserRef;
-#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EEHTML_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */