summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txtcache.hxx
diff options
context:
space:
mode:
authorBartu Bayazıt <bartubayazit81@gmail.com>2020-11-27 20:41:49 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-11-28 14:03:58 +0100
commit2e93e2c83b3fba9d29783dc4cc9782e142d8a58f (patch)
treec3af095122f4b96e5e9c22b395290d448a19a528 /sw/source/core/text/txtcache.hxx
parent87191b03e79e909a8ace3bcac35cfeea7f0d34ea (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I2f583dd1c0a6b8a546d83bbf852eb0ef5492c374 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106790 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/text/txtcache.hxx')
-rw-r--r--sw/source/core/text/txtcache.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/core/text/txtcache.hxx b/sw/source/core/text/txtcache.hxx
index 192fb42ee20f..158f997ff10c 100644
--- a/sw/source/core/text/txtcache.hxx
+++ b/sw/source/core/text/txtcache.hxx
@@ -16,8 +16,8 @@
* 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_SOURCE_CORE_TEXT_TXTCACHE_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_TXTCACHE_HXX
+
+#pragma once
#include <swcache.hxx>
#include "porlay.hxx"
@@ -59,6 +59,4 @@ public:
bool IsAvailable() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */