From 2a31c5dd37012de5a52dbbc08937401fc38434fb Mon Sep 17 00:00:00 2001 From: YakovlevAl Date: Thu, 15 Jul 2021 01:49:52 +0300 Subject: tdf#143148 Use pragma once instead of include guards Switch to #pragma once Change-Id: Id5436aee3398fe2ee0fecd125cb1e7f71e587c88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118962 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- tools/inc/poly.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/inc/poly.h b/tools/inc/poly.h index 3de1374efd94..64885ac29762 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -16,8 +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_TOOLS_INC_POLY_H -#define INCLUDED_TOOLS_INC_POLY_H +#pragma once #include #include @@ -81,6 +80,4 @@ struct ImplPolyPolygon } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit