diff options
author | Huilin <lynntang12138@gmail.com> | 2021-07-28 23:23:05 -0700 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-07-30 07:55:33 +0200 |
commit | 151237558c3da083a45b29a98523366a8d438aeb (patch) | |
tree | d9069b0034c941037f9313351dfdc995ad3c07b4 | |
parent | ac80ec817eb07c77a51bc0729985a473c734182e (diff) |
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 <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rwxr-xr-x[-rw-r--r--] | sw/inc/swrect.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx index 933c044d92bd..1374295d26c5 100644..100755 --- 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 <ostream> @@ -338,6 +337,4 @@ inline std::basic_ostream<charT, traits> & operator <<( << "@(" << rectangle.Pos() << ")"; } -#endif // INCLUDED_SW_INC_SWRECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |