From ef6212158d8308d60d3edb6c87117958758436e2 Mon Sep 17 00:00:00 2001 From: Tuukka Orava Date: Mon, 5 Feb 2024 13:13:56 +0200 Subject: tdf#143148 Use pragma once in vcl/inc/graphic Change-Id: Id88d0c64f02d9a0ca111de3d08e3d542dfba2a1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162997 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- vcl/inc/graphic/GraphicFormatDetector.hxx | 5 +---- vcl/inc/graphic/Manager.hxx | 5 +---- vcl/inc/graphic/UnoGraphic.hxx | 5 +---- vcl/inc/graphic/UnoGraphicDescriptor.hxx | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/vcl/inc/graphic/GraphicFormatDetector.hxx b/vcl/inc/graphic/GraphicFormatDetector.hxx index d6791e377fc1..24ffcab18b7a 100644 --- a/vcl/inc/graphic/GraphicFormatDetector.hxx +++ b/vcl/inc/graphic/GraphicFormatDetector.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX -#define INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX +#pragma once #include #include @@ -203,6 +202,4 @@ private: }; } -#endif // INCLUDED_VCL_INC_GRAPHICFORMATDETECTOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/graphic/Manager.hxx b/vcl/inc/graphic/Manager.hxx index 65e92146491c..d239f6a8b01d 100644 --- a/vcl/inc/graphic/Manager.hxx +++ b/vcl/inc/graphic/Manager.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX -#define INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX +#pragma once #include #include @@ -76,6 +75,4 @@ public: } // end namespace vcl::graphic -#endif // INCLUDED_VCL_INC_GRAPHIC_MANAGER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx index ce060c98f40c..94fcb361dcd1 100644 --- a/vcl/inc/graphic/UnoGraphic.hxx +++ b/vcl/inc/graphic/UnoGraphic.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX -#define INCLUDED_VCL_SOURCE_GRAPHIC_GRAPHIC_HXX +#pragma once #include #include @@ -84,6 +83,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/graphic/UnoGraphicDescriptor.hxx b/vcl/inc/graphic/UnoGraphicDescriptor.hxx index 2adc19dac059..3631c504fa92 100644 --- a/vcl/inc/graphic/UnoGraphicDescriptor.hxx +++ b/vcl/inc/graphic/UnoGraphicDescriptor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX -#define INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX +#pragma once #include #include @@ -114,6 +113,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit