summaryrefslogtreecommitdiff
path: root/sw/inc/breakit.hxx
diff options
context:
space:
mode:
authorJaxkDev <JaxkDev@gmail.com>2024-10-23 16:52:14 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-10-25 13:45:31 +0200
commitcf39ee6cbfed2ec6e82c136712910bf3f4954bdf (patch)
treee611587a5aadff56fa869e6fd085ef83f1a19595 /sw/inc/breakit.hxx
parentcc06aa263cb980e851496c31ff3d42fc0370cdbf (diff)
tdf#143148 Use #pragma once instead of include guards
Few more files converted to #pragma once convention, plenty more in sw/inc (~150) Change-Id: I5f5a2604f0fe879a6318e5d174653057a53f9af2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175511 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw/inc/breakit.hxx')
-rw-r--r--sw/inc/breakit.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index d21fb85bce45..64e63aa3a8e2 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SW_INC_BREAKIT_HXX
-#define INCLUDED_SW_INC_BREAKIT_HXX
+#pragma once
#include <memory>
#include <optional>
@@ -124,6 +123,4 @@ public:
// @@@ backward compatibility @@@
SW_DLLPUBLIC extern SwBreakIt* g_pBreakIt;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */