[Libreoffice-commits] core.git: sw/inc
Huilin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 30 05:56:08 UTC 2021
sw/inc/swrect.hxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 151237558c3da083a45b29a98523366a8d438aeb
Author: Huilin <lynntang12138 at gmail.com>
AuthorDate: Wed Jul 28 23:23:05 2021 -0700
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Fri Jul 30 07:55:33 2021 +0200
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 at libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
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 <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: */
More information about the Libreoffice-commits
mailing list