vcl/source/filter/jpeg/JpegReader.hxx | 5 +---- vcl/source/filter/jpeg/JpegTransform.hxx | 5 +---- vcl/source/filter/jpeg/jpeg.hxx | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-)
New commits: commit e1562ac3d7821cee90db383db5734b86691a3887 Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Mon Nov 21 19:01:51 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Tue Nov 22 07:49:25 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: I894e3a67b9312b99ac2fd7290dfa73a0dafb28a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142932 Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/vcl/source/filter/jpeg/JpegReader.hxx b/vcl/source/filter/jpeg/JpegReader.hxx index f9a2eb2929aa..5766ef9a61d9 100644 --- a/vcl/source/filter/jpeg/JpegReader.hxx +++ b/vcl/source/filter/jpeg/JpegReader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGREADER_HXX -#define INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGREADER_HXX +#pragma once #include <vcl/graph.hxx> #include <vcl/bitmap.hxx> @@ -69,6 +68,4 @@ public: Bitmap& GetBitmap() { return *mpBitmap; } }; -#endif // INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGREADER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/jpeg/JpegTransform.hxx b/vcl/source/filter/jpeg/JpegTransform.hxx index 2b5c6dfd66ce..09dfe773d12a 100644 --- a/vcl/source/filter/jpeg/JpegTransform.hxx +++ b/vcl/source/filter/jpeg/JpegTransform.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGTRANSFORM_HXX -#define INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGTRANSFORM_HXX +#pragma once #include <tools/stream.hxx> @@ -35,6 +34,4 @@ public: void perform(); }; -#endif // INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEGTRANSFORM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/filter/jpeg/jpeg.hxx b/vcl/source/filter/jpeg/jpeg.hxx index 96c9280c2483..1ef39f97903c 100644 --- a/vcl/source/filter/jpeg/jpeg.hxx +++ b/vcl/source/filter/jpeg/jpeg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEG_HXX -#define INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEG_HXX +#pragma once #include <vcl/graph.hxx> #include <vcl/graphicfilter.hxx> @@ -34,6 +33,4 @@ bool ExportJPEG(SvStream& rOutputStream, const css::uno::Sequence< css::beans::PropertyValue >* pFilterData, bool* pExportWasGrey); -#endif // INCLUDED_VCL_SOURCE_FILTER_JPEG_JPEG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */