From 1a07ce2112e3b4dc117d8cafe85d2c19957755d2 Mon Sep 17 00:00:00 2001 From: bugrakurt Date: Thu, 30 Jan 2020 16:08:46 +0300 Subject: tdf#124176: Use pragma once instead of include guards Change-Id: Ia353a95df0e78e9da2b6fb95c2bc3a6e83c72fcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87738 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- include/basegfx/range/b2dpolyrange.hxx | 5 +---- include/basegfx/range/b2drange.hxx | 5 +---- include/basegfx/range/b2ibox.hxx | 5 +---- include/basegfx/range/b2irange.hxx | 5 +---- ucb/source/ucp/webdav-neon/ContentProperties.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) diff --git a/include/basegfx/range/b2dpolyrange.hxx b/include/basegfx/range/b2dpolyrange.hxx index e4d68e8a0986..9a366956cea2 100644 --- a/include/basegfx/range/b2dpolyrange.hxx +++ b/include/basegfx/range/b2dpolyrange.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASEGFX_RANGE_B2DPOLYRANGE_HXX -#define INCLUDED_BASEGFX_RANGE_B2DPOLYRANGE_HXX +#pragma once #include #include @@ -91,6 +90,4 @@ namespace basegfx }; } -#endif // INCLUDED_BASEGFX_RANGE_B2DPOLYRANGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basegfx/range/b2drange.hxx b/include/basegfx/range/b2drange.hxx index 00eab63d1472..5e49321107b9 100644 --- a/include/basegfx/range/b2drange.hxx +++ b/include/basegfx/range/b2drange.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASEGFX_RANGE_B2DRANGE_HXX -#define INCLUDED_BASEGFX_RANGE_B2DRANGE_HXX +#pragma once #include #include @@ -346,6 +345,4 @@ namespace basegfx } // end of namespace basegfx -#endif // INCLUDED_BASEGFX_RANGE_B2DRANGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basegfx/range/b2ibox.hxx b/include/basegfx/range/b2ibox.hxx index 6fb26abc7d04..2be733b93e43 100644 --- a/include/basegfx/range/b2ibox.hxx +++ b/include/basegfx/range/b2ibox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASEGFX_RANGE_B2IBOX_HXX -#define INCLUDED_BASEGFX_RANGE_B2IBOX_HXX +#pragma once #include @@ -188,6 +187,4 @@ inline std::basic_ostream & operator <<( << "@(" << box.getMinX() << "," << box.getMinY() << ")"; } -#endif // INCLUDED_BASEGFX_RANGE_B2IBOX_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/basegfx/range/b2irange.hxx b/include/basegfx/range/b2irange.hxx index b6bb8e92cb9f..f24526880963 100644 --- a/include/basegfx/range/b2irange.hxx +++ b/include/basegfx/range/b2irange.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASEGFX_RANGE_B2IRANGE_HXX -#define INCLUDED_BASEGFX_RANGE_B2IRANGE_HXX +#pragma once #include #include @@ -257,6 +256,4 @@ namespace basegfx } // end of namespace basegfx -#endif // INCLUDED_BASEGFX_RANGE_B2IRANGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.hxx b/ucb/source/ucp/webdav-neon/ContentProperties.hxx index 6fbe5fe017a0..163e4dcd51cd 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.hxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.hxx @@ -26,8 +26,7 @@ * ************************************************************************/ -#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_CONTENTPROPERTIES_HXX -#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_CONTENTPROPERTIES_HXX +#pragma once #include #include @@ -181,6 +180,4 @@ public: } // namespace webdav_ucp -#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_CONTENTPROPERTIES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit