From 034df68d3db4f2b6cbc3ab3a4ab4db43eadbaac1 Mon Sep 17 00:00:00 2001 From: Krunal Baraskar Date: Fri, 13 Mar 2026 03:56:29 +0530 Subject: [PATCH] tdf#143148 Use pragma once instead of include guards Change-Id: I4392148bcc1b90a8343af5ae2145be8fa8deef03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201583 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- include/drawinglayer/animation/animationtiming.hxx | 6 +----- include/drawinglayer/attribute/materialattribute3d.hxx | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/include/drawinglayer/animation/animationtiming.hxx b/include/drawinglayer/animation/animationtiming.hxx index c92639b99ca8..44ad0ef6aa7f 100644 --- a/include/drawinglayer/animation/animationtiming.hxx +++ b/include/drawinglayer/animation/animationtiming.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DRAWINGLAYER_ANIMATION_ANIMATIONTIMING_HXX -#define INCLUDED_DRAWINGLAYER_ANIMATION_ANIMATIONTIMING_HXX +#pragma once #include @@ -126,7 +125,4 @@ namespace drawinglayer::animation } // end of namespace drawinglayer::animation - -#endif //INCLUDED_DRAWINGLAYER_ANIMATION_ANIMATIONTIMING_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/attribute/materialattribute3d.hxx b/include/drawinglayer/attribute/materialattribute3d.hxx index 07c11e3026fb..24fbd1e49c94 100644 --- a/include/drawinglayer/attribute/materialattribute3d.hxx +++ b/include/drawinglayer/attribute/materialattribute3d.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DRAWINGLAYER_ATTRIBUTE_MATERIALATTRIBUTE3D_HXX -#define INCLUDED_DRAWINGLAYER_ATTRIBUTE_MATERIALATTRIBUTE3D_HXX +#pragma once #include #include @@ -72,7 +71,4 @@ namespace drawinglayer::attribute } // end of namespace drawinglayer::attribute - -#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_MATERIALATTRIBUTE3D_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */