summaryrefslogtreecommitdiff
path: root/include/basegfx/range
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-05-11 22:23:48 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-05-12 10:12:58 +0200
commitba88ebb641ce28553b34bab38fe0cc50bcc96ae9 (patch)
treeea9ca0c76b9578c1df881402a5f83f6bc972993d /include/basegfx/range
parent41a17aa0499155c5478a921265681bd923829cbb (diff)
use pragma once in include/basegfx headers
Change-Id: Ief442ff36927b9b14d76d72b25a6cec3d481fb2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94033 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/basegfx/range')
-rw-r--r--include/basegfx/range/b2dconnectedranges.hxx5
-rw-r--r--include/basegfx/range/b2drangeclipper.hxx5
-rw-r--r--include/basegfx/range/b2drectangle.hxx5
-rw-r--r--include/basegfx/range/b2irectangle.hxx5
-rw-r--r--include/basegfx/range/b3drange.hxx6
-rw-r--r--include/basegfx/range/basicbox.hxx5
-rw-r--r--include/basegfx/range/basicrange.hxx5
7 files changed, 7 insertions, 29 deletions
diff --git a/include/basegfx/range/b2dconnectedranges.hxx b/include/basegfx/range/b2dconnectedranges.hxx
index 01008bc55ab8..0d7a81481fdd 100644
--- a/include/basegfx/range/b2dconnectedranges.hxx
+++ b/include/basegfx/range/b2dconnectedranges.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_B2DCONNECTEDRANGES_HXX
-#define INCLUDED_BASEGFX_RANGE_B2DCONNECTEDRANGES_HXX
+#pragma once
#include <osl/diagnose.h>
#include <basegfx/range/b2drange.hxx>
@@ -238,6 +237,4 @@ namespace basegfx
};
}
-#endif // INCLUDED_BASEGFX_RANGE_B2DCONNECTEDRANGES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/b2drangeclipper.hxx b/include/basegfx/range/b2drangeclipper.hxx
index 3e37df1170f1..63e8f05c2fc9 100644
--- a/include/basegfx/range/b2drangeclipper.hxx
+++ b/include/basegfx/range/b2drangeclipper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_B2DRANGECLIPPER_HXX
-#define INCLUDED_BASEGFX_RANGE_B2DRANGECLIPPER_HXX
+#pragma once
#include <basegfx/range/b2dpolyrange.hxx>
#include <vector>
@@ -40,6 +39,4 @@ namespace basegfx
}
}
-#endif // INCLUDED_BASEGFX_RANGE_B2DRANGECLIPPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/b2drectangle.hxx b/include/basegfx/range/b2drectangle.hxx
index 603660206cf4..9c1ad86c0f9e 100644
--- a/include/basegfx/range/b2drectangle.hxx
+++ b/include/basegfx/range/b2drectangle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_B2DRECTANGLE_HXX
-#define INCLUDED_BASEGFX_RANGE_B2DRECTANGLE_HXX
+#pragma once
#include <basegfx/range/b2drange.hxx>
@@ -31,6 +30,4 @@ namespace basegfx
typedef B2DRange B2DRectangle;
}
-#endif // INCLUDED_BASEGFX_RANGE_B2DRECTANGLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/b2irectangle.hxx b/include/basegfx/range/b2irectangle.hxx
index 022a1c0fe730..2c6a932a2ede 100644
--- a/include/basegfx/range/b2irectangle.hxx
+++ b/include/basegfx/range/b2irectangle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_B2IRECTANGLE_HXX
-#define INCLUDED_BASEGFX_RANGE_B2IRECTANGLE_HXX
+#pragma once
#include <basegfx/range/b2irange.hxx>
@@ -31,6 +30,4 @@ namespace basegfx
typedef B2IRange B2IRectangle;
}
-#endif // INCLUDED_BASEGFX_RANGE_B2IRECTANGLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/b3drange.hxx b/include/basegfx/range/b3drange.hxx
index e1c44393813a..338c4f54a029 100644
--- a/include/basegfx/range/b3drange.hxx
+++ b/include/basegfx/range/b3drange.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_B3DRANGE_HXX
-#define INCLUDED_BASEGFX_RANGE_B3DRANGE_HXX
+#pragma once
#include <basegfx/vector/b3dvector.hxx>
#include <basegfx/point/b3dpoint.hxx>
@@ -225,7 +224,4 @@ namespace basegfx
} // end of namespace basegfx
-
-#endif // INCLUDED_BASEGFX_RANGE_B3DRANGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/basicbox.hxx b/include/basegfx/range/basicbox.hxx
index 2453f7e08462..123d2b1b3e0b 100644
--- a/include/basegfx/range/basicbox.hxx
+++ b/include/basegfx/range/basicbox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_BASICBOX_HXX
-#define INCLUDED_BASEGFX_RANGE_BASICBOX_HXX
+#pragma once
#include <basegfx/range/basicrange.hxx>
@@ -66,6 +65,4 @@ namespace basegfx
} // end of namespace basegfx
-#endif // INCLUDED_BASEGFX_RANGE_BASICBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/range/basicrange.hxx b/include/basegfx/range/basicrange.hxx
index 046dfafdd03f..429f31957bcc 100644
--- a/include/basegfx/range/basicrange.hxx
+++ b/include/basegfx/range/basicrange.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASEGFX_RANGE_BASICRANGE_HXX
-#define INCLUDED_BASEGFX_RANGE_BASICRANGE_HXX
+#pragma once
#include <sal/types.h>
#include <float.h>
@@ -304,6 +303,4 @@ namespace basegfx
} // end of namespace basegfx
-#endif // INCLUDED_BASEGFX_RANGE_BASICRANGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */