diff options
Diffstat (limited to 'basegfx/source')
21 files changed, 5 insertions, 48 deletions
diff --git a/basegfx/source/inc/hommatrixtemplate.hxx b/basegfx/source/inc/hommatrixtemplate.hxx index 5eaf65a554cc..6213d61f2e29 100644 --- a/basegfx/source/inc/hommatrixtemplate.hxx +++ b/basegfx/source/inc/hommatrixtemplate.hxx @@ -22,9 +22,11 @@ #include <sal/types.h> #include <basegfx/numeric/ftools.hxx> -#include <math.h> +#include <cmath> #include <string.h> +#include <memory> + namespace basegfx { namespace internal diff --git a/basegfx/source/inc/stringconversiontools.hxx b/basegfx/source/inc/stringconversiontools.hxx index d4600617bb4b..ed554a1efcdf 100644 --- a/basegfx/source/inc/stringconversiontools.hxx +++ b/basegfx/source/inc/stringconversiontools.hxx @@ -21,7 +21,6 @@ #include <sal/types.h> #include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> namespace basegfx { diff --git a/basegfx/source/matrix/b2dhommatrixtools.cxx b/basegfx/source/matrix/b2dhommatrixtools.cxx index c62c189142f3..2c831854761b 100644 --- a/basegfx/source/matrix/b2dhommatrixtools.cxx +++ b/basegfx/source/matrix/b2dhommatrixtools.cxx @@ -21,8 +21,6 @@ #include <basegfx/range/b2drange.hxx> #include <osl/diagnose.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> namespace basegfx { diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx index 1567d5b34ecb..ee55a0812141 100644 --- a/basegfx/source/polygon/b2dlinegeometry.cxx +++ b/basegfx/source/polygon/b2dlinegeometry.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <cstdio> #include <osl/diagnose.h> #include <basegfx/polygon/b2dlinegeometry.hxx> #include <basegfx/point/b2dpoint.hxx> diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx index f512916052a0..f734a4594382 100644 --- a/basegfx/source/polygon/b2dpolygonclipper.cxx +++ b/basegfx/source/polygon/b2dpolygonclipper.cxx @@ -20,13 +20,11 @@ #include <basegfx/polygon/b2dpolygonclipper.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/numeric/ftools.hxx> -#include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <basegfx/polygon/b2dpolygoncutandtouch.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/curve/b2dcubicbezier.hxx> #include <basegfx/utils/rectcliptools.hxx> -#include <basegfx/matrix/b2dhommatrixtools.hxx> namespace basegfx { diff --git a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx index d878a2801125..9240f1e36577 100644 --- a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx +++ b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx @@ -24,7 +24,6 @@ #include <basegfx/vector/b2dvector.hxx> #include <basegfx/range/b2drange.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> -#include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/curve/b2dcubicbezier.hxx> #include <vector> diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index fedd0ee36544..4ac68958eaa2 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -26,7 +26,6 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/range/b2drange.hxx> #include <basegfx/curve/b2dcubicbezier.hxx> -#include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <basegfx/point/b3dpoint.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> @@ -34,7 +33,6 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <numeric> -#include <limits> // #i37443# #define ANGLE_BOUND_START_VALUE (2.25) diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx index 0901eafee63b..14e2d17c6bde 100644 --- a/basegfx/source/polygon/b2dpolypolygon.cxx +++ b/basegfx/source/polygon/b2dpolypolygon.cxx @@ -20,10 +20,8 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <osl/diagnose.h> #include <basegfx/polygon/b2dpolygon.hxx> -#include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/utils/systemdependentdata.hxx> -#include <functional> #include <algorithm> class ImplB2DPolyPolygon diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx index d156506c147c..062e37da9dae 100644 --- a/basegfx/source/polygon/b2dpolypolygontools.cxx +++ b/basegfx/source/polygon/b2dpolypolygontools.cxx @@ -24,7 +24,6 @@ #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/numeric/ftools.hxx> -#include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <algorithm> #include <numeric> diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx index e5fc5ad0c21a..bfbd2ae7319c 100644 --- a/basegfx/source/polygon/b3dpolygontools.cxx +++ b/basegfx/source/polygon/b3dpolygontools.cxx @@ -24,9 +24,6 @@ #include <basegfx/numeric/ftools.hxx> #include <basegfx/range/b3drange.hxx> #include <basegfx/point/b2dpoint.hxx> -#include <basegfx/matrix/b3dhommatrix.hxx> -#include <basegfx/polygon/b2dpolygon.hxx> -#include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/tuple/b3ituple.hxx> #include <numeric> diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx index 5f7709987e57..e391fc783848 100644 --- a/basegfx/source/polygon/b3dpolypolygon.cxx +++ b/basegfx/source/polygon/b3dpolypolygon.cxx @@ -22,9 +22,7 @@ #include <basegfx/polygon/b3dpolygon.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> -#include <functional> #include <vector> -#include <algorithm> class ImplB3DPolyPolygon { diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx index c76e5d7dd134..083678726a4d 100644 --- a/basegfx/source/polygon/b3dpolypolygontools.cxx +++ b/basegfx/source/polygon/b3dpolypolygontools.cxx @@ -23,7 +23,6 @@ #include <basegfx/polygon/b3dpolypolygon.hxx> #include <basegfx/polygon/b3dpolygon.hxx> #include <basegfx/polygon/b3dpolygontools.hxx> -#include <numeric> #include <basegfx/matrix/b3dhommatrix.hxx> #include <basegfx/numeric/ftools.hxx> #include <com/sun/star/drawing/DoubleSequence.hpp> diff --git a/basegfx/source/range/b2dpolyrange.cxx b/basegfx/source/range/b2dpolyrange.cxx index aedc1800dddb..f5ead1641d15 100644 --- a/basegfx/source/range/b2dpolyrange.cxx +++ b/basegfx/source/range/b2dpolyrange.cxx @@ -21,7 +21,6 @@ #include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2drangeclipper.hxx> -#include <basegfx/tuple/b2dtuple.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> #include <algorithm> diff --git a/basegfx/source/range/b2drange.cxx b/basegfx/source/range/b2drange.cxx index 331c5431bcf3..a5f0db728eb5 100644 --- a/basegfx/source/range/b2drange.cxx +++ b/basegfx/source/range/b2drange.cxx @@ -19,7 +19,6 @@ #include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2irange.hxx> -#include <basegfx/numeric/ftools.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> namespace basegfx diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx index 1a61a1efb9c9..796551832dc3 100644 --- a/basegfx/source/range/b2drangeclipper.cxx +++ b/basegfx/source/range/b2drangeclipper.cxx @@ -17,21 +17,17 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <rtl/math.hxx> #include <osl/diagnose.h> #include <basegfx/tuple/b2dtuple.hxx> #include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2drangeclipper.hxx> -#include <basegfx/range/b2dpolyrange.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> -#include <basegfx/polygon/b2dpolygontools.hxx> -#include <basegfx/polygon/b2dpolypolygontools.hxx> +#include <basegfx/range/b2drectangle.hxx> #include <o3tl/vector_pool.hxx> #include <algorithm> -#include <deque> #include <list> #include <iterator> diff --git a/basegfx/source/range/b2xrange.cxx b/basegfx/source/range/b2xrange.cxx index 5f68e95fd5ca..3f04a95af5a9 100644 --- a/basegfx/source/range/b2xrange.cxx +++ b/basegfx/source/range/b2xrange.cxx @@ -19,7 +19,6 @@ #include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2irange.hxx> -#include <basegfx/range/b2ibox.hxx> namespace basegfx { diff --git a/basegfx/source/range/b3drange.cxx b/basegfx/source/range/b3drange.cxx index 879dbb0f9974..40e2f7ddf419 100644 --- a/basegfx/source/range/b3drange.cxx +++ b/basegfx/source/range/b3drange.cxx @@ -18,7 +18,6 @@ */ #include <basegfx/range/b3drange.hxx> -#include <basegfx/numeric/ftools.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> namespace basegfx diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx index 9459e60d03f7..1d1d34a29b99 100644 --- a/basegfx/source/tools/b2dclipstate.cxx +++ b/basegfx/source/tools/b2dclipstate.cxx @@ -21,7 +21,6 @@ #include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2dpolyrange.hxx> -#include <basegfx/range/b2drangeclipper.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> diff --git a/basegfx/source/tools/canvastools.cxx b/basegfx/source/tools/canvastools.cxx index 7073e49711ba..e91d0c636a22 100644 --- a/basegfx/source/tools/canvastools.cxx +++ b/basegfx/source/tools/canvastools.cxx @@ -24,31 +24,21 @@ #include <com/sun/star/geometry/RealBezierSegment2D.hpp> #include <com/sun/star/geometry/AffineMatrix2D.hpp> #include <com/sun/star/geometry/AffineMatrix3D.hpp> -#include <com/sun/star/geometry/Matrix2D.hpp> #include <com/sun/star/geometry/IntegerSize2D.hpp> -#include <com/sun/star/geometry/IntegerPoint2D.hpp> #include <com/sun/star/geometry/IntegerRectangle2D.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/rendering/XPolyPolygon2D.hpp> #include <com/sun/star/rendering/XGraphicDevice.hpp> -#include <com/sun/star/awt/Size.hpp> -#include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Rectangle.hpp> #include <basegfx/utils/unopolypolygon.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> -#include <basegfx/vector/b2dsize.hxx> #include <basegfx/point/b2dpoint.hxx> -#include <basegfx/range/b2drectangle.hxx> #include <basegfx/range/b3drange.hxx> -#include <basegfx/vector/b2isize.hxx> -#include <basegfx/point/b2ipoint.hxx> -#include <basegfx/range/b2irectangle.hxx> -#include <basegfx/range/b2ibox.hxx> +#include <basegfx/range/b2irange.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/utils/canvastools.hxx> -#include <limits> using namespace ::com::sun::star; diff --git a/basegfx/source/tools/numbertools.cxx b/basegfx/source/tools/numbertools.cxx index 73faf5c60e75..2fb7ca8c898d 100644 --- a/basegfx/source/tools/numbertools.cxx +++ b/basegfx/source/tools/numbertools.cxx @@ -15,8 +15,6 @@ #include <rtl/strbuf.hxx> #include <rtl/math.hxx> -#include <utility> - namespace basegfx { namespace utils { B2DPolyPolygon number2PolyPolygon(double fValue, sal_Int32 nTotalDigits, sal_Int32 nDecPlaces, bool bLitSegments) diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx index 2f65873e8577..135624b9edbe 100644 --- a/basegfx/source/tools/unopolypolygon.cxx +++ b/basegfx/source/tools/unopolypolygon.cxx @@ -17,16 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/geometry/AffineMatrix2D.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <com/sun/star/rendering/RenderState.hpp> -#include <com/sun/star/rendering/ViewState.hpp> -#include <com/sun/star/rendering/XCanvas.hpp> -#include <com/sun/star/rendering/CompositeOperation.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/range/b2drange.hxx> -#include <basegfx/range/b2drectangle.hxx> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/utils/canvastools.hxx> #include <basegfx/polygon/b2dpolygon.hxx> |