diff options
author | anish.deshpande <anishmdeshpande@gmail.com> | 2024-02-22 14:56:47 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-02-26 06:45:07 +0100 |
commit | 3d8e32a195203e4b540274b9024ced2bc364afb0 (patch) | |
tree | cc23b7093a76f097d5ab3786ad0b63380e69ec0d /vcl/inc/skia | |
parent | 8f6b4125819644ba91b1386170df1baa9a9c197d (diff) |
tdf#143148 Use pragma once instead of include guards in vcl and xmloff
Change-Id: I317da0a6f626e8ddb3f090099347b130e99ff2a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163856
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'vcl/inc/skia')
-rw-r--r-- | vcl/inc/skia/gdiimpl.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/skia/salbmp.hxx | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index b879872a8bca..71f5cce8aae6 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SKIA_GDIIMPL_HXX -#define INCLUDED_VCL_SKIA_GDIIMPL_HXX +#pragma once #include <vcl/dllapi.h> @@ -436,6 +435,4 @@ inline SkPaint SkiaSalGraphicsImpl::makePixelPaint(std::optional<Color> color) c return paint; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/skia/salbmp.hxx b/vcl/inc/skia/salbmp.hxx index c42aa30f4654..639436346d61 100644 --- a/vcl/inc/skia/salbmp.hxx +++ b/vcl/inc/skia/salbmp.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_SKIA_SALBMP_H -#define INCLUDED_VCL_INC_SKIA_SALBMP_H +#pragma once #include <salbmp.hxx> #include <vcl/bitmap.hxx> @@ -226,6 +225,4 @@ private: #endif }; -#endif // INCLUDED_VCL_INC_SKIA_SALBMP_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |