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 /include | |
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>
Diffstat (limited to 'include')
-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 |
4 files changed, 4 insertions, 16 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: */ |