From a26524e348fe06b93c26b1b1fa3dae3a5b26d6fa Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 2 Mar 2019 22:49:18 +0100 Subject: tdf#42949 Fix IWYU warnings in include/drawinglayer/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8daf57df5b8f9c609d4f3ca44bae7366addceb6c Reviewed-on: https://gerrit.libreoffice.org/69151 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- .../controller/main/DragMethod_PieSegment.cxx | 1 + drawinglayer/source/dumper/XShapeDumper.cxx | 25 +++++++++++++++++ drawinglayer/source/geometry/viewinformation2d.cxx | 2 ++ drawinglayer/source/geometry/viewinformation3d.cxx | 1 + .../source/primitive2d/controlprimitive2d.cxx | 1 + .../source/primitive2d/sceneprimitive2d.cxx | 1 + .../source/processor2d/vclmetafileprocessor2d.cxx | 1 + .../source/processor2d/vclpixelprocessor2d.cxx | 1 + drawinglayer/source/tools/converters.cxx | 1 + include/IwyuFilter_include.yaml | 7 +++++ include/drawinglayer/XShapeDumper.hxx | 32 +++------------------- .../drawinglayer/geometry/viewinformation2d.hxx | 7 +++-- .../drawinglayer/geometry/viewinformation3d.hxx | 4 +-- .../primitive2d/animatedprimitive2d.hxx | 3 +- .../primitive2d/borderlineprimitive2d.hxx | 3 -- .../primitive2d/controlprimitive2d.hxx | 5 ++-- .../primitive2d/fillgradientprimitive2d.hxx | 2 +- .../primitive2d/graphicprimitivehelper2d.hxx | 1 - .../primitive2d/markerarrayprimitive2d.hxx | 1 - .../primitive2d/pagehierarchyprimitive2d.hxx | 1 - .../primitive2d/pagepreviewprimitive2d.hxx | 3 +- .../primitive2d/patternfillprimitive2d.hxx | 1 - .../primitive2d/polypolygonprimitive2d.hxx | 1 - .../drawinglayer/primitive2d/sceneprimitive2d.hxx | 1 - .../drawinglayer/primitive2d/textbreakuphelper.hxx | 4 ++- .../primitive2d/textdecoratedprimitive2d.hxx | 4 --- .../primitive2d/textenumsprimitive2d.hxx | 2 -- .../drawinglayer/primitive2d/textlayoutdevice.hxx | 7 ++--- .../drawinglayer/primitive2d/textprimitive2d.hxx | 7 +---- .../primitive3d/polygontubeprimitive3d.hxx | 8 ------ .../primitive3d/sdrdecompositiontools3d.hxx | 1 - .../primitive3d/textureprimitive3d.hxx | 1 - .../processor2d/contourextractor2d.hxx | 1 - .../drawinglayer/processor2d/processor2dtools.hxx | 5 ++-- .../processor2d/processorfromoutputdevice.hxx | 3 +- .../processor3d/cutfindprocessor3d.hxx | 4 +-- .../processor3d/defaultprocessor3d.hxx | 4 --- .../processor3d/geometry2dextractor.hxx | 1 - .../drawinglayer/processor3d/shadow3dextractor.hxx | 6 ++-- .../processor3d/zbufferprocessor3d.hxx | 7 +---- sd/qa/unit/import-tests-smartart.cxx | 1 + sd/qa/unit/misc-tests.cxx | 1 + svgio/source/svgreader/svgtextpathnode.cxx | 1 + svx/source/dialog/pagectrl.cxx | 1 + .../sdr/contact/objectcontactofobjlistpainter.cxx | 1 + svx/source/sdr/contact/objectcontactofpageview.cxx | 1 + svx/source/sdr/overlay/overlaymanager.cxx | 1 + svx/source/svdraw/svdedxv.cxx | 1 + svx/source/xoutdev/xtabdash.cxx | 1 + svx/source/xoutdev/xtabgrdt.cxx | 1 + svx/source/xoutdev/xtabhtch.cxx | 1 + svx/source/xoutdev/xtablend.cxx | 1 + sw/source/core/edit/edfcol.cxx | 1 + 53 files changed, 89 insertions(+), 95 deletions(-) diff --git a/chart2/source/controller/main/DragMethod_PieSegment.cxx b/chart2/source/controller/main/DragMethod_PieSegment.cxx index a58c7a3271e2..30cd56d635fc 100644 --- a/chart2/source/controller/main/DragMethod_PieSegment.cxx +++ b/chart2/source/controller/main/DragMethod_PieSegment.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx index 1a97e57f6642..ecb5fd27c84d 100644 --- a/drawinglayer/source/dumper/XShapeDumper.cxx +++ b/drawinglayer/source/dumper/XShapeDumper.cxx @@ -11,6 +11,31 @@ #include "EnhancedShapeDumper.hxx" #include #include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include #include #include #include diff --git a/drawinglayer/source/geometry/viewinformation2d.cxx b/drawinglayer/source/geometry/viewinformation2d.cxx index abb108449034..6c354accd8ad 100644 --- a/drawinglayer/source/geometry/viewinformation2d.cxx +++ b/drawinglayer/source/geometry/viewinformation2d.cxx @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/drawinglayer/source/geometry/viewinformation3d.cxx b/drawinglayer/source/geometry/viewinformation3d.cxx index e65371a2cb6b..995eb4486f08 100644 --- a/drawinglayer/source/geometry/viewinformation3d.cxx +++ b/drawinglayer/source/geometry/viewinformation3d.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx b/drawinglayer/source/primitive2d/controlprimitive2d.cxx index 6a638d04da09..4030539980ac 100644 --- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx index a15daa84a464..ddd18102f347 100644 --- a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 8e9e0db30040..30cc3063c4a7 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index 68d197394a4a..03012fb5d35a 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 55cba173e83b..62de9ec5aac0 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index 44f5cdf17b70..71144952bc24 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -670,3 +670,10 @@ blacklist: - com/sun/star/container/XNamed.hpp - com/sun/star/lang/XServiceInfo.hpp - com/sun/star/sdbcx/XDataDescriptorFactory.hpp + include/drawinglayer/primitive2d/baseprimitive2d.hxx: + # base class has to be a complete type + - com/sun/star/graphic/XPrimitive2D.hpp + - com/sun/star/util/XAccounting.hpp + include/drawinglayer/primitive3d/baseprimitive3d.hxx: + # base class has to be a complete type + - com/sun/star/graphic/XPrimitive3D.hpp diff --git a/include/drawinglayer/XShapeDumper.hxx b/include/drawinglayer/XShapeDumper.hxx index 0e4650be5663..24603e0db60a 100644 --- a/include/drawinglayer/XShapeDumper.hxx +++ b/include/drawinglayer/XShapeDumper.hxx @@ -11,35 +11,11 @@ #define INCLUDED_DRAWINGLAYER_XSHAPEDUMPER_HXX #include +#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include +namespace com::sun::star::drawing { class XShape; } +namespace com::sun::star::drawing { class XShapes; } +namespace com::sun::star::uno { template class Reference; } class DRAWINGLAYER_DLLPUBLIC XShapeDumper { diff --git a/include/drawinglayer/geometry/viewinformation2d.hxx b/include/drawinglayer/geometry/viewinformation2d.hxx index 8769a260f3ef..40a4d82e1e4a 100644 --- a/include/drawinglayer/geometry/viewinformation2d.hxx +++ b/include/drawinglayer/geometry/viewinformation2d.hxx @@ -23,9 +23,6 @@ #include #include -#include -#include -#include #include @@ -40,6 +37,10 @@ namespace basegfx { class B2DRange; } +namespace com::sun::star::beans { struct PropertyValue; } +namespace com::sun::star::drawing { class XDrawPage; } +namespace com::sun::star::uno { template class Reference; } +namespace com::sun::star::uno { template class Sequence; } namespace drawinglayer { diff --git a/include/drawinglayer/geometry/viewinformation3d.hxx b/include/drawinglayer/geometry/viewinformation3d.hxx index dc3889d87351..d8800a1ea46a 100644 --- a/include/drawinglayer/geometry/viewinformation3d.hxx +++ b/include/drawinglayer/geometry/viewinformation3d.hxx @@ -23,8 +23,6 @@ #include #include -#include -#include #include @@ -38,6 +36,8 @@ namespace basegfx { class B3DHomMatrix; } +namespace com::sun::star::beans { struct PropertyValue; } +namespace com::sun::star::uno { template class Sequence; } namespace drawinglayer { diff --git a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx index 6ccb2acd64aa..21e7d9d5ba69 100644 --- a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx @@ -23,7 +23,6 @@ #include #include -#include #include #include @@ -32,6 +31,8 @@ namespace drawinglayer { namespace animation { class AnimationEntry; }} +namespace basegfx { class B2DHomMatrix; } + namespace drawinglayer { diff --git a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx index a3f41985061e..c801f36dc1a0 100644 --- a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx @@ -23,9 +23,6 @@ #include #include -#include -#include -#include #include #include diff --git a/include/drawinglayer/primitive2d/controlprimitive2d.hxx b/include/drawinglayer/primitive2d/controlprimitive2d.hxx index 9bd3783e07a9..c568ada2eb64 100644 --- a/include/drawinglayer/primitive2d/controlprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/controlprimitive2d.hxx @@ -24,8 +24,9 @@ #include #include -#include -#include + +namespace com::sun::star::awt { class XControl; } +namespace com::sun::star::awt { class XControlModel; } namespace drawinglayer diff --git a/include/drawinglayer/primitive2d/fillgradientprimitive2d.hxx b/include/drawinglayer/primitive2d/fillgradientprimitive2d.hxx index 65353312b71c..12c48a7ad6b8 100644 --- a/include/drawinglayer/primitive2d/fillgradientprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/fillgradientprimitive2d.hxx @@ -24,12 +24,12 @@ #include #include -#include // predefines namespace basegfx { class B2DPolygon; } +namespace drawinglayer { namespace texture { struct B2DHomMatrixAndBColor; } } // FillGradientPrimitive2D class diff --git a/include/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx b/include/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx index 8eb3c43918e1..4f323504d32e 100644 --- a/include/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx +++ b/include/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_GRAPHICPRIMITIVEHELPER2D_HXX #define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_GRAPHICPRIMITIVEHELPER2D_HXX -#include #include #include diff --git a/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx b/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx index 2dd43e2ff262..e98dbcf4c3ad 100644 --- a/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx @@ -23,7 +23,6 @@ #include #include -#include #include diff --git a/include/drawinglayer/primitive2d/pagehierarchyprimitive2d.hxx b/include/drawinglayer/primitive2d/pagehierarchyprimitive2d.hxx index e2c9b1d603ab..cc77043f8af1 100644 --- a/include/drawinglayer/primitive2d/pagehierarchyprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/pagehierarchyprimitive2d.hxx @@ -23,7 +23,6 @@ #include #include -#include namespace drawinglayer diff --git a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx index c6639998f34d..6abe873e6f22 100644 --- a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx @@ -23,9 +23,10 @@ #include #include -#include #include +namespace com::sun::star::drawing { class XDrawPage; } + namespace drawinglayer { diff --git a/include/drawinglayer/primitive2d/patternfillprimitive2d.hxx b/include/drawinglayer/primitive2d/patternfillprimitive2d.hxx index c4a53dbf5d7b..150eeba92fdf 100644 --- a/include/drawinglayer/primitive2d/patternfillprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/patternfillprimitive2d.hxx @@ -22,7 +22,6 @@ #include #include -#include #include diff --git a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx index e659a2184324..8cc503903ad9 100644 --- a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx index 8adafda0e137..faac60ca50d9 100644 --- a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx @@ -29,7 +29,6 @@ #include #include #include -#include namespace drawinglayer diff --git a/include/drawinglayer/primitive2d/textbreakuphelper.hxx b/include/drawinglayer/primitive2d/textbreakuphelper.hxx index 1afe12eea5de..a2b0ef0324ee 100644 --- a/include/drawinglayer/primitive2d/textbreakuphelper.hxx +++ b/include/drawinglayer/primitive2d/textbreakuphelper.hxx @@ -21,10 +21,12 @@ #define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_TEXTBREAKUPHELPER_HXX #include -#include +#include #include #include +namespace drawinglayer { namespace primitive2d { class TextSimplePortionPrimitive2D; } } + namespace drawinglayer { diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx index 37643195bfdc..8980322b5c93 100644 --- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx @@ -29,10 +29,6 @@ namespace basegfx { namespace utils { class B2DHomMatrixBufferedOnDemandDecompose; }} -namespace com { namespace sun { namespace star { namespace i18n { - struct Boundary; -}}}} - namespace drawinglayer { namespace primitive2d diff --git a/include/drawinglayer/primitive2d/textenumsprimitive2d.hxx b/include/drawinglayer/primitive2d/textenumsprimitive2d.hxx index 3547185e2126..ee1193b46a95 100644 --- a/include/drawinglayer/primitive2d/textenumsprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textenumsprimitive2d.hxx @@ -22,8 +22,6 @@ #include -#include -#include #include diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx b/include/drawinglayer/primitive2d/textlayoutdevice.hxx index e95c00410249..61607232d92c 100644 --- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx +++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx @@ -24,17 +24,12 @@ #include #include -#include #include #include // predefines class VirtualDevice; namespace vcl { class Font; } -namespace rtl { - class OUString; -}; -class OutputDevice; class GDIMetaFile; namespace tools { class Rectangle; } enum class DrawTextFlags; @@ -42,6 +37,8 @@ namespace drawinglayer { namespace attribute { class FontAttribute; }} +namespace com::sun::star::lang { struct Locale; } + // access to one global impTimedRefDev incarnation in namespace drawinglayer::primitive namespace drawinglayer diff --git a/include/drawinglayer/primitive2d/textprimitive2d.hxx b/include/drawinglayer/primitive2d/textprimitive2d.hxx index 2eb208f271ce..2c6e9b4476e6 100644 --- a/include/drawinglayer/primitive2d/textprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textprimitive2d.hxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include @@ -33,11 +33,6 @@ #include -// predefines - -class OutputDevice; - - namespace drawinglayer { namespace primitive2d diff --git a/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx b/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx index 8d1e0b365477..4a019ebb3d41 100644 --- a/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx @@ -25,14 +25,6 @@ #include -// predefines - -namespace basegfx { - class B3DPolyPolygon; - class B3DHomMatrix; -} - - namespace drawinglayer { namespace primitive3d diff --git a/include/drawinglayer/primitive3d/sdrdecompositiontools3d.hxx b/include/drawinglayer/primitive3d/sdrdecompositiontools3d.hxx index 081f453af3d9..ac158615a19e 100644 --- a/include/drawinglayer/primitive3d/sdrdecompositiontools3d.hxx +++ b/include/drawinglayer/primitive3d/sdrdecompositiontools3d.hxx @@ -30,7 +30,6 @@ // predefines namespace basegfx { - class B3DPolygon; class B3DPolyPolygon; class B3DHomMatrix; class B2DVector; diff --git a/include/drawinglayer/primitive3d/textureprimitive3d.hxx b/include/drawinglayer/primitive3d/textureprimitive3d.hxx index 5fa89d2e76bf..13ee158c8d8c 100644 --- a/include/drawinglayer/primitive3d/textureprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/textureprimitive3d.hxx @@ -24,7 +24,6 @@ #include #include -#include #include #include diff --git a/include/drawinglayer/processor2d/contourextractor2d.hxx b/include/drawinglayer/processor2d/contourextractor2d.hxx index 6520c2c378fe..fb8e9fe67624 100644 --- a/include/drawinglayer/processor2d/contourextractor2d.hxx +++ b/include/drawinglayer/processor2d/contourextractor2d.hxx @@ -23,7 +23,6 @@ #include #include -#include #include diff --git a/include/drawinglayer/processor2d/processor2dtools.hxx b/include/drawinglayer/processor2d/processor2dtools.hxx index e4f4684b0b76..18ba6b216dc7 100644 --- a/include/drawinglayer/processor2d/processor2dtools.hxx +++ b/include/drawinglayer/processor2d/processor2dtools.hxx @@ -20,10 +20,11 @@ #define INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSOR2DTOOLS_HXX #include -#include -#include #include +namespace drawinglayer { namespace geometry { class ViewInformation2D; } } +namespace drawinglayer { namespace processor2d { class BaseProcessor2D; } } + class OutputDevice; namespace drawinglayer diff --git a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx index 549b170f293d..25ea79ff477a 100644 --- a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx +++ b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSORFROMOUTPUTDEVICE_HXX #define INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSORFROMOUTPUTDEVICE_HXX -#include #include #include @@ -30,6 +29,8 @@ namespace drawinglayer { namespace processor2d { class BaseProcessor2D; }} +namespace drawinglayer { namespace geometry { class ViewInformation2D; } } + namespace drawinglayer { namespace processor2d diff --git a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx index eb5d946608d4..a22afc122e0c 100644 --- a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx +++ b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx @@ -21,9 +21,9 @@ #define INCLUDED_DRAWINGLAYER_PROCESSOR3D_CUTFINDPROCESSOR3D_HXX #include +#include -#include - +#include namespace drawinglayer { diff --git a/include/drawinglayer/processor3d/defaultprocessor3d.hxx b/include/drawinglayer/processor3d/defaultprocessor3d.hxx index a400343ac4f6..1de9bb89cf81 100644 --- a/include/drawinglayer/processor3d/defaultprocessor3d.hxx +++ b/include/drawinglayer/processor3d/defaultprocessor3d.hxx @@ -20,10 +20,7 @@ #ifndef INCLUDED_DRAWINGLAYER_PROCESSOR3D_DEFAULTPROCESSOR3D_HXX #define INCLUDED_DRAWINGLAYER_PROCESSOR3D_DEFAULTPROCESSOR3D_HXX -#include - #include -#include #include #include #include @@ -31,7 +28,6 @@ // predefines namespace basegfx { - class BZPixelRaster; class B3DPolygon; class B3DPolyPolygon; } diff --git a/include/drawinglayer/processor3d/geometry2dextractor.hxx b/include/drawinglayer/processor3d/geometry2dextractor.hxx index ba828e040e78..98233dd009b7 100644 --- a/include/drawinglayer/processor3d/geometry2dextractor.hxx +++ b/include/drawinglayer/processor3d/geometry2dextractor.hxx @@ -25,7 +25,6 @@ #include #include #include -#include #include diff --git a/include/drawinglayer/processor3d/shadow3dextractor.hxx b/include/drawinglayer/processor3d/shadow3dextractor.hxx index 6606eae3a14e..8d92f84c503d 100644 --- a/include/drawinglayer/processor3d/shadow3dextractor.hxx +++ b/include/drawinglayer/processor3d/shadow3dextractor.hxx @@ -25,13 +25,13 @@ #include #include #include -#include #include -#include #include -#include #include +namespace basegfx { class B3DPolyPolygon; } +namespace basegfx { class B3DPolygon; } + namespace drawinglayer { diff --git a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx index 90db04b2a546..eb537537cf11 100644 --- a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx +++ b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx @@ -20,10 +20,8 @@ #ifndef INCLUDED_DRAWINGLAYER_PROCESSOR3D_ZBUFFERPROCESSOR3D_HXX #define INCLUDED_DRAWINGLAYER_PROCESSOR3D_ZBUFFERPROCESSOR3D_HXX -#include - #include -#include +#include #include namespace basegfx { @@ -36,9 +34,6 @@ namespace drawinglayer { class SdrLightingAttribute; class MaterialAttribute3D; } - namespace geometry { - class ViewInformation2D; - } } class ZBufferRasterConverter3D; diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index 3d3194098b8b..c0b2f3514808 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -10,6 +10,7 @@ #include "sdmodeltestbase.hxx" #include +#include #include #include #include diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx index 57c18626b19b..20a0229b5ec2 100644 --- a/sd/qa/unit/misc-tests.cxx +++ b/sd/qa/unit/misc-tests.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index f11bc2e7fbd2..1ff4741fa2b2 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index 0d12247b98ec..c2cb6fde288d 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx index 850547c9cf83..bb00dcf9a92d 100644 --- a/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx +++ b/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index 236c35ca9017..92b0153f072d 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 63909dc3344b..b5a9f15cfaf8 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index b498ec5c50fc..aa85b617d0bc 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -60,6 +60,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 53bf2ec0d1fe..2a73fe02ef04 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx index fe082b782c88..c2485c594418 100644 --- a/svx/source/xoutdev/xtabgrdt.cxx +++ b/svx/source/xoutdev/xtabgrdt.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index ee26a5e90041..c69c76b471c0 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx index 05d3bdd5f60c..fba2a3dc3f8b 100644 --- a/svx/source/xoutdev/xtablend.cxx +++ b/svx/source/xoutdev/xtablend.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index 25d691f88296..ca3eb503e560 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include -- cgit