drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 1 framework/source/uielement/menubarmanager.cxx | 1 framework/source/uielement/newmenucontroller.cxx | 1 include/IwyuFilter_include.yaml | 13 +++++++ include/vcl/accessibility/AccessibleBrowseBox.hxx | 2 - include/vcl/accessibility/AccessibleBrowseBoxBase.hxx | 10 ++--- include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx | 3 + include/vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx | 1 include/vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx | 1 include/vcl/accessibility/AccessibleTextAttributeHelper.hxx | 10 +++++ include/vcl/accessibility/characterattributeshelper.hxx | 17 ++++++++-- include/vcl/accessibletableprovider.hxx | 15 +++++++- include/vcl/animate/Animation.hxx | 3 + include/vcl/bitmap/BitmapArithmeticBlendFilter.hxx | 1 include/vcl/bitmap/BitmapDarkenBlendFilter.hxx | 1 include/vcl/bitmap/BitmapFilter.hxx | 4 +- include/vcl/builderbase.hxx | 12 +++++-- include/vcl/builderpage.hxx | 10 +++++ include/vcl/cairo.hxx | 2 - include/vcl/canvastools.hxx | 4 +- include/vcl/commandevent.hxx | 3 + include/vcl/commandinfoprovider.hxx | 10 ++++- include/vcl/ctrl.hxx | 6 ++- include/vcl/cvtgrf.hxx | 3 - include/vcl/outdev.hxx | 2 + include/vcl/window.hxx | 1 sd/source/filter/grf/sdgrffilter.cxx | 1 sd/source/ui/dlg/animobjs.cxx | 1 slideshow/source/engine/shapes/gdimtftools.cxx | 1 svx/source/dialog/_bmpmask.cxx | 1 svx/source/dialog/_contdlg.cxx | 1 svx/source/xoutdev/_xoutbmp.cxx | 1 vcl/inc/accessibility/accessibletablistbox.hxx | 1 vcl/inc/animate/AnimationRenderer.hxx | 1 vcl/qa/cppunit/animation.cxx | 1 vcl/qa/cppunit/png/PngFilterTest.cxx | 1 vcl/source/accessibility/AccessibleBrowseBox.cxx | 2 + vcl/source/accessibility/AccessibleBrowseBoxBase.cxx | 2 + vcl/source/accessibility/AccessibleBrowseBoxTable.cxx | 1 vcl/source/accessibility/characterattributeshelper.cxx | 3 + vcl/source/bitmap/BitmapSmoothenFilter.cxx | 1 vcl/source/bitmap/bitmapfilter.cxx | 1 vcl/source/filter/egif/egif.cxx | 1 vcl/source/filter/etiff/etiff.cxx | 1 vcl/source/filter/igif/gifread.cxx | 1 vcl/source/filter/itiff/itiff.cxx | 1 vcl/source/filter/png/PngImageReader.cxx | 1 vcl/source/filter/png/PngImageWriter.cxx | 1 vcl/source/graphic/GraphicObject.cxx | 1 vcl/source/helper/commandinfoprovider.cxx | 1 50 files changed, 136 insertions(+), 29 deletions(-)
New commits: commit 4a9c718382b4fc4e70ba6298eb925680aeebcdd6 Author: Gabor Kelemen <[email protected]> AuthorDate: Sat Dec 27 23:38:09 2025 +0100 Commit: Gabor Kelemen <[email protected]> CommitDate: Tue Jan 6 10:02:26 2026 +0100 tdf#146619 Use more forward declarations in include/vcl/[a-c]* Found after running bin/find-unneeded-includes --headersfwd include/vcl/[a-c]* Change-Id: Ib54f3eb80d6575d6a120fedbdbd9e1ad77b229ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196394 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx index 245ae950a1c0..e991049f1d1c 100644 --- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx @@ -42,6 +42,7 @@ #include <utility> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/alpha.hxx> #include <vcl/graph.hxx> #include <vcl/virdev.hxx> diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 9627d7d9f437..da8c0cf27006 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -51,6 +51,7 @@ #include <toolkit/awt/vclxmenu.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <utility> +#include <vcl/image.hxx> #include <vcl/svapp.hxx> #include <vcl/sysdata.hxx> #include <vcl/menu.hxx> diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index a7222343feb5..2475b368ee3d 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -33,6 +33,7 @@ #include <comphelper/propertyvalue.hxx> #include <helper/persistentwindowstate.hxx> +#include <vcl/image.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/commandinfoprovider.hxx> diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index 8de67061f8a4..aea1d746f5f4 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -309,6 +309,19 @@ excludelist: include/svl/style.hxx: # base class has to be a complete type - com/sun/star/style/XStyle.hpp + include/vcl/accessibility/AccessibleBrowseBoxBase.hxx: + # base class has to be a complete type + - com/sun/star/lang/XServiceInfo.hpp + - com/sun/star/awt/XFocusListener.hpp + include/vcl/accessibility/AccessibleBrowseBoxTableBase.hxx: + # base class has to be a complete type + - com/sun/star/accessibility/XAccessibleTable.hpp + include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx: + # base class has to be a complete type + - com/sun/star/accessibility/XAccessibleValue.hpp + include/vcl/accessibility/vclxaccessiblecomponent.hxx: + # base class has to be a complete type + - com/sun/star/lang/XServiceInfo.hpp include/vcl/FilterConfigItem.hxx: # Needed on Windows with --disable-pch - com/sun/star/beans/PropertyValue.hpp diff --git a/include/vcl/accessibility/AccessibleBrowseBox.hxx b/include/vcl/accessibility/AccessibleBrowseBox.hxx index f1b0a63dbe60..a29481a3fffc 100644 --- a/include/vcl/accessibility/AccessibleBrowseBox.hxx +++ b/include/vcl/accessibility/AccessibleBrowseBox.hxx @@ -21,10 +21,10 @@ #pragma once #include <vcl/accessibility/AccessibleBrowseBoxBase.hxx> -#include <vcl/accessibletableprovider.hxx> class AccessibleBrowseBoxHeaderBar; class AccessibleBrowseBoxTable; +namespace vcl { class IAccessibleTableProvider; } /** This class represents the complete accessible BrowseBox object. */ diff --git a/include/vcl/accessibility/AccessibleBrowseBoxBase.hxx b/include/vcl/accessibility/AccessibleBrowseBoxBase.hxx index 12eb5b7a08d9..d8093eb1c721 100644 --- a/include/vcl/accessibility/AccessibleBrowseBoxBase.hxx +++ b/include/vcl/accessibility/AccessibleBrowseBoxBase.hxx @@ -23,17 +23,17 @@ #include <sal/config.h> #include <rtl/ustring.hxx> -#include <tools/gen.hxx> #include <vcl/svapp.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/awt/XFocusListener.hpp> #include <comphelper/OAccessible.hxx> -#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> -namespace vcl { class Window; } +enum class AccessibleBrowseBoxObjType; +namespace com::sun::star::accessibility { class XAccessible; } +namespace com::sun::star::awt { class XWindow; } +namespace com::sun::star::uno { class Any; } +namespace tools { class Rectangle; } namespace vcl { class IAccessibleTableProvider; diff --git a/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx b/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx index b0f3667e6720..fa009b30a652 100644 --- a/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx +++ b/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx @@ -19,9 +19,10 @@ #pragma once #include <com/sun/star/accessibility/XAccessibleValue.hpp> -#include <com/sun/star/accessibility/XAccessible.hpp> #include <vcl/accessibility/AccessibleBrowseBoxCell.hxx> +namespace com::sun::star::accessibility { class XAccessible; } + class VCL_DLLPUBLIC AccessibleCheckBoxCell final : public cppu::ImplInheritanceHelper<AccessibleBrowseBoxCell, css::accessibility::XAccessibleValue> diff --git a/include/vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx b/include/vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx index 3e01586cec3a..43033cdcf43e 100644 --- a/include/vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx +++ b/include/vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx @@ -23,6 +23,7 @@ #include <cppuhelper/implbase1.hxx> #include <com/sun/star/accessibility/XAccessibleSelection.hpp> #include <vcl/accessibility/AccessibleBrowseBoxTableBase.hxx> +#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> typedef ::cppu::ImplHelper1< css::accessibility::XAccessibleSelection > diff --git a/include/vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx b/include/vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx index 9921632142b2..545f9a55f334 100644 --- a/include/vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx +++ b/include/vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx @@ -19,6 +19,7 @@ #pragma once #include <vcl/accessibility/AccessibleBrowseBoxBase.hxx> +#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> class VCL_DLLPUBLIC AccessibleBrowseBoxHeaderCell final : public AccessibleBrowseBoxBase { diff --git a/include/vcl/accessibility/AccessibleTextAttributeHelper.hxx b/include/vcl/accessibility/AccessibleTextAttributeHelper.hxx index 0dad25d9ef59..ab32bceadcc8 100644 --- a/include/vcl/accessibility/AccessibleTextAttributeHelper.hxx +++ b/include/vcl/accessibility/AccessibleTextAttributeHelper.hxx @@ -19,11 +19,19 @@ #pragma once -#include <com/sun/star/accessibility/XAccessibleText.hpp> #include <o3tl/typed_flags_set.hxx> #include <rtl/ustring.hxx> #include <vcl/dllapi.h> +namespace com::sun::star::accessibility +{ +class XAccessibleText; +} +namespace com::sun::star::uno +{ +template <class interface_type> class Reference; +} + /** * According to the IAccessible2 specification, some of the attributes that LibreOffice * handles as text attributes are mapped to IAccessible2 text attributes as well, diff --git a/include/vcl/accessibility/characterattributeshelper.hxx b/include/vcl/accessibility/characterattributeshelper.hxx index 2e58761ea27e..c816bde56699 100644 --- a/include/vcl/accessibility/characterattributeshelper.hxx +++ b/include/vcl/accessibility/characterattributeshelper.hxx @@ -19,14 +19,25 @@ #pragma once -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/uno/Any.hxx> #include <vcl/dllapi.h> -#include <vcl/font.hxx> #include <map> #include <vector> +namespace com::sun::star::beans +{ +struct PropertyValue; +} +namespace com::sun::star::uno +{ +template <typename> class Sequence; +} +namespace vcl +{ +class Font; +} + class VCL_DLLPUBLIC CharacterAttributesHelper { private: diff --git a/include/vcl/accessibletableprovider.hxx b/include/vcl/accessibletableprovider.hxx index 2d1270faf888..a2ee87dd9e9c 100644 --- a/include/vcl/accessibletableprovider.hxx +++ b/include/vcl/accessibletableprovider.hxx @@ -20,9 +20,18 @@ #ifndef INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX #define INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX -#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> -#include <vcl/window.hxx> -#include <com/sun/star/accessibility/XAccessible.hpp> +#include <rtl/ustring.hxx> +#include <vector> + +class Point; +enum class AccessibleBrowseBoxObjType; +namespace comphelper { class OAccessible; } +namespace com::sun::star::accessibility { class XAccessible; } +namespace com::sun::star::uno { template <class E> class Sequence; } +namespace com::sun::star::uno { template <class interface_type> class Reference; } +namespace rtl { template <class reference_type> class Reference; } +namespace tools { class Rectangle; } +namespace vcl { class Window; } namespace vcl { diff --git a/include/vcl/animate/Animation.hxx b/include/vcl/animate/Animation.hxx index 4948e98dfe9c..a9bd031205bd 100644 --- a/include/vcl/animate/Animation.hxx +++ b/include/vcl/animate/Animation.hxx @@ -24,7 +24,8 @@ #include <vcl/dllapi.h> #include <vcl/timer.hxx> #include <vcl/bitmap.hxx> -#include <vcl/animate/AnimationFrame.hxx> + +struct AnimationFrame; #define ANIMATION_TIMEOUT_ON_CLICK 2147483647L diff --git a/include/vcl/bitmap/BitmapArithmeticBlendFilter.hxx b/include/vcl/bitmap/BitmapArithmeticBlendFilter.hxx index fbfb24d049d4..87c8f6540658 100644 --- a/include/vcl/bitmap/BitmapArithmeticBlendFilter.hxx +++ b/include/vcl/bitmap/BitmapArithmeticBlendFilter.hxx @@ -11,6 +11,7 @@ #pragma once #include <vcl/bitmap/BitmapFilter.hxx> +#include <vcl/bitmap.hxx> class VCL_DLLPUBLIC BitmapArithmeticBlendFilter final : public BitmapFilter { diff --git a/include/vcl/bitmap/BitmapDarkenBlendFilter.hxx b/include/vcl/bitmap/BitmapDarkenBlendFilter.hxx index 7c74add13b1c..8dc78967eb59 100644 --- a/include/vcl/bitmap/BitmapDarkenBlendFilter.hxx +++ b/include/vcl/bitmap/BitmapDarkenBlendFilter.hxx @@ -10,6 +10,7 @@ #pragma once +#include <vcl/bitmap.hxx> #include <vcl/bitmap/BitmapFilter.hxx> class VCL_DLLPUBLIC BitmapDarkenBlendFilter final : public BitmapFilter diff --git a/include/vcl/bitmap/BitmapFilter.hxx b/include/vcl/bitmap/BitmapFilter.hxx index 4271a23ba0e4..767ad29e2018 100644 --- a/include/vcl/bitmap/BitmapFilter.hxx +++ b/include/vcl/bitmap/BitmapFilter.hxx @@ -10,10 +10,12 @@ #pragma once -#include <vcl/bitmap.hxx> +#include <tools/long.hxx> +#include <vcl/dllapi.h> #include <functional> class Animation; +class Bitmap; namespace vcl::bitmap { diff --git a/include/vcl/builderbase.hxx b/include/vcl/builderbase.hxx index 8cd8fd9df01e..6005c9cfd373 100644 --- a/include/vcl/builderbase.hxx +++ b/include/vcl/builderbase.hxx @@ -10,14 +10,20 @@ #pragma once #include <vcl/dllapi.h> -#include <vcl/image.hxx> #include <vcl/EnumContext.hxx> -#include <com/sun/star/uno/Exception.hpp> - #include <map> #include <vector> +class Image; + +namespace com::sun::star::uno +{ +class Exception; +} + +enum class VclButtonsType; + namespace xmlreader { class XmlReader; diff --git a/include/vcl/builderpage.hxx b/include/vcl/builderpage.hxx index fbc68066e716..693e25a01615 100644 --- a/include/vcl/builderpage.hxx +++ b/include/vcl/builderpage.hxx @@ -10,9 +10,17 @@ #ifndef INCLUDED_VCL_BUILDERPAGE_HXX #define INCLUDED_VCL_BUILDERPAGE_HXX -#include <vcl/weld/Builder.hxx> #include <vcl/weld/weld.hxx> +namespace weld +{ +class Builder; +} +namespace weld +{ +class DialogController; +} + class VCL_DLLPUBLIC BuilderPage { public: diff --git a/include/vcl/cairo.hxx b/include/vcl/cairo.hxx index 74d4fde02bf3..756569441aa3 100644 --- a/include/vcl/cairo.hxx +++ b/include/vcl/cairo.hxx @@ -19,13 +19,13 @@ #pragma once -#include <vcl/vclptr.hxx> #include <memory> typedef struct _cairo_surface cairo_surface_t; typedef struct _cairo cairo_t; class VirtualDevice; +template <class reference_type> class VclPtr; namespace cairo { diff --git a/include/vcl/canvastools.hxx b/include/vcl/canvastools.hxx index 9d565634906e..29231610cba2 100644 --- a/include/vcl/canvastools.hxx +++ b/include/vcl/canvastools.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_VCL_CANVASTOOLS_HXX #define INCLUDED_VCL_CANVASTOOLS_HXX -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <basegfx/numeric/ftools.hxx> #include <basegfx/range/b2irectangle.hxx> @@ -58,6 +56,8 @@ namespace com::sun::star::rendering } namespace com::sun::star::rendering { class XColorSpace; } +namespace com::sun::star::uno { template <class E> class Sequence; } +namespace com::sun::star::uno { template <class interface_type> class Reference; } namespace vcl::unotools { diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx index 9491137acea8..1f989864944d 100644 --- a/include/vcl/commandevent.hxx +++ b/include/vcl/commandevent.hxx @@ -27,7 +27,6 @@ #include <vcl/keycodes.hxx> #include <o3tl/typed_flags_set.hxx> #include <rtl/ustring.hxx> -#include <vcl/GestureEventPan.hxx> #include <vcl/GestureEventZoom.hxx> #include <vcl/GestureEventRotate.hxx> @@ -45,6 +44,8 @@ class CommandGestureZoomData; class CommandGestureRotateData; enum class CommandEventId; +enum class GestureEventPanType; +enum class PanningOrientation; enum class ExtTextInputAttr { NONE = 0x0000, diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index 30aeb9af4a43..c424abac4e1d 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -20,11 +20,17 @@ #define INCLUDED_VCL_COMMANDINFOPROVIDER_HXX #include <vcl/dllapi.h> -#include <vcl/image.hxx> -#include <vcl/keycod.hxx> +#include <vcl/vclenum.hxx> +#include <rtl/ustring.hxx> + +class Image; +namespace vcl { class KeyCode; } namespace com::sun::star::frame { class XFrame; } namespace com::sun::star::beans { struct PropertyValue; } +namespace com::sun::star::graphic { class XGraphic; } +namespace com::sun::star::uno { template <class interface_type> class Reference; } +namespace com::sun::star::uno { template <typename> class Sequence; } namespace vcl::CommandInfoProvider { diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx index 1f3161ecc45e..6670854c36f3 100644 --- a/include/vcl/ctrl.hxx +++ b/include/vcl/ctrl.hxx @@ -22,7 +22,6 @@ #include <rtl/ustring.hxx> #include <tools/link.hxx> -#include <tools/gen.hxx> #include <vcl/dllapi.h> #include <vcl/window.hxx> #include <optional> @@ -31,6 +30,11 @@ // forward class StyleSettings; class Control; +class Pair; +class Point; +class Size; + +namespace tools { class Rectangle; } namespace vcl { diff --git a/include/vcl/cvtgrf.hxx b/include/vcl/cvtgrf.hxx index 6027f66e5631..0966b5e63e73 100644 --- a/include/vcl/cvtgrf.hxx +++ b/include/vcl/cvtgrf.hxx @@ -23,9 +23,8 @@ #include <vcl/dllapi.h> #include <tools/link.hxx> #include <vcl/salctype.hxx> -#include <comphelper/errcode.hxx> - +class ErrCode; class Graphic; class VCL_DLLPUBLIC GraphicConverter diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 32444f9476c3..e78d6d3cfaec 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -21,6 +21,7 @@ #include <sal/config.h> +#include <rtl/ref.hxx> #include <tools/gen.hxx> #include <tools/ref.hxx> #include <tools/solar.h> @@ -51,6 +52,7 @@ #include <vcl/salnativewidgets.hxx> #include <vcl/settings.hxx> #include <vcl/vclenum.hxx> +#include <vcl/vclptr.hxx> #include <vcl/vclreferencebase.hxx> #include <basegfx/range/b2drectangle.hxx> diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index a52a1ed59f0d..9cec090c1a57 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -29,6 +29,7 @@ #include <vcl/region.hxx> #include <vcl/uitest/factory.hxx> #include <vcl/IDialogRenderable.hxx> +#include <rtl/ref.hxx> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.hxx> #include <memory> diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index 66b5315d025a..4e54327ca562 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -33,6 +33,7 @@ #include <DrawDocShell.hxx> #include <comphelper/processfactory.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/graphicfilter.hxx> #include <vcl/svapp.hxx> diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 05b95ec62399..1958bec2c35f 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -25,6 +25,7 @@ #include <svx/svdpagv.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/progress.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/help.hxx> #include <vcl/svapp.hxx> #include <vcl/weld/weld.hxx> diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 3c9a2ddcea99..5bf70615bce2 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -37,6 +37,7 @@ #include <vcl/virdev.hxx> #include <vcl/gdimtf.hxx> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/graph.hxx> #include <vcl/skia/SkiaHelper.hxx> diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index 4cf053b2ee38..2e5f329c4896 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -19,6 +19,7 @@ #include <vcl/ColorDialog.hxx> #include <vcl/alpha.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/event.hxx> #include <vcl/metaact.hxx> #include <vcl/virdev.hxx> diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 1e9f0c40cae4..65a76832068f 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -33,6 +33,7 @@ #include "contwnd.hxx" #include <svx/svdopath.hxx> #include <vcl/alpha.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/virdev.hxx> diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx index 19003b047704..86f01f652f92 100644 --- a/svx/source/xoutdev/_xoutbmp.cxx +++ b/svx/source/xoutdev/_xoutbmp.cxx @@ -23,6 +23,7 @@ #include <comphelper/base64.hxx> #include <comphelper/graphicmimetype.hxx> #include <tools/debug.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/virdev.hxx> #include <sfx2/docfile.hxx> #include <svx/svdpntv.hxx> diff --git a/vcl/inc/accessibility/accessibletablistbox.hxx b/vcl/inc/accessibility/accessibletablistbox.hxx index f1678f0c6ab6..613651be486a 100644 --- a/vcl/inc/accessibility/accessibletablistbox.hxx +++ b/vcl/inc/accessibility/accessibletablistbox.hxx @@ -20,6 +20,7 @@ #pragma once #include <vcl/accessibility/AccessibleBrowseBox.hxx> +#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> class SvHeaderTabListBox; diff --git a/vcl/inc/animate/AnimationRenderer.hxx b/vcl/inc/animate/AnimationRenderer.hxx index 50e5b4485132..d5cc7f423c85 100644 --- a/vcl/inc/animate/AnimationRenderer.hxx +++ b/vcl/inc/animate/AnimationRenderer.hxx @@ -21,6 +21,7 @@ #include <vcl/dllapi.h> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/vclptr.hxx> class Animation; diff --git a/vcl/qa/cppunit/animation.cxx b/vcl/qa/cppunit/animation.cxx index 25e6254c7603..227ec802910f 100644 --- a/vcl/qa/cppunit/animation.cxx +++ b/vcl/qa/cppunit/animation.cxx @@ -11,6 +11,7 @@ #include <cppunit/TestAssert.h> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> class VclAnimationTest : public test::BootstrapFixture { diff --git a/vcl/qa/cppunit/png/PngFilterTest.cxx b/vcl/qa/cppunit/png/PngFilterTest.cxx index b9d1dbcc5f92..384648411de0 100644 --- a/vcl/qa/cppunit/png/PngFilterTest.cxx +++ b/vcl/qa/cppunit/png/PngFilterTest.cxx @@ -28,6 +28,7 @@ #include <vcl/bitmap/BitmapMonochromeFilter.hxx> #include <vcl/BitmapWriteAccess.hxx> #include <vcl/alpha.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/graphicfilter.hxx> #include <unotools/tempfile.hxx> diff --git a/vcl/source/accessibility/AccessibleBrowseBox.cxx b/vcl/source/accessibility/AccessibleBrowseBox.cxx index 934f82a6e804..2ea197eb4f33 100644 --- a/vcl/source/accessibility/AccessibleBrowseBox.cxx +++ b/vcl/source/accessibility/AccessibleBrowseBox.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/awt/XVclWindowPeer.hdl> +#include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/accessibility/AccessibleBrowseBox.hxx> #include <vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx> @@ -25,6 +26,7 @@ #include <vcl/accessibletableprovider.hxx> #include <vcl/unohelp.hxx> #include <sal/types.h> +#include <vcl/window.hxx> using namespace ::com::sun::star::uno; diff --git a/vcl/source/accessibility/AccessibleBrowseBoxBase.cxx b/vcl/source/accessibility/AccessibleBrowseBoxBase.cxx index 6427bf8aeca2..f3582722d902 100644 --- a/vcl/source/accessibility/AccessibleBrowseBoxBase.cxx +++ b/vcl/source/accessibility/AccessibleBrowseBoxBase.cxx @@ -25,8 +25,10 @@ #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/IllegalAccessibleComponentStateException.hpp> +#include <com/sun/star/awt/XWindow.hpp> #include <unotools/accessiblerelationsethelper.hxx> #include <vcl/accessibility/AccessibleBrowseBoxBase.hxx> +#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> #include <vcl/unohelp.hxx> #include <vcl/window.hxx> #include <vcl/svapp.hxx> diff --git a/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx b/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx index e88a82a703b3..0f5eac323072 100644 --- a/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx +++ b/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx @@ -18,6 +18,7 @@ */ #include <vcl/accessibility/AccessibleBrowseBoxTable.hxx> +#include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx> #include <vcl/accessibletableprovider.hxx> #include <vcl/unohelp.hxx> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/vcl/source/accessibility/characterattributeshelper.cxx b/vcl/source/accessibility/characterattributeshelper.cxx index e01d2d8625f5..c21bec219d14 100644 --- a/vcl/source/accessibility/characterattributeshelper.cxx +++ b/vcl/source/accessibility/characterattributeshelper.cxx @@ -19,9 +19,12 @@ #include <tools/gen.hxx> #include <vcl/accessibility/characterattributeshelper.hxx> +#include <vcl/font.hxx> #include <vcl/unohelp.hxx> #include <comphelper/sequence.hxx> +#include <com/sun/star/beans/PropertyValue.hpp> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/vcl/source/bitmap/BitmapSmoothenFilter.cxx b/vcl/source/bitmap/BitmapSmoothenFilter.cxx index 0582f94ccbc2..a8ad47d299d6 100644 --- a/vcl/source/bitmap/BitmapSmoothenFilter.cxx +++ b/vcl/source/bitmap/BitmapSmoothenFilter.cxx @@ -8,6 +8,7 @@ * */ +#include <vcl/bitmap.hxx> #include <vcl/bitmap/BitmapGaussianSeparableBlurFilter.hxx> #include <vcl/bitmap/BitmapSeparableUnsharpenFilter.hxx> #include <vcl/bitmap/BitmapSmoothenFilter.hxx> diff --git a/vcl/source/bitmap/bitmapfilter.cxx b/vcl/source/bitmap/bitmapfilter.cxx index 31e85d8647b0..3f9043115095 100644 --- a/vcl/source/bitmap/bitmapfilter.cxx +++ b/vcl/source/bitmap/bitmapfilter.cxx @@ -11,6 +11,7 @@ #include <sal/log.hxx> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/bitmap/BitmapFilter.hxx> BitmapFilter::BitmapFilter() {} diff --git a/vcl/source/filter/egif/egif.cxx b/vcl/source/filter/egif/egif.cxx index 38e2f6d21fe8..80edfe673933 100644 --- a/vcl/source/filter/egif/egif.cxx +++ b/vcl/source/filter/egif/egif.cxx @@ -20,6 +20,7 @@ #include <tools/stream.hxx> #include <tools/debug.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/BitmapReadAccess.hxx> #include <vcl/alpha.hxx> #include <vcl/graph.hxx> diff --git a/vcl/source/filter/etiff/etiff.cxx b/vcl/source/filter/etiff/etiff.cxx index 51a6017a9d8c..e17205bce92d 100644 --- a/vcl/source/filter/etiff/etiff.cxx +++ b/vcl/source/filter/etiff/etiff.cxx @@ -19,6 +19,7 @@ #include <tools/stream.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/graph.hxx> #include <vcl/outdev.hxx> #include <vcl/BitmapReadAccess.hxx> diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index 50597c1e5b0b..d4e6f5d554ae 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -23,6 +23,7 @@ #include "gifread.hxx" #include <memory> #include <vcl/alpha.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/BitmapWriteAccess.hxx> namespace { diff --git a/vcl/source/filter/itiff/itiff.cxx b/vcl/source/filter/itiff/itiff.cxx index 92070bbf4250..8d0700b2ae4b 100644 --- a/vcl/source/filter/itiff/itiff.cxx +++ b/vcl/source/filter/itiff/itiff.cxx @@ -24,6 +24,7 @@ #include <vcl/graph.hxx> #include <vcl/BitmapTools.hxx> #include <vcl/animate/Animation.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/BitmapWriteAccess.hxx> #include <tools/fract.hxx> #include <tools/stream.hxx> diff --git a/vcl/source/filter/png/PngImageReader.cxx b/vcl/source/filter/png/PngImageReader.cxx index b0312c72610a..4c41a6c4850f 100644 --- a/vcl/source/filter/png/PngImageReader.cxx +++ b/vcl/source/filter/png/PngImageReader.cxx @@ -15,6 +15,7 @@ #include <tools/stream.hxx> #include <vcl/bitmap.hxx> #include <vcl/alpha.hxx> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/BitmapTools.hxx> #include <comphelper/configuration.hxx> #include <comphelper/scopeguard.hxx> diff --git a/vcl/source/filter/png/PngImageWriter.cxx b/vcl/source/filter/png/PngImageWriter.cxx index b0eb6ec0fb0e..5245ea091226 100644 --- a/vcl/source/filter/png/PngImageWriter.cxx +++ b/vcl/source/filter/png/PngImageWriter.cxx @@ -9,6 +9,7 @@ #include <vcl/filter/PngImageWriter.hxx> #include <png.h> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/BitmapWriteAccess.hxx> #include <vcl/bitmap.hxx> #include <vcl/BitmapTools.hxx> diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx index dc4d78ba8955..083bcb2aef77 100644 --- a/vcl/source/graphic/GraphicObject.cxx +++ b/vcl/source/graphic/GraphicObject.cxx @@ -26,6 +26,7 @@ #include <tools/fract.hxx> #include <tools/helpers.hxx> #include <utility> +#include <vcl/animate/AnimationFrame.hxx> #include <vcl/svapp.hxx> #include <vcl/metaact.hxx> #include <vcl/GraphicObject.hxx> diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx index 370cfc31bb2e..7e23059317b8 100644 --- a/vcl/source/helper/commandinfoprovider.cxx +++ b/vcl/source/helper/commandinfoprovider.cxx @@ -18,6 +18,7 @@ */ #include <vcl/commandinfoprovider.hxx> +#include <vcl/image.hxx> #include <vcl/keycod.hxx> #include <vcl/mnemonic.hxx> #include <comphelper/string.hxx>
