include/opencl/OpenCLZone.hxx    |    5 +----
 include/opencl/openclconfig.hxx  |    5 +----
 include/opencl/opencldllapi.h    |    5 +----
 include/opencl/openclwrapper.hxx |    5 +----
 include/opencl/platforminfo.hxx  |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 674d00e8880f461255f59bb7052a1edb17b41845
Author:     siddhi <[email protected]>
AuthorDate: Mon Oct 13 05:10:40 2025 +0530
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Mon Oct 13 08:45:11 2025 +0200

    tdf#143148 replace include guards with pragma once in dir include/opencl
    
    Change-Id: Ifb0d8d5e21a27b2de56fe88f0cc93e2b27f74695
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192258
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    Tested-by: Ilmari Lauhakangas <[email protected]>

diff --git a/include/opencl/OpenCLZone.hxx b/include/opencl/OpenCLZone.hxx
index 8247e667d0c8..53f59de0c6c7 100644
--- a/include/opencl/OpenCLZone.hxx
+++ b/include/opencl/OpenCLZone.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_OPENCL_INC_OPENCL_ZONE_HXX
-#define INCLUDED_OPENCL_INC_OPENCL_ZONE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -27,6 +26,4 @@ class OPENCL_DLLPUBLIC OpenCLInitialZone : public 
CrashZone<OpenCLInitialZone>
 {
 };
 
-#endif // INCLUDED_OPENCL_INC_OPENCL_ZONE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/opencl/openclconfig.hxx b/include/opencl/openclconfig.hxx
index 2e099bafe69e..ebc319f8d6fb 100644
--- a/include/opencl/openclconfig.hxx
+++ b/include/opencl/openclconfig.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_OPENCL_OPENCLCONFIG_HXX
-#define INCLUDED_OPENCL_OPENCLCONFIG_HXX
+#pragma once
 
 #include <ostream>
 #include <set>
@@ -96,6 +95,4 @@ OPENCL_DLLPUBLIC std::ostream& operator<<(std::ostream& 
rStream, const OpenCLCon
 OPENCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const 
OpenCLConfig::ImplMatcher& rImpl);
 OPENCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const 
OpenCLConfig::ImplMatcherSet& rSet);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/opencl/opencldllapi.h b/include/opencl/opencldllapi.h
index 99bfd6cb9e79..53b4c0c00b77 100644
--- a/include/opencl/opencldllapi.h
+++ b/include/opencl/opencldllapi.h
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OPENCL_OPENCLDLLAPI_H
-#define INCLUDED_OPENCL_OPENCLDLLAPI_H
+#pragma once
 
 #include <sal/types.h>
 
@@ -29,6 +28,4 @@
 #endif
 #define OPENCL_DLLPRIVATE SAL_DLLPRIVATE
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx
index bfaa49e99b26..f3b6e26bcdaf 100644
--- a/include/opencl/openclwrapper.hxx
+++ b/include/opencl/openclwrapper.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OPENCLWRAPPER_HXX
+#pragma once
 
 #include <vector>
 
@@ -93,6 +92,4 @@ OPENCL_DLLPUBLIC const char* errorString(cl_int nError);
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/opencl/platforminfo.hxx b/include/opencl/platforminfo.hxx
index 5e54c052fc51..4cfaf8c8986b 100644
--- a/include/opencl/platforminfo.hxx
+++ b/include/opencl/platforminfo.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_OPENCL_PLATFORMINFO_HXX
-#define INCLUDED_OPENCL_PLATFORMINFO_HXX
+#pragma once
 
 #include <ostream>
 #include <vector>
@@ -47,5 +46,3 @@ struct OpenCLPlatformInfo
 
 OPENCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const 
OpenCLPlatformInfo& rPlatform);
 OPENCL_DLLPUBLIC std::ostream& operator<<(std::ostream& rStream, const 
OpenCLDeviceInfo& rDevice);
-
-#endif

Reply via email to