summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2023-10-17 18:36:36 +1100
committerTomaž Vajngerl <quikee@gmail.com>2023-11-19 02:19:59 +0100
commitc0aacb30b73405f6d0213fcb85b53b6d0f0854d7 (patch)
tree41966dc5df4f0c0461f51dafc96ff8ac0105186e /vcl
parent696644462e1f3e43608319068db2bbc167e7b8f8 (diff)
tdf#124176 vcl: Use pragma once instead of include guards in inc/textlayout.hxx
Change-Id: Ie51fbc687002a6139dc98309cb7e1c39bb4de4a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158075 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/textlayout.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/textlayout.hxx b/vcl/inc/textlayout.hxx
index b5402cc63177..53462d0cc1a2 100644
--- a/vcl/inc/textlayout.hxx
+++ b/vcl/inc/textlayout.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_TEXTLAYOUT_HXX
-#define INCLUDED_VCL_INC_TEXTLAYOUT_HXX
+#pragma once
#include <tools/long.hxx>
#include <vcl/outdev.hxx>
@@ -141,6 +140,4 @@ namespace vcl
} // namespace vcl
-#endif // INCLUDED_VCL_INC_TEXTLAYOUT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */