external/skia/inc/skia_opts.hxx | 5 +---- external/skia/source/skia_opts_internal.hxx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
New commits: commit de32239244c992144f1fdcdc446d507668300087 Author: ashish kumar <[email protected]> AuthorDate: Sun Dec 14 08:42:33 2025 +0000 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Sun Dec 14 12:10:08 2025 +0100 tdf#143148: Use pragma once instead of include guards in external/skia Change-Id: I966ceb77dc9e9667d1f69ff4d844345d925c74bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195620 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <[email protected]> diff --git a/external/skia/inc/skia_opts.hxx b/external/skia/inc/skia_opts.hxx index 33f82f9d2218..ca5a3274daf5 100644 --- a/external/skia/inc/skia_opts.hxx +++ b/external/skia/inc/skia_opts.hxx @@ -3,8 +3,7 @@ * found in the LICENSE file. */ -#ifndef SKIA_OPTS_H -#define SKIA_OPTS_H +#pragma once #include <include/core/SkTypes.h> @@ -24,5 +23,3 @@ typedef void (*Swizzle_u8_8888)(uint8_t*, const uint32_t*, int); extern Swizzle_u8_8888 RGB1_to_RGB, // i.e. remove an (opaque) alpha RGB1_to_R; // i.e. copy one channel to the result } - -#endif diff --git a/external/skia/source/skia_opts_internal.hxx b/external/skia/source/skia_opts_internal.hxx index 0ca6a04351d2..c8c86ca4da5d 100644 --- a/external/skia/source/skia_opts_internal.hxx +++ b/external/skia/source/skia_opts_internal.hxx @@ -3,8 +3,7 @@ * found in the LICENSE file. */ -#ifndef SKIA_OPTS_INTERNAL_H -#define SKIA_OPTS_INTERNAL_H +#pragma once #if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSSE3 #include <immintrin.h> @@ -77,5 +76,3 @@ inline void RGB1_to_R(uint8_t dst[], const uint32_t* src, int count) { #endif } // namespace - -#endif
