summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-09-11 10:06:55 +0200
committerGabor Kelemen <kelemeng@ubuntu.com>2023-09-21 08:53:31 +0200
commit7ac978c4d18c1a91fdc784eb3e5ea381a783efdb (patch)
treed84f124c607b94f10ed1090eeaa5903b578d965d /include
parenta64d90da6976e6f04c68a5ea470c3dad2b8eb5a1 (diff)
tdf#146619 Recheck include/basegfx with IWYU
Change-Id: I08dad6ceeaa9e5470491c09f06d819c4c27ec5f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156983 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'include')
-rw-r--r--include/IwyuFilter_include.yaml42
-rw-r--r--include/basegfx/matrix/b2dhommatrix.hxx1
-rw-r--r--include/basegfx/matrix/hommatrixtemplate.hxx3
-rw-r--r--include/basegfx/point/b2dpoint.hxx2
-rw-r--r--include/basegfx/polygon/b2dlinegeometry.hxx1
-rw-r--r--include/basegfx/range/Range2D.hxx1
-rw-r--r--include/basegfx/range/b2dconnectedranges.hxx1
-rw-r--r--include/basegfx/range/b2drange.hxx1
-rw-r--r--include/basegfx/range/b2irange.hxx1
-rw-r--r--include/basegfx/utils/bgradient.hxx15
-rw-r--r--include/basegfx/utils/gradienttools.hxx4
-rw-r--r--include/basegfx/vector/b2dsize.hxx1
-rw-r--r--include/basegfx/vector/b2isize.hxx1
-rw-r--r--include/drawinglayer/primitive2d/shadowprimitive2d.hxx1
14 files changed, 2 insertions, 73 deletions
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index 45d1400e10b1..acf7d21552b0 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -320,11 +320,6 @@ excludelist:
include/vcl/mtfxmldump.hxx:
# Full definition needed for o3tl::enumarray
- vcl/metaactiontypes.hxx
- include/vcl/outdevstate.hxx:
- # Full definition needed for boost::optional
- - vcl/mapmod.hxx
- - tools/color.hxx
- - tools/gen.hxx
include/vcl/transfer.hxx:
# base class has to be a complete type
- com/sun/star/datatransfer/XTransferable2.hpp
@@ -394,11 +389,6 @@ excludelist:
# Needed for macros
- comphelper/servicehelper.hxx
- comphelper/diagnose_ex.hxx
- include/xmloff/attrlist.hxx:
- # base class has to be a complete type
- - com/sun/star/lang/XUnoTunnel.hpp
- - com/sun/star/util/XCloneable.hpp
- - com/sun/star/xml/sax/XAttributeList.hpp
include/xmloff/unointerfacetouniqueidentifiermapper.hxx:
# base class has to be a complete type
- com/sun/star/uno/XInterface.hpp
@@ -557,35 +547,11 @@ excludelist:
- com/sun/star/sdbcx/XDrop.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- include/connectivity/sdbcx/VCatalog.hxx:
- # base class has to be a complete type
- - com/sun/star/sdbcx/XTablesSupplier.hpp
- - com/sun/star/sdbcx/XViewsSupplier.hpp
- - com/sun/star/sdbcx/XUsersSupplier.hpp
- - com/sun/star/sdbcx/XGroupsSupplier.hpp
- - com/sun/star/lang/XServiceInfo.hpp
include/connectivity/sdbcx/VColumn.hxx:
# base class has to be a complete type
- com/sun/star/container/XNamed.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/sdbcx/XDataDescriptorFactory.hpp
- include/connectivity/sdbcx/VGroup.hxx:
- # base class has to be a complete type
- - com/sun/star/container/XNamed.hpp
- - com/sun/star/lang/XServiceInfo.hpp
- - com/sun/star/sdbcx/XAuthorizable.hpp
- - com/sun/star/sdbcx/XUsersSupplier.hpp
- include/connectivity/sdbcx/VIndex.hxx:
- # base class has to be a complete type
- - com/sun/star/sdbcx/XDataDescriptorFactory.hpp
- include/connectivity/sdbcx/VKey.hxx:
- # base class has to be a complete type
- - com/sun/star/sdbcx/XDataDescriptorFactory.hpp
- include/connectivity/sdbcx/VTypeDef.hxx:
- # base class has to be a complete type
- - com/sun/star/container/XNamed.hpp
- - com/sun/star/lang/XServiceInfo.hpp
- - com/sun/star/sdbcx/XColumnsSupplier.hpp
include/connectivity/sdbcx/VTable.hxx:
# base class has to be a complete type
- com/sun/star/container/XNamed.hpp
@@ -596,11 +562,6 @@ excludelist:
- com/sun/star/sdbcx/XIndexesSupplier.hpp
- com/sun/star/sdbcx/XKeysSupplier.hpp
- com/sun/star/sdbcx/XRename.hpp
- include/connectivity/sdbcx/VUser.hxx:
- # base class has to be a complete type
- - com/sun/star/container/XNamed.hpp
- - com/sun/star/sdbcx/XGroupsSupplier.hpp
- - com/sun/star/sdbcx/XUser.hpp
include/connectivity/sdbcx/VView.hxx:
# base class has to be a complete type
- com/sun/star/container/XNamed.hpp
@@ -711,9 +672,6 @@ excludelist:
include/sfx2/sidebar/Theme.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- include/sfx2/sidebar/UnoSidebar.hxx:
- # base class has to be a complete type
- - com/sun/star/ui/XSidebarProvider.hpp
include/sfx2/viewsh.hxx:
# Needed for macro
- class SfxViewFactory
diff --git a/include/basegfx/matrix/b2dhommatrix.hxx b/include/basegfx/matrix/b2dhommatrix.hxx
index 19660f786c99..8067b8e1c630 100644
--- a/include/basegfx/matrix/b2dhommatrix.hxx
+++ b/include/basegfx/matrix/b2dhommatrix.hxx
@@ -25,7 +25,6 @@
#include <sal/types.h>
#include <basegfx/basegfxdllapi.h>
-#include <basegfx/matrix/hommatrixtemplate.hxx>
#include <array>
namespace basegfx
diff --git a/include/basegfx/matrix/hommatrixtemplate.hxx b/include/basegfx/matrix/hommatrixtemplate.hxx
index b395b577076b..4f1300f53318 100644
--- a/include/basegfx/matrix/hommatrixtemplate.hxx
+++ b/include/basegfx/matrix/hommatrixtemplate.hxx
@@ -22,9 +22,6 @@
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
#include <cmath>
-#include <string.h>
-
-#include <memory>
namespace basegfx::internal
{
diff --git a/include/basegfx/point/b2dpoint.hxx b/include/basegfx/point/b2dpoint.hxx
index 6252352fdebe..6a1588298123 100644
--- a/include/basegfx/point/b2dpoint.hxx
+++ b/include/basegfx/point/b2dpoint.hxx
@@ -23,8 +23,8 @@
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/point/b2ipoint.hxx>
-#include <basegfx/vector/b2dsize.hxx>
#include <basegfx/basegfxdllapi.h>
+#include <basegfx/tuple/Size2D.hxx>
namespace basegfx
{
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx
index 9a330c4f4e5b..ab9e54652c22 100644
--- a/include/basegfx/polygon/b2dlinegeometry.hxx
+++ b/include/basegfx/polygon/b2dlinegeometry.hxx
@@ -24,7 +24,6 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <com/sun/star/drawing/LineCap.hpp>
#include <basegfx/basegfxdllapi.h>
-#include <basegfx/polygon/b2dpolygontriangulator.hxx>
namespace basegfx::utils
{
diff --git a/include/basegfx/range/Range2D.hxx b/include/basegfx/range/Range2D.hxx
index c93ca1664151..57e472a98a46 100644
--- a/include/basegfx/range/Range2D.hxx
+++ b/include/basegfx/range/Range2D.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <basegfx/basegfxdllapi.h>
#include <basegfx/range/basicrange.hxx>
#include <basegfx/tuple/Tuple2D.hxx>
diff --git a/include/basegfx/range/b2dconnectedranges.hxx b/include/basegfx/range/b2dconnectedranges.hxx
index 0dc7a4c242bf..f452fffb5404 100644
--- a/include/basegfx/range/b2dconnectedranges.hxx
+++ b/include/basegfx/range/b2dconnectedranges.hxx
@@ -23,7 +23,6 @@
#include <basegfx/range/b2drange.hxx>
#include <list>
#include <utility>
-#include <algorithm>
namespace basegfx
diff --git a/include/basegfx/range/b2drange.hxx b/include/basegfx/range/b2drange.hxx
index d6cd708609bc..b0f726ac0e36 100644
--- a/include/basegfx/range/b2drange.hxx
+++ b/include/basegfx/range/b2drange.hxx
@@ -25,7 +25,6 @@
#include <basegfx/basegfxdllapi.h>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/range/basicrange.hxx>
#include <basegfx/range/Range2D.hxx>
diff --git a/include/basegfx/range/b2irange.hxx b/include/basegfx/range/b2irange.hxx
index f1a0b0aaefc2..602e64eddbad 100644
--- a/include/basegfx/range/b2irange.hxx
+++ b/include/basegfx/range/b2irange.hxx
@@ -24,7 +24,6 @@
#include <basegfx/basegfxdllapi.h>
#include <basegfx/point/b2ipoint.hxx>
-#include <basegfx/tuple/b2ituple.hxx>
#include <basegfx/tuple/b2i64tuple.hxx>
#include <basegfx/range/basicrange.hxx>
#include <basegfx/range/Range2D.hxx>
diff --git a/include/basegfx/utils/bgradient.hxx b/include/basegfx/utils/bgradient.hxx
index 69dbb3fd5944..7d360beee429 100644
--- a/include/basegfx/utils/bgradient.hxx
+++ b/include/basegfx/utils/bgradient.hxx
@@ -9,7 +9,6 @@
#pragma once
-#include <config_options.h>
#include <basegfx/color/bcolor.hxx>
#include <basegfx/basegfxdllapi.h>
#include <vector>
@@ -17,20 +16,6 @@
#include <tools/degree.hxx>
#include <boost/property_tree/ptree_fwd.hpp>
-namespace com
-{
-namespace sun
-{
-namespace star
-{
-namespace uno
-{
-class Any;
-}
-}
-}
-}
-
namespace basegfx
{
/* MCGR: Provide ColorStop definition
diff --git a/include/basegfx/utils/gradienttools.hxx b/include/basegfx/utils/gradienttools.hxx
index f2c0de9aa8b4..d56e73b90dd9 100644
--- a/include/basegfx/utils/gradienttools.hxx
+++ b/include/basegfx/utils/gradienttools.hxx
@@ -26,13 +26,9 @@
#include <basegfx/color/bcolor.hxx>
#include <utility>
#include <basegfx/basegfxdllapi.h>
-#include <vector>
-#include <com/sun/star/awt/ColorStopSequence.hdl>
#include <basegfx/utils/bgradient.hxx>
#include <osl/endian.h>
-namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
-namespace com { namespace sun { namespace star { namespace awt { struct Gradient2; } } } }
namespace basegfx { class B2DRange; }
namespace
diff --git a/include/basegfx/vector/b2dsize.hxx b/include/basegfx/vector/b2dsize.hxx
index aaffee618888..08793ef13630 100644
--- a/include/basegfx/vector/b2dsize.hxx
+++ b/include/basegfx/vector/b2dsize.hxx
@@ -23,7 +23,6 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/vector/b2isize.hxx>
#include <basegfx/numeric/ftools.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
diff --git a/include/basegfx/vector/b2isize.hxx b/include/basegfx/vector/b2isize.hxx
index b26429bb434e..8d035bcc160f 100644
--- a/include/basegfx/vector/b2isize.hxx
+++ b/include/basegfx/vector/b2isize.hxx
@@ -20,7 +20,6 @@
#pragma once
#include <basegfx/tuple/Size2D.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
diff --git a/include/drawinglayer/primitive2d/shadowprimitive2d.hxx b/include/drawinglayer/primitive2d/shadowprimitive2d.hxx
index 79f2f30f700a..39dcbca9faae 100644
--- a/include/drawinglayer/primitive2d/shadowprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/shadowprimitive2d.hxx
@@ -23,6 +23,7 @@
#include <drawinglayer/primitive2d/BufferedDecompositionGroupPrimitive2D.hxx>
#include <basegfx/color/bcolor.hxx>
+#include <basegfx/matrix/b2dhommatrix.hxx>
namespace drawinglayer::primitive2d
{