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(-)

New commits:
commit 540235deb4f441ab53da9139d3bed7d09dd56978
Author:     Simon Chenery <[email protected]>
AuthorDate: Tue Jun 17 21:58:43 2025 +0200
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Mon Jun 23 15:10:14 2025 +0200

    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 <[email protected]>
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <[email protected]>

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 <cppuhelper/implbase.hxx>
 
@@ -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 <com/sun/star/util/MeasureUnit.hpp>
 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
@@ -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 <com/sun/star/uno/Reference.h>
 #include <com/sun/star/uno/Sequence.h>
@@ -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 <cppuhelper/implbase.hxx>
 #include <cppuhelper/interfacecontainer.h>
@@ -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 <cppuhelper/implbase.hxx>
 #include <com/sun/star/lang/XComponent.hpp>
@@ -152,6 +151,4 @@ inline OUString 
SpellChecker::getImplementationName_Static() throw()
 }
 
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to