diff options
author | bugrakurt <bugrakurt26@gmail.com> | 2020-01-30 16:08:46 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-01-30 16:53:03 +0100 |
commit | 1a07ce2112e3b4dc117d8cafe85d2c19957755d2 (patch) | |
tree | 7b95b771335ccd2bd64e337d2b3b0e9740df2e48 | |
parent | facc94bb0aef58353d54e14f948790643ccbec32 (diff) |
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 <muhammet.kara@collabora.com>
-rw-r--r-- | include/basegfx/range/b2dpolyrange.hxx | 5 | ||||
-rw-r--r-- | include/basegfx/range/b2drange.hxx | 5 | ||||
-rw-r--r-- | include/basegfx/range/b2ibox.hxx | 5 | ||||
-rw-r--r-- | include/basegfx/range/b2irange.hxx | 5 | ||||
-rw-r--r-- | 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 <o3tl/cow_wrapper.hxx> #include <tuple> @@ -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 <ostream> #include <vector> @@ -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 <ostream> @@ -188,6 +187,4 @@ inline std::basic_ostream<charT, traits> & 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 <ostream> #include <vector> @@ -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 <config_lgpl.h> #include <memory> @@ -181,6 +180,4 @@ public: } // namespace webdav_ucp -#endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_CONTENTPROPERTIES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |