From 3e4d77a6cbdb40e587dedc0045beced5f006da0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Thu, 18 Jun 2020 13:17:53 +0200 Subject: [PATCH] pragma once for some PDF headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4c0b734abba8240b9dd76d82fbf576655a2d1273 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96757 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/inc/pdf/BitmapID.hxx | 5 +---- vcl/inc/pdf/Matrix3.hxx | 5 +---- vcl/inc/pdf/ResourceDict.hxx | 5 +---- vcl/inc/pdf/XmpMetadata.hxx | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/vcl/inc/pdf/BitmapID.hxx b/vcl/inc/pdf/BitmapID.hxx index cedc5790338f..afc9aff9fcf6 100644 --- a/vcl/inc/pdf/BitmapID.hxx +++ b/vcl/inc/pdf/BitmapID.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_VCL_INC_PDF_BITMAPID_HXX -#define INCLUDED_VCL_INC_PDF_BITMAPID_HXX +#pragma once #include #include @@ -39,6 +38,4 @@ struct BitmapID }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/pdf/Matrix3.hxx b/vcl/inc/pdf/Matrix3.hxx index c36332015c13..795b2af4be52 100644 --- a/vcl/inc/pdf/Matrix3.hxx +++ b/vcl/inc/pdf/Matrix3.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_VCL_INC_PDF_MATRIX3_HXX -#define INCLUDED_VCL_INC_PDF_MATRIX3_HXX +#pragma once #include #include @@ -49,6 +48,4 @@ public: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/pdf/ResourceDict.hxx b/vcl/inc/pdf/ResourceDict.hxx index 488a821db79c..57ecb8e0f33f 100644 --- a/vcl/inc/pdf/ResourceDict.hxx +++ b/vcl/inc/pdf/ResourceDict.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_VCL_INC_PDF_RESOURCEDICT_HXX -#define INCLUDED_VCL_INC_PDF_RESOURCEDICT_HXX +#pragma once #include #include @@ -37,6 +36,4 @@ struct ResourceDict }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/pdf/XmpMetadata.hxx b/vcl/inc/pdf/XmpMetadata.hxx index cc3f8da1a34c..ae3ffadcd847 100644 --- a/vcl/inc/pdf/XmpMetadata.hxx +++ b/vcl/inc/pdf/XmpMetadata.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_VCL_INC_PDF_XMPMETADATA_HXX -#define INCLUDED_VCL_INC_PDF_XMPMETADATA_HXX +#pragma once #include #include @@ -43,6 +42,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */