summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorDowdyJ <joeldowdy12@gmail.com>2023-01-17 02:17:14 +0000
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-01-17 08:37:40 +0000
commitb8cda1fe1c87af9f378b49bbd3beee25f3c4a942 (patch)
tree5e704334141882186dd8b5205266058e61fc2f42 /sw
parent0b471dc61b60180508d071a26e45b217ea65d13f (diff)
tdf#143148 Use pragma once instead of include guards
Change-Id: Ibaa1f275cd4ef5a56b8014bf99013aa511a2c413 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145648 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/TextCursorHelper.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/inc/TextCursorHelper.hxx b/sw/inc/TextCursorHelper.hxx
index 3f15248a6dda..f14d68ab2c41 100644
--- a/sw/inc/TextCursorHelper.hxx
+++ b/sw/inc/TextCursorHelper.hxx
@@ -16,9 +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_INC_TEXTCURSORHELPER_HXX
-#define INCLUDED_SW_INC_TEXTCURSORHELPER_HXX
-
+#pragma once
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <cppuhelper/implbase1.hxx>
@@ -44,6 +42,4 @@ protected:
~OTextCursorHelper() {}
};
-#endif // INCLUDED_SW_INC_TEXTCURSORHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */