From 0d8d0fb8932652f182c46805d5cf3ae7f6ebadd5 Mon Sep 17 00:00:00 2001 From: Uday Sharma Date: Sat, 11 Feb 2023 23:04:38 +0530 Subject: tdf#143148: Use pragma once instead of include guards Change-Id: I6898acbf7c6c9de45bbfa6a32202acf302f92caa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146822 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- emfio/inc/emfreader.hxx | 6 +----- emfio/inc/mtftools.hxx | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'emfio/inc') diff --git a/emfio/inc/emfreader.hxx b/emfio/inc/emfreader.hxx index a09ad6fa2c20..4893a45733af 100644 --- a/emfio/inc/emfreader.hxx +++ b/emfio/inc/emfreader.hxx @@ -16,9 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#ifndef INCLUDED_EMFIO_INC_EMFREADER_HXX -#define INCLUDED_EMFIO_INC_EMFREADER_HXX +#pragma once #include "mtftools.hxx" @@ -63,6 +61,4 @@ namespace emfio }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx index 26e2d8cca088..b2237736869b 100644 --- a/emfio/inc/mtftools.hxx +++ b/emfio/inc/mtftools.hxx @@ -16,9 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#ifndef INCLUDED_EMFIO_INC_MTFTOOLS_HXX -#define INCLUDED_EMFIO_INC_MTFTOOLS_HXX +#pragma once #include #include @@ -838,6 +836,4 @@ namespace emfio }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit