From 151237558c3da083a45b29a98523366a8d438aeb Mon Sep 17 00:00:00 2001 From: Huilin Date: Wed, 28 Jul 2021 23:23:05 -0700 Subject: tdf#143148: Use pragma once instead of include guards Change-Id: I769206b581dd056d2b8cd2c0b20bab0e48af68cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119578 Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- sw/inc/swrect.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) mode change 100644 => 100755 sw/inc/swrect.hxx diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx old mode 100644 new mode 100755 index 933c044d92bd..1374295d26c5 --- a/sw/inc/swrect.hxx +++ b/sw/inc/swrect.hxx @@ -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_SW_INC_SWRECT_HXX -#define INCLUDED_SW_INC_SWRECT_HXX +#pragma once #include @@ -338,6 +337,4 @@ inline std::basic_ostream & operator <<( << "@(" << rectangle.Pos() << ")"; } -#endif // INCLUDED_SW_INC_SWRECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit