From 540235deb4f441ab53da9139d3bed7d09dd56978 Mon Sep 17 00:00:00 2001 From: Simon Chenery Date: Tue, 17 Jun 2025 21:58:43 +0200 Subject: [PATCH] tdf#143148 replace include guards with pragma once in dir linguistic Change-Id: Iafc91039b2d2868e664b9df9778b42a35df8e890 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186633 Reviewed-by: Ilmari Lauhakangas Tested-by: Jenkins Tested-by: Ilmari Lauhakangas --- linguistic/inc/iprcache.hxx | 5 +---- linguistic/source/convdicxml.hxx | 5 +---- linguistic/source/thesdsp.hxx | 5 +---- linguistic/workben/sprophelp.hxx | 5 +---- linguistic/workben/sspellimp.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) diff --git a/linguistic/inc/iprcache.hxx b/linguistic/inc/iprcache.hxx index 1bfa1eef3fc1..9a61a5a26c92 100644 --- a/linguistic/inc/iprcache.hxx +++ b/linguistic/inc/iprcache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_LINGUISTIC_INC_IPRCACHE_HXX -#define INCLUDED_LINGUISTIC_INC_IPRCACHE_HXX +#pragma once #include @@ -95,6 +94,4 @@ public: } // namespace linguistic -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx index 98e077fd00a2..428964981ef6 100644 --- a/linguistic/source/convdicxml.hxx +++ b/linguistic/source/convdicxml.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_LINGUISTIC_SOURCE_CONVDICXML_HXX -#define INCLUDED_LINGUISTIC_SOURCE_CONVDICXML_HXX +#pragma once #include #include @@ -99,6 +98,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx index 80cafe29cc4b..0b7ec616fb23 100644 --- a/linguistic/source/thesdsp.hxx +++ b/linguistic/source/thesdsp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_LINGUISTIC_SOURCE_THESDSP_HXX -#define INCLUDED_LINGUISTIC_SOURCE_THESDSP_HXX +#pragma once #include #include @@ -87,6 +86,4 @@ inline const css::uno::Reference< css::linguistic2::XLinguProperties > & } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/linguistic/workben/sprophelp.hxx b/linguistic/workben/sprophelp.hxx index 3882c0abba5a..b9cf9a689180 100644 --- a/linguistic/workben/sprophelp.hxx +++ b/linguistic/workben/sprophelp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_LINGUISTIC_WORKBEN_SPROPHELP_HXX -#define INCLUDED_LINGUISTIC_WORKBEN_SPROPHELP_HXX +#pragma once #include #include @@ -147,6 +146,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/linguistic/workben/sspellimp.hxx b/linguistic/workben/sspellimp.hxx index f07674ca1303..8b8bae444b07 100644 --- a/linguistic/workben/sspellimp.hxx +++ b/linguistic/workben/sspellimp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_LINGUISTIC_WORKBEN_SSPELLIMP_HXX -#define INCLUDED_LINGUISTIC_WORKBEN_SSPELLIMP_HXX +#pragma once #include #include @@ -152,6 +151,4 @@ inline OUString SpellChecker::getImplementationName_Static() throw() } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */