[Libreoffice-commits] core.git: include/basegfx

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Tue May 12 08:13:35 UTC 2020


 include/basegfx/color/bcolor.hxx                   |    5 +----
 include/basegfx/color/bcolormodifier.hxx           |    6 +-----
 include/basegfx/color/bcolortools.hxx              |    6 +-----
 include/basegfx/curve/b2dbeziertools.hxx           |    5 +----
 include/basegfx/curve/b2dcubicbezier.hxx           |    5 +----
 include/basegfx/matrix/b2dhommatrix.hxx            |    5 +----
 include/basegfx/matrix/b2dhommatrixtools.hxx       |    6 +-----
 include/basegfx/matrix/b3dhommatrix.hxx            |    5 +----
 include/basegfx/matrix/b3dhommatrixtools.hxx       |    5 +----
 include/basegfx/pixel/bpixel.hxx                   |    5 +----
 include/basegfx/point/b2dpoint.hxx                 |    5 +----
 include/basegfx/point/b2ipoint.hxx                 |    5 +----
 include/basegfx/point/b3dpoint.hxx                 |    5 +----
 include/basegfx/polygon/WaveLine.hxx               |    5 +----
 include/basegfx/polygon/b2dlinegeometry.hxx        |    5 +----
 include/basegfx/polygon/b2dpolygon.hxx             |    5 +----
 include/basegfx/polygon/b2dpolygonclipper.hxx      |    5 +----
 include/basegfx/polygon/b2dpolygoncutandtouch.hxx  |    6 +-----
 include/basegfx/polygon/b2dpolygontools.hxx        |    5 +----
 include/basegfx/polygon/b2dpolygontriangulator.hxx |    5 +----
 include/basegfx/polygon/b2dpolypolygon.hxx         |    5 +----
 include/basegfx/polygon/b2dpolypolygoncutter.hxx   |    6 +-----
 include/basegfx/polygon/b2dpolypolygontools.hxx    |    5 +----
 include/basegfx/polygon/b2dtrapezoid.hxx           |    6 +-----
 include/basegfx/polygon/b3dpolygon.hxx             |    6 +-----
 include/basegfx/polygon/b3dpolygontools.hxx        |    5 +----
 include/basegfx/polygon/b3dpolypolygon.hxx         |    5 +----
 include/basegfx/polygon/b3dpolypolygontools.hxx    |    5 +----
 include/basegfx/range/b2dconnectedranges.hxx       |    5 +----
 include/basegfx/range/b2drangeclipper.hxx          |    5 +----
 include/basegfx/range/b2drectangle.hxx             |    5 +----
 include/basegfx/range/b2irectangle.hxx             |    5 +----
 include/basegfx/range/b3drange.hxx                 |    6 +-----
 include/basegfx/range/basicbox.hxx                 |    5 +----
 include/basegfx/range/basicrange.hxx               |    5 +----
 include/basegfx/raster/bzpixelraster.hxx           |    5 +----
 include/basegfx/raster/rasterconvert3d.hxx         |    5 +----
 include/basegfx/tuple/b2dtuple.hxx                 |    5 +----
 include/basegfx/tuple/b2i64tuple.hxx               |    5 +----
 include/basegfx/tuple/b2ituple.hxx                 |    5 +----
 include/basegfx/tuple/b3dtuple.hxx                 |    5 +----
 include/basegfx/tuple/b3ituple.hxx                 |    5 +----
 include/basegfx/utils/b2dclipstate.hxx             |    5 +----
 include/basegfx/utils/canvastools.hxx              |    5 +----
 include/basegfx/utils/gradienttools.hxx            |    5 +----
 include/basegfx/utils/keystoplerp.hxx              |    5 +----
 include/basegfx/utils/lerp.hxx                     |    5 +----
 include/basegfx/utils/rectcliptools.hxx            |    5 +----
 include/basegfx/utils/systemdependentdata.hxx      |    5 +----
 include/basegfx/utils/tools.hxx                    |    5 +----
 include/basegfx/utils/unopolypolygon.hxx           |    5 +----
 include/basegfx/utils/zoomtools.hxx                |    5 +----
 include/basegfx/vector/b2dsize.hxx                 |    5 +----
 include/basegfx/vector/b2dvector.hxx               |    5 +----
 include/basegfx/vector/b2enums.hxx                 |    5 +----
 include/basegfx/vector/b2isize.hxx                 |    5 +----
 include/basegfx/vector/b2ivector.hxx               |    5 +----
 include/basegfx/vector/b3dvector.hxx               |    5 +----
 58 files changed, 58 insertions(+), 240 deletions(-)

New commits:
commit ba88ebb641ce28553b34bab38fe0cc50bcc96ae9
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon May 11 22:23:48 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue May 12 10:12:58 2020 +0200

    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 at gmail.com>

diff --git a/include/basegfx/color/bcolor.hxx b/include/basegfx/color/bcolor.hxx
index ef4857bba598..414a815b3d87 100644
--- a/include/basegfx/color/bcolor.hxx
+++ b/include/basegfx/color/bcolor.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_COLOR_BCOLOR_HXX
-#define INCLUDED_BASEGFX_COLOR_BCOLOR_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -184,6 +183,4 @@ namespace basegfx
     }
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_COLOR_BCOLOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx
index ea18f8ba4fc0..2c6cf25ba8de 100644
--- a/include/basegfx/color/bcolormodifier.hxx
+++ b/include/basegfx/color/bcolormodifier.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_COLOR_BCOLORMODIFIER_HXX
-#define INCLUDED_BASEGFX_COLOR_BCOLORMODIFIER_HXX
+#pragma once
 
 #include <config_options.h>
 #include <basegfx/basegfxdllapi.h>
@@ -340,7 +339,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_COLOR_BCOLORMODIFIER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/color/bcolortools.hxx b/include/basegfx/color/bcolortools.hxx
index fd0fa803c10a..4a1574da4cdf 100644
--- a/include/basegfx/color/bcolortools.hxx
+++ b/include/basegfx/color/bcolortools.hxx
@@ -17,12 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_COLOR_BCOLORTOOLS_HXX
-#define INCLUDED_BASEGFX_COLOR_BCOLORTOOLS_HXX
+#pragma once
 
 #include <basegfx/basegfxdllapi.h>
 
-
 namespace basegfx
 {
     class BColor;
@@ -41,6 +39,4 @@ namespace basegfx
     }
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_COLOR_BCOLORTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/curve/b2dbeziertools.hxx b/include/basegfx/curve/b2dbeziertools.hxx
index e0630484221f..b9c91fac0a7f 100644
--- a/include/basegfx/curve/b2dbeziertools.hxx
+++ b/include/basegfx/curve/b2dbeziertools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_CURVE_B2DBEZIERTOOLS_HXX
-#define INCLUDED_BASEGFX_CURVE_B2DBEZIERTOOLS_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <vector>
@@ -50,6 +49,4 @@ namespace basegfx
 } // end of namespace basegfx
 
 
-#endif // INCLUDED_BASEGFX_CURVE_B2DBEZIERTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/curve/b2dcubicbezier.hxx b/include/basegfx/curve/b2dcubicbezier.hxx
index b8254b4b9a2e..0199731475d2 100644
--- a/include/basegfx/curve/b2dcubicbezier.hxx
+++ b/include/basegfx/curve/b2dcubicbezier.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_CURVE_B2DCUBICBEZIER_HXX
-#define INCLUDED_BASEGFX_CURVE_B2DCUBICBEZIER_HXX
+#pragma once
 
 #include <basegfx/point/b2dpoint.hxx>
 #include <basegfx/range/b2drange.hxx>
@@ -197,6 +196,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_CURVE_B2DCUBICBEZIER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/matrix/b2dhommatrix.hxx b/include/basegfx/matrix/b2dhommatrix.hxx
index 0015b2a78fce..60b32fb09f00 100644
--- a/include/basegfx/matrix/b2dhommatrix.hxx
+++ b/include/basegfx/matrix/b2dhommatrix.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIX_HXX
-#define INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIX_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -151,6 +150,4 @@ namespace basegfx
     }
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIX_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/matrix/b2dhommatrixtools.hxx b/include/basegfx/matrix/b2dhommatrixtools.hxx
index db7c6af24139..471d99c14197 100644
--- a/include/basegfx/matrix/b2dhommatrixtools.hxx
+++ b/include/basegfx/matrix/b2dhommatrixtools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIXTOOLS_HXX
-#define INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIXTOOLS_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/matrix/b2dhommatrix.hxx>
@@ -237,7 +236,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_MATRIX_B2DHOMMATRIXTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/matrix/b3dhommatrix.hxx b/include/basegfx/matrix/b3dhommatrix.hxx
index 6d5d5c486b9b..29603f88ebdb 100644
--- a/include/basegfx/matrix/b3dhommatrix.hxx
+++ b/include/basegfx/matrix/b3dhommatrix.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIX_HXX
-#define INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIX_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/point/b3dpoint.hxx>
@@ -125,6 +124,4 @@ namespace basegfx
     }
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIX_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/matrix/b3dhommatrixtools.hxx b/include/basegfx/matrix/b3dhommatrixtools.hxx
index 1ea0d80c14e5..32a64d2ed037 100644
--- a/include/basegfx/matrix/b3dhommatrixtools.hxx
+++ b/include/basegfx/matrix/b3dhommatrixtools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIXTOOLS_HXX
-#define INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIXTOOLS_HXX
+#pragma once
 
 #include <basegfx/basegfxdllapi.h>
 #include <basegfx/matrix/b3dhommatrix.hxx>
@@ -54,6 +53,4 @@ B3DHomMatrixToUnoHomogenMatrix(const B3DHomMatrix& rMatrixIn,
 } // end of namespace tools
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIXTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/pixel/bpixel.hxx b/include/basegfx/pixel/bpixel.hxx
index 95400b966021..ee42f29c6318 100644
--- a/include/basegfx/pixel/bpixel.hxx
+++ b/include/basegfx/pixel/bpixel.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_PIXEL_BPIXEL_HXX
-#define INCLUDED_BASEGFX_PIXEL_BPIXEL_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/color/bcolor.hxx>
@@ -96,6 +95,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_PIXEL_BPIXEL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/point/b2dpoint.hxx b/include/basegfx/point/b2dpoint.hxx
index 0f1613252091..413aa00e40b5 100644
--- a/include/basegfx/point/b2dpoint.hxx
+++ b/include/basegfx/point/b2dpoint.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POINT_B2DPOINT_HXX
-#define INCLUDED_BASEGFX_POINT_B2DPOINT_HXX
+#pragma once
 
 #include <ostream>
 
@@ -133,6 +132,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POINT_B2DPOINT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/point/b2ipoint.hxx b/include/basegfx/point/b2ipoint.hxx
index a41c8d1b4321..171fcbc9c8be 100644
--- a/include/basegfx/point/b2ipoint.hxx
+++ b/include/basegfx/point/b2ipoint.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POINT_B2IPOINT_HXX
-#define INCLUDED_BASEGFX_POINT_B2IPOINT_HXX
+#pragma once
 
 #include <basegfx/tuple/b2ituple.hxx>
 #include <basegfx/basegfxdllapi.h>
@@ -99,6 +98,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POINT_B2IPOINT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/point/b3dpoint.hxx b/include/basegfx/point/b3dpoint.hxx
index c044e6bb6ec7..2cb8acf9be50 100644
--- a/include/basegfx/point/b3dpoint.hxx
+++ b/include/basegfx/point/b3dpoint.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POINT_B3DPOINT_HXX
-#define INCLUDED_BASEGFX_POINT_B3DPOINT_HXX
+#pragma once
 
 #include <basegfx/tuple/b3dtuple.hxx>
 #include <basegfx/basegfxdllapi.h>
@@ -122,6 +121,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POINT_B3DPOINT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/WaveLine.hxx b/include/basegfx/polygon/WaveLine.hxx
index 9d703165b212..b839c7519808 100644
--- a/include/basegfx/polygon/WaveLine.hxx
+++ b/include/basegfx/polygon/WaveLine.hxx
@@ -8,8 +8,7 @@
  *
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_WAVELINE_HXX
-#define INCLUDED_BASEGFX_POLYGON_WAVELINE_HXX
+#pragma once
 
 #include <basegfx/basegfxdllapi.h>
 #include <basegfx/polygon/b2dpolygon.hxx>
@@ -36,6 +35,4 @@ BASEGFX_DLLPUBLIC B2DPolygon createWaveLinePolygon(basegfx::B2DRectangle const&
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_WAVELINE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx
index 6a98d6189394..7a77140c8f89 100644
--- a/include/basegfx/polygon/b2dlinegeometry.hxx
+++ b/include/basegfx/polygon/b2dlinegeometry.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
+#pragma once
 
 #include <basegfx/numeric/ftools.hxx>
 #include <basegfx/polygon/b2dpolypolygon.hxx>
@@ -148,6 +147,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx
index 72be3525fc0f..997a669bcba3 100644
--- a/include/basegfx/polygon/b2dpolygon.hxx
+++ b/include/basegfx/polygon/b2dpolygon.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGON_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGON_HXX
+#pragma once
 
 #include <ostream>
 #include <vector>
@@ -276,6 +275,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGON_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolygonclipper.hxx b/include/basegfx/polygon/b2dpolygonclipper.hxx
index 472cbf387b98..1c10901fe929 100644
--- a/include/basegfx/polygon/b2dpolygonclipper.hxx
+++ b/include/basegfx/polygon/b2dpolygonclipper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCLIPPER_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCLIPPER_HXX
+#pragma once
 
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 #include <basegfx/polygon/b2dpolygon.hxx>
@@ -64,6 +63,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCLIPPER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
index 536f11a693b0..357bf5bc97d2 100644
--- a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
+++ b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCUTANDTOUCH_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCUTANDTOUCH_HXX
+#pragma once
 
 #include <basegfx/polygon/b2dpolygon.hxx>
 #include <basegfx/polygon/b2dpolypolygon.hxx>
@@ -49,7 +48,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCUTANDTOUCH_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx
index e1eb4c044dbb..a36c3c208927 100644
--- a/include/basegfx/polygon/b2dpolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolygontools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTOOLS_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTOOLS_HXX
+#pragma once
 
 #include <vector>
 #include <functional>
@@ -528,6 +527,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolygontriangulator.hxx b/include/basegfx/polygon/b2dpolygontriangulator.hxx
index 40bd8117e423..bbc01239b994 100644
--- a/include/basegfx/polygon/b2dpolygontriangulator.hxx
+++ b/include/basegfx/polygon/b2dpolygontriangulator.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTRIANGULATOR_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTRIANGULATOR_HXX
+#pragma once
 
 #include <basegfx/polygon/b2dpolygon.hxx>
 #include <basegfx/point/b2dpoint.hxx>
@@ -72,6 +71,4 @@ namespace basegfx
     } // end of namespace triangulator
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTRIANGULATOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx
index d1af340048fd..010815c8784e 100644
--- a/include/basegfx/polygon/b2dpolypolygon.hxx
+++ b/include/basegfx/polygon/b2dpolypolygon.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGON_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGON_HXX
+#pragma once
 
 #include <ostream>
 #include <vector>
@@ -175,6 +174,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGON_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolypolygoncutter.hxx b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
index 1b3a5be26104..f09d3ca6e815 100644
--- a/include/basegfx/polygon/b2dpolypolygoncutter.hxx
+++ b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONCUTTER_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONCUTTER_HXX
+#pragma once
 
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 #include <basegfx/basegfxdllapi.h>
@@ -144,7 +143,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONCUTTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index 3bf21ada8c59..4947d4be9233 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX
+#pragma once
 
 #include <basegfx/point/b2dpoint.hxx>
 #include <basegfx/polygon/b3dpolypolygon.hxx>
@@ -297,6 +296,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b2dtrapezoid.hxx b/include/basegfx/polygon/b2dtrapezoid.hxx
index 82bee12e37bf..5bcc614d149c 100644
--- a/include/basegfx/polygon/b2dtrapezoid.hxx
+++ b/include/basegfx/polygon/b2dtrapezoid.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B2DTRAPEZOID_HXX
-#define INCLUDED_BASEGFX_POLYGON_B2DTRAPEZOID_HXX
+#pragma once
 
 #include <config_options.h>
 #include <basegfx/polygon/b2dpolygon.hxx>
@@ -110,7 +109,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_POLYGON_B2DTRAPEZOID_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b3dpolygon.hxx b/include/basegfx/polygon/b3dpolygon.hxx
index 2851e8f47d4a..ea9ea2fdedcf 100644
--- a/include/basegfx/polygon/b3dpolygon.hxx
+++ b/include/basegfx/polygon/b3dpolygon.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B3DPOLYGON_HXX
-#define INCLUDED_BASEGFX_POLYGON_B3DPOLYGON_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <o3tl/cow_wrapper.hxx>
@@ -119,7 +118,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-
-#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYGON_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b3dpolygontools.hxx b/include/basegfx/polygon/b3dpolygontools.hxx
index 80383c29625e..7582b188711b 100644
--- a/include/basegfx/polygon/b3dpolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolygontools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B3DPOLYGONTOOLS_HXX
-#define INCLUDED_BASEGFX_POLYGON_B3DPOLYGONTOOLS_HXX
+#pragma once
 
 #include <vector>
 #include <functional>
@@ -130,6 +129,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYGONTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b3dpolypolygon.hxx b/include/basegfx/polygon/b3dpolypolygon.hxx
index ce659148c72a..14a062c08cd6 100644
--- a/include/basegfx/polygon/b3dpolypolygon.hxx
+++ b/include/basegfx/polygon/b3dpolypolygon.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGON_HXX
-#define INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGON_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <o3tl/cow_wrapper.hxx>
@@ -111,6 +110,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGON_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/polygon/b3dpolypolygontools.hxx b/include/basegfx/polygon/b3dpolypolygontools.hxx
index 3111c9df50a0..77bcf0fb955c 100644
--- a/include/basegfx/polygon/b3dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolypolygontools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX
-#define INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX
+#pragma once
 
 #include <basegfx/numeric/ftools.hxx>
 #include <basegfx/point/b3dpoint.hxx>
@@ -133,6 +132,4 @@ namespace basegfx
     } // end of namespace utils
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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: */
diff --git a/include/basegfx/raster/bzpixelraster.hxx b/include/basegfx/raster/bzpixelraster.hxx
index fc6511c2160a..d1b166fb0361 100644
--- a/include/basegfx/raster/bzpixelraster.hxx
+++ b/include/basegfx/raster/bzpixelraster.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
-#define INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
+#pragma once
 
 #include <basegfx/pixel/bpixel.hxx>
 #include <sal/types.h>
@@ -88,6 +87,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/raster/rasterconvert3d.hxx b/include/basegfx/raster/rasterconvert3d.hxx
index acffe04471cb..9179f175d696 100644
--- a/include/basegfx/raster/rasterconvert3d.hxx
+++ b/include/basegfx/raster/rasterconvert3d.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_RASTER_RASTERCONVERT3D_HXX
-#define INCLUDED_BASEGFX_RASTER_RASTERCONVERT3D_HXX
+#pragma once
 
 #include <config_options.h>
 #include <sal/types.h>
@@ -442,6 +441,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_RASTER_RASTERCONVERT3D_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/tuple/b2dtuple.hxx b/include/basegfx/tuple/b2dtuple.hxx
index efe44f5863f3..0c7b7f463261 100644
--- a/include/basegfx/tuple/b2dtuple.hxx
+++ b/include/basegfx/tuple/b2dtuple.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_TUPLE_B2DTUPLE_HXX
-#define INCLUDED_BASEGFX_TUPLE_B2DTUPLE_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/numeric/ftools.hxx>
@@ -289,6 +288,4 @@ namespace basegfx
     BASEGFX_DLLPUBLIC B2ITuple fround(const B2DTuple& rTup);
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_TUPLE_B2DTUPLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/tuple/b2i64tuple.hxx b/include/basegfx/tuple/b2i64tuple.hxx
index ee86ef34ba1f..5f2350b66ac1 100644
--- a/include/basegfx/tuple/b2i64tuple.hxx
+++ b/include/basegfx/tuple/b2i64tuple.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_TUPLE_B2I64TUPLE_HXX
-#define INCLUDED_BASEGFX_TUPLE_B2I64TUPLE_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/basegfxdllapi.h>
@@ -174,6 +173,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_TUPLE_B2I64TUPLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/tuple/b2ituple.hxx b/include/basegfx/tuple/b2ituple.hxx
index a47a8be8f275..b8f6c3e96386 100644
--- a/include/basegfx/tuple/b2ituple.hxx
+++ b/include/basegfx/tuple/b2ituple.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_TUPLE_B2ITUPLE_HXX
-#define INCLUDED_BASEGFX_TUPLE_B2ITUPLE_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/basegfxdllapi.h>
@@ -198,6 +197,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_TUPLE_B2ITUPLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/tuple/b3dtuple.hxx b/include/basegfx/tuple/b3dtuple.hxx
index 08f46c0cdbfb..791cc5f3e667 100644
--- a/include/basegfx/tuple/b3dtuple.hxx
+++ b/include/basegfx/tuple/b3dtuple.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_TUPLE_B3DTUPLE_HXX
-#define INCLUDED_BASEGFX_TUPLE_B3DTUPLE_HXX
+#pragma once
 
 #include <config_options.h>
 #include <sal/types.h>
@@ -333,6 +332,4 @@ namespace basegfx
     BASEGFX_DLLPUBLIC B3ITuple fround(const B3DTuple& rTup);
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_TUPLE_B3DTUPLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/tuple/b3ituple.hxx b/include/basegfx/tuple/b3ituple.hxx
index 877e33f9a34e..7fe49ea92e93 100644
--- a/include/basegfx/tuple/b3ituple.hxx
+++ b/include/basegfx/tuple/b3ituple.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_TUPLE_B3ITUPLE_HXX
-#define INCLUDED_BASEGFX_TUPLE_B3ITUPLE_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/basegfxdllapi.h>
@@ -170,6 +169,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_TUPLE_B3ITUPLE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/b2dclipstate.hxx b/include/basegfx/utils/b2dclipstate.hxx
index 66fe72d9506c..b145dac33fc7 100644
--- a/include/basegfx/utils/b2dclipstate.hxx
+++ b/include/basegfx/utils/b2dclipstate.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_B2DCLIPSTATE_HXX
-#define INCLUDED_BASEGFX_UTILS_B2DCLIPSTATE_HXX
+#pragma once
 
 #include <o3tl/cow_wrapper.hxx>
 #include <basegfx/basegfxdllapi.h>
@@ -90,6 +89,4 @@ namespace basegfx
     }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_B2DCLIPSTATE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/canvastools.hxx b/include/basegfx/utils/canvastools.hxx
index 794074da0fdb..ecf5a594f588 100644
--- a/include/basegfx/utils/canvastools.hxx
+++ b/include/basegfx/utils/canvastools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_CANVASTOOLS_HXX
-#define INCLUDED_BASEGFX_UTILS_CANVASTOOLS_HXX
+#pragma once
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
@@ -164,6 +163,4 @@ namespace basegfx
     }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_CANVASTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/gradienttools.hxx b/include/basegfx/utils/gradienttools.hxx
index 97101adf2201..331e2998b32f 100644
--- a/include/basegfx/utils/gradienttools.hxx
+++ b/include/basegfx/utils/gradienttools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_GRADIENTTOOLS_HXX
-#define INCLUDED_BASEGFX_UTILS_GRADIENTTOOLS_HXX
+#pragma once
 
 #include <config_options.h>
 #include <basegfx/point/b2dpoint.hxx>
@@ -399,6 +398,4 @@ namespace basegfx
     }
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/keystoplerp.hxx b/include/basegfx/utils/keystoplerp.hxx
index b35c46e638f1..a68336f71ba1 100644
--- a/include/basegfx/utils/keystoplerp.hxx
+++ b/include/basegfx/utils/keystoplerp.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_KEYSTOPLERP_HXX
-#define INCLUDED_BASEGFX_UTILS_KEYSTOPLERP_HXX
+#pragma once
 
 #include <vector>
 #include <basegfx/basegfxdllapi.h>
@@ -86,6 +85,4 @@ namespace basegfx
     }
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/lerp.hxx b/include/basegfx/utils/lerp.hxx
index 3e1c272128f1..409b26c92d4a 100644
--- a/include/basegfx/utils/lerp.hxx
+++ b/include/basegfx/utils/lerp.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_LERP_HXX
-#define INCLUDED_BASEGFX_UTILS_LERP_HXX
+#pragma once
 
 namespace basegfx
 {
@@ -44,6 +43,4 @@ namespace basegfx
     }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_LERP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/rectcliptools.hxx b/include/basegfx/utils/rectcliptools.hxx
index f3e4b6b19a62..a187645f541d 100644
--- a/include/basegfx/utils/rectcliptools.hxx
+++ b/include/basegfx/utils/rectcliptools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_RECTCLIPTOOLS_HXX
-#define INCLUDED_BASEGFX_UTILS_RECTCLIPTOOLS_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/range/b2ibox.hxx>
@@ -74,6 +73,4 @@ namespace basegfx
     }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_RECTCLIPTOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/systemdependentdata.hxx b/include/basegfx/utils/systemdependentdata.hxx
index 7baff4c7b01b..62562b488e1b 100644
--- a/include/basegfx/utils/systemdependentdata.hxx
+++ b/include/basegfx/utils/systemdependentdata.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_BASEGFX_SYSTEMDEPENDENTDATA_HXX
-#define INCLUDED_BASEGFX_SYSTEMDEPENDENTDATA_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/basegfxdllapi.h>
@@ -144,6 +143,4 @@ namespace basegfx
     };
 } // end of namespace basegfx
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/tools.hxx b/include/basegfx/utils/tools.hxx
index b243d0167c81..7992777f4686 100644
--- a/include/basegfx/utils/tools.hxx
+++ b/include/basegfx/utils/tools.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_TOOLS_HXX
-#define INCLUDED_BASEGFX_UTILS_TOOLS_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <basegfx/basegfxdllapi.h>
@@ -122,6 +121,4 @@ namespace basegfx
     }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_TOOLS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/unopolypolygon.hxx b/include/basegfx/utils/unopolypolygon.hxx
index afe0fe9efeb8..f6b17328405a 100644
--- a/include/basegfx/utils/unopolypolygon.hxx
+++ b/include/basegfx/utils/unopolypolygon.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_UNOPOLYPOLYGON_HXX
-#define INCLUDED_BASEGFX_UTILS_UNOPOLYPOLYGON_HXX
+#pragma once
 
 #include <cppuhelper/basemutex.hxx>
 #include <cppuhelper/compbase.hxx>
@@ -106,6 +105,4 @@ namespace unotools
 }
 }
 
-#endif // INCLUDED_BASEGFX_UTILS_UNOPOLYPOLYGON_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/utils/zoomtools.hxx b/include/basegfx/utils/zoomtools.hxx
index b8a72551589a..5543c8660b22 100644
--- a/include/basegfx/utils/zoomtools.hxx
+++ b/include/basegfx/utils/zoomtools.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_BASEGFX_UTILS_ZOOMTOOLS_HXX
-#define INCLUDED_BASEGFX_UTILS_ZOOMTOOLS_HXX
+#pragma once
 
 #include <basegfx/basegfxdllapi.h>
 
@@ -24,6 +23,4 @@ namespace basegfx
     }
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b2dsize.hxx b/include/basegfx/vector/b2dsize.hxx
index 95baf41fe2fb..6ae6de5e8045 100644
--- a/include/basegfx/vector/b2dsize.hxx
+++ b/include/basegfx/vector/b2dsize.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B2DSIZE_HXX
-#define INCLUDED_BASEGFX_VECTOR_B2DSIZE_HXX
+#pragma once
 
 #include <basegfx/vector/b2dvector.hxx>
 
@@ -31,6 +30,4 @@ namespace basegfx
     typedef B2DVector B2DSize;
 }
 
-#endif // INCLUDED_BASEGFX_VECTOR_B2DSIZE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b2dvector.hxx b/include/basegfx/vector/b2dvector.hxx
index d091ec2cda27..cfb1e58d1c80 100644
--- a/include/basegfx/vector/b2dvector.hxx
+++ b/include/basegfx/vector/b2dvector.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B2DVECTOR_HXX
-#define INCLUDED_BASEGFX_VECTOR_B2DVECTOR_HXX
+#pragma once
 
 #include <basegfx/tuple/b2dtuple.hxx>
 #include <basegfx/vector/b2ivector.hxx>
@@ -236,6 +235,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_VECTOR_B2DVECTOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b2enums.hxx b/include/basegfx/vector/b2enums.hxx
index 3793e6844b84..803902370195 100644
--- a/include/basegfx/vector/b2enums.hxx
+++ b/include/basegfx/vector/b2enums.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B2ENUMS_HXX
-#define INCLUDED_BASEGFX_VECTOR_B2ENUMS_HXX
+#pragma once
 
 namespace basegfx
 {
@@ -63,6 +62,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_VECTOR_B2ENUMS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b2isize.hxx b/include/basegfx/vector/b2isize.hxx
index 530bc28a6f88..5d299f4fd8e5 100644
--- a/include/basegfx/vector/b2isize.hxx
+++ b/include/basegfx/vector/b2isize.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B2ISIZE_HXX
-#define INCLUDED_BASEGFX_VECTOR_B2ISIZE_HXX
+#pragma once
 
 #include <basegfx/vector/b2ivector.hxx>
 
@@ -31,6 +30,4 @@ namespace basegfx
     typedef B2IVector B2ISize;
 }
 
-#endif // INCLUDED_BASEGFX_VECTOR_B2ISIZE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b2ivector.hxx b/include/basegfx/vector/b2ivector.hxx
index df7c651ef57a..fbb1c642292e 100644
--- a/include/basegfx/vector/b2ivector.hxx
+++ b/include/basegfx/vector/b2ivector.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B2IVECTOR_HXX
-#define INCLUDED_BASEGFX_VECTOR_B2IVECTOR_HXX
+#pragma once
 
 #include <ostream>
 
@@ -128,6 +127,4 @@ namespace basegfx
 
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_VECTOR_B2IVECTOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/basegfx/vector/b3dvector.hxx b/include/basegfx/vector/b3dvector.hxx
index e368f8849091..1f38d5dd7f7e 100644
--- a/include/basegfx/vector/b3dvector.hxx
+++ b/include/basegfx/vector/b3dvector.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASEGFX_VECTOR_B3DVECTOR_HXX
-#define INCLUDED_BASEGFX_VECTOR_B3DVECTOR_HXX
+#pragma once
 
 #include <basegfx/tuple/b3dtuple.hxx>
 #include <basegfx/basegfxdllapi.h>
@@ -257,6 +256,4 @@ namespace basegfx
     }
 } // end of namespace basegfx
 
-#endif // INCLUDED_BASEGFX_VECTOR_B3DVECTOR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list