avmedia/source/viewer/mediaevent_impl.cxx                          |    1 
 basctl/source/accessibility/accessibledialogwindow.cxx             |    1 
 basctl/source/basicide/textwindowaccessibility.cxx                 |    1 
 basic/source/classes/sbunoobj.cxx                                  |    1 
 cui/source/dialogs/tipofthedaydlg.cxx                              |    1 
 dbaccess/source/filter/xml/dbloader2.cxx                           |    2 +
 desktop/source/app/app.cxx                                         |    1 
 desktop/source/splash/splash.cxx                                   |    1 
 drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx       |    1 
 embeddedobj/source/general/docholder.cxx                           |    1 
 filter/source/pdf/pdffilter.cxx                                    |    1 
 framework/source/accelerators/acceleratorconfiguration.cxx         |    1 
 framework/source/accelerators/documentacceleratorconfiguration.cxx |    1 
 framework/source/accelerators/moduleacceleratorconfiguration.cxx   |    1 
 framework/source/dispatch/windowcommanddispatch.cxx                |    1 
 framework/source/helper/ocomponentaccess.cxx                       |    1 
 framework/source/layoutmanager/layoutmanager.cxx                   |    1 
 framework/source/layoutmanager/toolbarlayoutmanager.cxx            |    1 
 framework/source/uielement/generictoolbarcontroller.cxx            |    1 
 framework/source/uielement/toolbarmanager.cxx                      |    1 
 include/drawinglayer/primitive2d/textlayoutdevice.hxx              |    2 +
 include/vcl/accessibility/AccessibleBrowseBox.hxx                  |    1 
 include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx      |    1 
 include/vcl/svapp.hxx                                              |   17 
++++++----
 reportdesign/source/ui/report/ReportControllerObserver.cxx         |    1 
 sc/source/ui/Accessibility/AccessibleDocument.cxx                  |    1 
 sc/source/ui/app/inputhdl.cxx                                      |    1 
 sc/source/ui/unoobj/docuno.cxx                                     |    1 
 sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx          |    1 
 sd/source/ui/accessibility/AccessibleSlideSorterView.cxx           |    1 
 sd/source/ui/dlg/LayerTabBar.cxx                                   |    1 
 sd/source/ui/slideshow/showwin.cxx                                 |    1 
 sd/source/ui/slideshow/slideshowimpl.cxx                           |    1 
 sd/source/ui/slidesorter/controller/SlideSorterController.cxx      |    1 
 sfx2/source/sidebar/PanelLayout.cxx                                |    1 
 sfx2/source/sidebar/SidebarController.cxx                          |    1 
 sfx2/source/view/lokhelper.cxx                                     |    1 
 svtools/source/config/colorcfg.cxx                                 |    1 
 svtools/source/config/extcolorcfg.cxx                              |    1 
 svtools/source/control/accessibletabbar.cxx                        |    1 
 svtools/source/control/accessibletabbarpagelist.cxx                |    1 
 svtools/source/control/ctrlbox.cxx                                 |    1 
 svtools/source/control/tabbar.cxx                                  |    1 
 svtools/source/dialogs/prnsetup.cxx                                |    1 
 svtools/source/uno/popupwindowcontroller.cxx                       |    1 
 svx/source/form/fmsrcimp.cxx                                       |    1 
 svx/source/svdraw/sdrpaintwindow.cxx                               |    1 
 sw/qa/core/doc/doc.cxx                                             |    1 
 sw/qa/extras/tiledrendering/tiledrendering2.cxx                    |    1 
 sw/source/core/access/accdoc.cxx                                   |    1 
 sw/source/uibase/uiview/viewmdi.cxx                                |    1 
 toolkit/source/awt/animatedimagespeer.cxx                          |    1 
 toolkit/source/awt/stylesettings.cxx                               |    1 
 toolkit/source/awt/vclxmenu.cxx                                    |    1 
 toolkit/source/awt/vclxspinbutton.cxx                              |    1 
 toolkit/source/awt/vclxtabpagecontainer.cxx                        |    1 
 toolkit/source/awt/vclxtoolkit.cxx                                 |    1 
 toolkit/source/awt/vclxwindow.cxx                                  |    1 
 toolkit/source/awt/vclxwindows.cxx                                 |    1 
 toolkit/source/controls/svtxgridcontrol.cxx                        |    1 
 vcl/inc/accessibility/accessibletablistbox.hxx                     |    1 
 vcl/inc/accessibility/accessibletablistboxtable.hxx                |    1 
 vcl/inc/salvtables.hxx                                             |    1 
 vcl/qa/cppunit/IdleTask.cxx                                        |    1 
 vcl/source/accessibility/AccessibleBrowseBoxHeaderBar.cxx          |    1 
 vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx         |    1 
 vcl/source/accessibility/AccessibleBrowseBoxTable.cxx              |    3 +
 vcl/source/accessibility/AccessibleBrowseBoxTableCell.cxx          |    2 +
 vcl/source/accessibility/accessiblebrowseboxcell.cxx               |    1 
 vcl/source/accessibility/accessibletablistboxtable.cxx             |    1 
 vcl/source/accessibility/vclxaccessiblebox.cxx                     |    1 
 vcl/source/accessibility/vclxaccessibleedit.cxx                    |    1 
 vcl/source/accessibility/vclxaccessiblelist.cxx                    |    1 
 vcl/source/accessibility/vclxaccessiblemenubar.cxx                 |    1 
 vcl/source/accessibility/vclxaccessibletextcomponent.cxx           |    1 
 vcl/source/app/svapp.cxx                                           |    1 
 vcl/source/app/svmain.cxx                                          |    1 
 vcl/source/app/unohelp.cxx                                         |    1 
 vcl/source/app/unohelp2.cxx                                        |    1 
 vcl/source/control/fixedhyper.cxx                                  |    1 
 vcl/source/control/imivctl1.cxx                                    |    1 
 vcl/source/uitest/uiobject.cxx                                     |    1 
 vcl/source/window/accessibility.cxx                                |    1 
 vcl/source/window/bubblewindow.cxx                                 |    1 
 vcl/source/window/dndeventdispatcher.cxx                           |    1 
 vcl/source/window/settings.cxx                                     |    1 
 86 files changed, 101 insertions(+), 6 deletions(-)

New commits:
commit f8dad0daf9105c250b2c39ac4336e813fd82e6b4
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Sat Jan 17 15:06:11 2026 +0100
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Sun Jan 25 13:31:57 2026 +0100

    tdf#146619 Use more forward declarations in include/vcl/svapp.hxx
    
    this was skipped in previous runs, since it contains some code behind #if
    
    After inspecting these, it seems like the removals should not cause trouble.
    
    Change-Id: If1e3e3c7c0fc14ed6e8b51174a0e7f1220fdbc8b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197496
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/avmedia/source/viewer/mediaevent_impl.cxx 
b/avmedia/source/viewer/mediaevent_impl.cxx
index 5c7f95e33d11..09b7917e4313 100644
--- a/avmedia/source/viewer/mediaevent_impl.cxx
+++ b/avmedia/source/viewer/mediaevent_impl.cxx
@@ -20,6 +20,7 @@
 #include "mediaevent_impl.hxx"
 #include <vcl/svapp.hxx>
 #include <vcl/event.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 
 using namespace ::com::sun::star;
diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx 
b/basctl/source/accessibility/accessibledialogwindow.cxx
index c0de35e8bc4b..f1a786cee3d3 100644
--- a/basctl/source/accessibility/accessibledialogwindow.cxx
+++ b/basctl/source/accessibility/accessibledialogwindow.cxx
@@ -37,6 +37,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
 namespace basctl
diff --git a/basctl/source/basicide/textwindowaccessibility.cxx 
b/basctl/source/basicide/textwindowaccessibility.cxx
index a812ffe0407e..2867499177dc 100644
--- a/basctl/source/basicide/textwindowaccessibility.cxx
+++ b/basctl/source/basicide/textwindowaccessibility.cxx
@@ -40,6 +40,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/txtattr.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 #include <comphelper/diagnose_ex.hxx>
 #include <comphelper/sequence.hxx>
diff --git a/basic/source/classes/sbunoobj.cxx 
b/basic/source/classes/sbunoobj.cxx
index eaf88c60c8ce..ccc6674bcdba 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -35,6 +35,7 @@
 #include <cppuhelper/weakref.hxx>
 
 #include <rtl/math.hxx>
+#include <rtl/ref.hxx>
 #include <rtl/ustrbuf.hxx>
 
 #include <com/sun/star/script/ArrayWrapper.hpp>
diff --git a/cui/source/dialogs/tipofthedaydlg.cxx 
b/cui/source/dialogs/tipofthedaydlg.cxx
index 10728fd6d79b..395fe51fe230 100644
--- a/cui/source/dialogs/tipofthedaydlg.cxx
+++ b/cui/source/dialogs/tipofthedaydlg.cxx
@@ -25,6 +25,7 @@
 #include <vcl/commandinfoprovider.hxx>
 #include <vcl/graphicfilter.hxx>
 #include <vcl/help.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 #include <vcl/ImageTree.hxx>
 
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx 
b/dbaccess/source/filter/xml/dbloader2.cxx
index e855d9101822..4cd3cf9a64b5 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -49,11 +49,13 @@
 #include <comphelper/propertysequence.hxx>
 #include <cppuhelper/implbase.hxx>
 #include <cppuhelper/supportsservice.hxx>
+#include <rtl/ref.hxx>
 #include <sfx2/docfile.hxx>
 #include <unotools/fcm.hxx>
 #include <unotools/moduleoptions.hxx>
 #include <comphelper/diagnose_ex.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclenum.hxx>
 
 using namespace ::ucbhelper;
 using namespace ::com::sun::star::task;
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index d430ded3edc5..63382c4c14b8 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -109,6 +109,7 @@
 #endif
 #include <rtl/bootstrap.hxx>
 #include <vcl/test/GraphicsRenderTests.hxx>
+#include <vcl/exceptiontypes.hxx>
 #include <vcl/help.hxx>
 #include <vcl/weld/weld.hxx>
 #include <vcl/settings.hxx>
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 819e18e2db07..3d9dbf65b03c 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -31,6 +31,7 @@
 #include <rtl/bootstrap.hxx>
 #include <rtl/math.hxx>
 #include <vcl/introwin.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/virdev.hxx>
 #include <o3tl/string_view.hxx>
 
diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx 
b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
index f3abbe41f4a2..2d95a178d172 100644
--- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
@@ -29,6 +29,7 @@
 #include <primitive2d/textlineprimitive2d.hxx>
 #include <primitive2d/textstrikeoutprimitive2d.hxx>
 #include <drawinglayer/primitive2d/textbreakuphelper.hxx>
+#include <tools/gen.hxx>
 #include <vcl/vcllayout.hxx>
 
 namespace drawinglayer::primitive2d
diff --git a/embeddedobj/source/general/docholder.cxx 
b/embeddedobj/source/general/docholder.cxx
index cde26427316f..2b1d08b08d18 100644
--- a/embeddedobj/source/general/docholder.cxx
+++ b/embeddedobj/source/general/docholder.cxx
@@ -58,6 +58,7 @@
 #include <com/sun/star/embed/EmbedStates.hpp>
 #include <osl/diagnose.h>
 #include <utility>
+#include <tools/gen.hxx>
 #include <vcl/svapp.hxx>
 #include <unotools/resmgr.hxx>
 #include <sfx2/strings.hrc>
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index da0c907649e8..3274dccc3751 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -28,6 +28,7 @@
 #include <vcl/FilterConfigItem.hxx>
 #include <vcl/glyphitemcache.hxx>
 #include <vcl/graphic/GraphicMetadata.hxx>
+#include <vcl/vclevent.hxx>
 #include <memory>
 
 #include <com/sun/star/io/XOutputStream.hpp>
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx 
b/framework/source/accelerators/acceleratorconfiguration.cxx
index 91b2d3d1b65e..d6dfe17cbbdc 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -50,6 +50,7 @@
 #include <unotools/configpaths.hxx>
 #include <svtools/acceleratorexecute.hxx>
 #include <sal/log.hxx>
+#include <rtl/ref.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <o3tl/string_view.hxx>
 
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx 
b/framework/source/accelerators/documentacceleratorconfiguration.cxx
index 48155a2f6408..59a5cadb17b8 100644
--- a/framework/source/accelerators/documentacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx
@@ -26,6 +26,7 @@
 #include <cppuhelper/supportsservice.hxx>
 #include <comphelper/sequenceashashmap.hxx>
 #include <i18nlangtag/languagetag.hxx>
+#include <rtl/ref.hxx>
 #include <vcl/svapp.hxx>
 
 using namespace framework;
diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx 
b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
index ab516b3d2416..462c100ccb5f 100644
--- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
@@ -24,6 +24,7 @@
 
 #include <cppuhelper/supportsservice.hxx>
 #include <comphelper/sequenceashashmap.hxx>
+#include <rtl/ref.hxx>
 #include <vcl/svapp.hxx>
 
 #include <com/sun/star/util/XChangesNotifier.hpp>
diff --git a/framework/source/dispatch/windowcommanddispatch.cxx 
b/framework/source/dispatch/windowcommanddispatch.cxx
index abad29dc7529..8842c46e2127 100644
--- a/framework/source/dispatch/windowcommanddispatch.cxx
+++ b/framework/source/dispatch/windowcommanddispatch.cxx
@@ -29,6 +29,7 @@
 #include <vcl/window.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/commandevent.hxx>
+#include <vcl/vclevent.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
 
 namespace framework{
diff --git a/framework/source/helper/ocomponentaccess.cxx 
b/framework/source/helper/ocomponentaccess.cxx
index 5d0d26970ed1..b180ab3be8fa 100644
--- a/framework/source/helper/ocomponentaccess.cxx
+++ b/framework/source/helper/ocomponentaccess.cxx
@@ -22,6 +22,7 @@
 
 #include <com/sun/star/frame/FrameSearchFlag.hpp>
 
+#include <rtl/ref.hxx>
 #include <vcl/svapp.hxx>
 #include <sal/log.hxx>
 
diff --git a/framework/source/layoutmanager/layoutmanager.cxx 
b/framework/source/layoutmanager/layoutmanager.cxx
index b1ee39ed51bb..8c47b21a8480 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -54,6 +54,7 @@
 #include <comphelper/propertyvalue.hxx>
 #include <vcl/status.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 #include <vcl/svapp.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx 
b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 6d3550da4663..b159b195ba2e 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -44,6 +44,7 @@
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <sal/log.hxx>
 #include <tools/gen.hxx>
 
diff --git a/framework/source/uielement/generictoolbarcontroller.cxx 
b/framework/source/uielement/generictoolbarcontroller.cxx
index d4f811c5be18..30b71f88a8c6 100644
--- a/framework/source/uielement/generictoolbarcontroller.cxx
+++ b/framework/source/uielement/generictoolbarcontroller.cxx
@@ -32,6 +32,7 @@
 #include <svl/imageitm.hxx>
 #include <vcl/commandinfoprovider.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/weld/weld.hxx>
 #include <tools/urlobj.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
diff --git a/framework/source/uielement/toolbarmanager.cxx 
b/framework/source/uielement/toolbarmanager.cxx
index c9baa48a5a6d..1075a49929c2 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -75,6 +75,7 @@
 #include <vcl/toolbox.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/commandinfoprovider.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/weld/weldutils.hxx>
 #include <tools/debug.hxx>
 
diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx 
b/include/drawinglayer/primitive2d/textlayoutdevice.hxx
index 9eef79cb94ab..e63d8edcd2d3 100644
--- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx
+++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx
@@ -27,6 +27,8 @@
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 #include <vcl/kernarray.hxx>
 #include <vcl/svapp.hxx>
+
+#include <functional>
 #include <span>
 
 // predefines
diff --git a/include/vcl/accessibility/AccessibleBrowseBox.hxx 
b/include/vcl/accessibility/AccessibleBrowseBox.hxx
index a29481a3fffc..75c7750e6c98 100644
--- a/include/vcl/accessibility/AccessibleBrowseBox.hxx
+++ b/include/vcl/accessibility/AccessibleBrowseBox.hxx
@@ -20,6 +20,7 @@
 
 #pragma once
 
+#include <rtl/ref.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxBase.hxx>
 
 class AccessibleBrowseBoxHeaderBar;
diff --git a/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx 
b/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx
index fa009b30a652..5e9ec10d7540 100644
--- a/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx
+++ b/include/vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx
@@ -19,6 +19,7 @@
 #pragma once
 
 #include <com/sun/star/accessibility/XAccessibleValue.hpp>
+#include <tools/gen.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxCell.hxx>
 
 namespace com::sun::star::accessibility { class XAccessible; }
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 5b4e079c958e..07834f05d509 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -31,19 +31,15 @@
 #include <osl/mutex.hxx>
 #include <rtl/ustring.hxx>
 #include <osl/thread.h>
-#include <tools/gen.hxx>
 #include <tools/link.hxx>
+#include <tools/long.hxx>
 #include <vcl/dllapi.h>
 #include <vcl/IDialogRenderable.hxx>
 #include <vcl/inputtypes.hxx>
-#include <vcl/exceptiontypes.hxx>
-#include <vcl/vclevent.hxx>
-#include <vcl/vclenum.hxx>
 #include <i18nlangtag/lang.h>
 #include <o3tl/typed_flags_set.hxx>
-#include <com/sun/star/uno/Reference.h>
-
 
+class AbsoluteScreenPixelRectangle;
 class Bitmap;
 namespace tools { class JsonWriter; }
 namespace weld
@@ -69,11 +65,20 @@ class NotifyEvent;
 class KeyEvent;
 class MouseEvent;
 class GestureEventPan;
+class VclSimpleEvent;
+class VclWindowEvent;
 struct ImplSVEvent;
 struct ConvertData;
 namespace basegfx { class SystemDependentDataManager; }
+namespace rtl { template <class reference_type> class Reference; }
+
+enum class ExceptionCategory;
+enum class VclButtonsType;
+enum class VclEventId;
+enum class VclMessageType;
 
 namespace com::sun::star::uno {
+    template <class interface_type> class Reference;
     class XComponentContext;
 }
 namespace com::sun::star::ui::dialogs {
diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx 
b/reportdesign/source/ui/report/ReportControllerObserver.cxx
index 892f79872b1e..5a4c9bdd3ab3 100644
--- a/reportdesign/source/ui/report/ReportControllerObserver.cxx
+++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx
@@ -25,6 +25,7 @@
 #include <ReportController.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <FormattedFieldBeautifier.hxx>
 
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx 
b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 5c57587d2bab..64f228fa6b32 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -59,6 +59,7 @@
 #include <utility>
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <svx/AccessibleControlShape.hxx>
 #include <svx/SvxShapeTypes.hxx>
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index a9c3bb76f500..42fcfae9a7e9 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -57,6 +57,7 @@
 #include <vcl/cursor.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <tools/urlobj.hxx>
 #include <tools/json_writer.hxx>
 #include <formula/formulahelper.hxx>
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index cdf7ce098c3b..2277b34c7449 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -54,6 +54,7 @@
 #include <vcl/ptrstyle.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/themecolors.hxx>
+#include <vcl/vclevent.hxx>
 #include <tools/json_writer.hxx>
 #include <tools/multisel.hxx>
 #include <tools/UnitConversion.hxx>
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx 
b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index 0831f56ecfaf..054e66bb4f43 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -31,6 +31,7 @@
 #include <com/sun/star/accessibility/AccessibleRole.hpp>
 #include <sfx2/objsh.hxx>
 #include <tools/debug.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <cppuhelper/queryinterface.hxx>
 #include <svx/svdobj.hxx>
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx 
b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
index 19155e49d5e3..4da3304a4c18 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
@@ -49,6 +49,7 @@
 
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx
index df0b1ffa1ec3..aa0e534618cc 100644
--- a/sd/source/ui/dlg/LayerTabBar.cxx
+++ b/sd/source/ui/dlg/LayerTabBar.cxx
@@ -22,6 +22,7 @@
 #include <svx/svdpagv.hxx>
 #include <vcl/commandevent.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/weld/weld.hxx>
 #include <sfx2/dispatch.hxx>
 #include <sfx2/viewfrm.hxx>
diff --git a/sd/source/ui/slideshow/showwin.cxx 
b/sd/source/ui/slideshow/showwin.cxx
index a63093492a61..1f893f032f66 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -38,6 +38,7 @@
 #include <utility>
 #include <vcl/settings.hxx>
 #include <vcl/virdev.hxx>
+#include <vcl/vclevent.hxx>
 #include <tools/duration.hxx>
 
 using namespace ::com::sun::star;
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx 
b/sd/source/ui/slideshow/slideshowimpl.cxx
index f2091b93c7d5..0f18410a3ad3 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -79,6 +79,7 @@
 
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/help.hxx>
 #include <comphelper/processfactory.hxx>
 #include <comphelper/propertyvalue.hxx>
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx 
b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index 802968eef71b..749bacddd7df 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -66,6 +66,7 @@
 #include <vcl/commandevent.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <com/sun/star/lang/XComponent.hpp>
 #include <com/sun/star/accessibility/AccessibleEventId.hpp>
diff --git a/sfx2/source/sidebar/PanelLayout.cxx 
b/sfx2/source/sidebar/PanelLayout.cxx
index d741106369a4..ad32df1c06ab 100644
--- a/sfx2/source/sidebar/PanelLayout.cxx
+++ b/sfx2/source/sidebar/PanelLayout.cxx
@@ -14,6 +14,7 @@
 #include <sfx2/viewsh.hxx>
 #include <vcl/event.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 
 using namespace sfx2::sidebar;
 
diff --git a/sfx2/source/sidebar/SidebarController.cxx 
b/sfx2/source/sidebar/SidebarController.cxx
index d4ff65e1795f..63a681f7aa2d 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -42,6 +42,7 @@
 #include <vcl/uitest/logger.hxx>
 #include <vcl/uitest/eventdescription.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <splitwin.hxx>
 #include <comphelper/diagnose_ex.hxx>
 #include <tools/json_writer.hxx>
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index 603331236c85..b791b560bb4c 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -33,6 +33,7 @@
 #include <vcl/lok.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/commandevent.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 #include <sal/log.hxx>
 #include <sfx2/app.hxx>
diff --git a/svtools/source/config/colorcfg.cxx 
b/svtools/source/config/colorcfg.cxx
index d31fcd97773f..3c7b08b38dfc 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -42,6 +42,7 @@
 #include <vcl/event.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/themecolors.hxx>
+#include <vcl/vclevent.hxx>
 #include <officecfg/Office/UI.hxx>
 #include <officecfg/Office/Common.hxx>
 
diff --git a/svtools/source/config/extcolorcfg.cxx 
b/svtools/source/config/extcolorcfg.cxx
index b9f07ec67134..cbfc51d1ece8 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -39,6 +39,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/event.hxx>
+#include <vcl/vclevent.hxx>
 
 
 using namespace utl;
diff --git a/svtools/source/control/accessibletabbar.cxx 
b/svtools/source/control/accessibletabbar.cxx
index c70620a1917d..725f554e2bef 100644
--- a/svtools/source/control/accessibletabbar.cxx
+++ b/svtools/source/control/accessibletabbar.cxx
@@ -35,6 +35,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 
 namespace accessibility
 {
diff --git a/svtools/source/control/accessibletabbarpagelist.cxx 
b/svtools/source/control/accessibletabbarpagelist.cxx
index 94b8e08a9680..4ff7cd62ba2b 100644
--- a/svtools/source/control/accessibletabbarpagelist.cxx
+++ b/svtools/source/control/accessibletabbarpagelist.cxx
@@ -31,6 +31,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
 
diff --git a/svtools/source/control/ctrlbox.cxx 
b/svtools/source/control/ctrlbox.cxx
index d131b0b29bed..0c1d4816ebe5 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -32,6 +32,7 @@
 #include <vcl/fieldvalues.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/image.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/weld/MetricSpinButton.hxx>
 #include <vcl/weld/customweld.hxx>
diff --git a/svtools/source/control/tabbar.cxx 
b/svtools/source/control/tabbar.cxx
index 430a66964fc1..5942aa557d1e 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -33,6 +33,7 @@
 #include <vcl/settings.hxx>
 #include <vcl/commandevent.hxx>
 #include <vcl/ptrstyle.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/weld/weldutils.hxx>
 #include <svtools/svtresid.hxx>
 #include <svtools/strings.hrc>
diff --git a/svtools/source/dialogs/prnsetup.cxx 
b/svtools/source/dialogs/prnsetup.cxx
index 00ddd9efb7be..0292caf03b05 100644
--- a/svtools/source/dialogs/prnsetup.cxx
+++ b/svtools/source/dialogs/prnsetup.cxx
@@ -29,6 +29,7 @@
 #include <vcl/print.hxx>
 #include <vcl/PrinterSupport.hxx>
 #include <vcl/event.hxx>
+#include <vcl/vclevent.hxx>
 #include <sal/log.hxx>
 
 void ImplFillPrnDlgListBox( const Printer* pPrinter,
diff --git a/svtools/source/uno/popupwindowcontroller.cxx 
b/svtools/source/uno/popupwindowcontroller.cxx
index 0bdd5e0bad89..df753062bab0 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -22,6 +22,7 @@
 
 #include <vcl/svapp.hxx>
 #include <vcl/toolbox.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <svtools/popupwindowcontroller.hxx>
 #include <svtools/toolbarmenu.hxx>
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index d3d7c23e38a6..3961f8841505 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -24,6 +24,7 @@
 #include <svx/fmtools.hxx>
 #include <svx/fmsrccfg.hxx>
 #include <tools/debug.hxx>
+#include <tools/gen.hxx>
 #include <comphelper/diagnose_ex.hxx>
 #include <tools/wldcrd.hxx>
 #include <vcl/svapp.hxx>
diff --git a/svx/source/svdraw/sdrpaintwindow.cxx 
b/svx/source/svdraw/sdrpaintwindow.cxx
index 9bca773d9d99..453ee732cd9e 100644
--- a/svx/source/svdraw/sdrpaintwindow.cxx
+++ b/svx/source/svdraw/sdrpaintwindow.cxx
@@ -25,6 +25,7 @@
 #include <vcl/gdimtf.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 #include <svtools/optionsdrawinglayer.hxx>
 #include <officecfg/Office/Common.hxx>
diff --git a/sw/qa/core/doc/doc.cxx b/sw/qa/core/doc/doc.cxx
index 5c801d5c194b..b3c2bea3e8f5 100644
--- a/sw/qa/core/doc/doc.cxx
+++ b/sw/qa/core/doc/doc.cxx
@@ -21,6 +21,7 @@
 #include <vcl/event.hxx>
 #include <editeng/langitem.hxx>
 #include <vcl/scheduler.hxx>
+#include <vcl/vclevent.hxx>
 #include <comphelper/propertyvalue.hxx>
 #include <comphelper/scopeguard.hxx>
 
diff --git a/sw/qa/extras/tiledrendering/tiledrendering2.cxx 
b/sw/qa/extras/tiledrendering/tiledrendering2.cxx
index c5788e72d4a1..78e97004d5d7 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering2.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering2.cxx
@@ -20,6 +20,7 @@
 #include <sfx2/viewfrm.hxx>
 #include <sfx2/msgpool.hxx>
 #include <vcl/scheduler.hxx>
+#include <vcl/vclevent.hxx>
 #include <comphelper/propertyvalue.hxx>
 #include <comphelper/dispatchcommand.hxx>
 #include <sfx2/lokhelper.hxx>
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index 08f5d4bab218..663aa68a85ae 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -27,6 +27,7 @@
 #include <cppuhelper/typeprovider.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <viewsh.hxx>
 #include <doc.hxx>
 #include <accmap.hxx>
diff --git a/sw/source/uibase/uiview/viewmdi.cxx 
b/sw/source/uibase/uiview/viewmdi.cxx
index 24b55ca906d4..842a09602249 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -25,6 +25,7 @@
 #include <svl/srchitem.hxx>
 #include <svl/stritem.hxx>
 #include <sfx2/request.hxx>
+#include <vcl/vclevent.hxx>
 #include <swmodule.hxx>
 #include <view.hxx>
 #include <wrtsh.hxx>
diff --git a/toolkit/source/awt/animatedimagespeer.cxx 
b/toolkit/source/awt/animatedimagespeer.cxx
index 960a542fb38c..48bc18a153e9 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -35,6 +35,7 @@
 #include <vcl/toolkit/throbber.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <limits>
 #include <string_view>
diff --git a/toolkit/source/awt/stylesettings.cxx 
b/toolkit/source/awt/stylesettings.cxx
index e1869dd8d2e3..0e2551729354 100644
--- a/toolkit/source/awt/stylesettings.cxx
+++ b/toolkit/source/awt/stylesettings.cxx
@@ -30,6 +30,7 @@
 #include <vcl/window.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 
 
 namespace toolkit
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index afa1164fa68b..6d76b39970de 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -32,6 +32,7 @@
 #include <vcl/image.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/window.hxx>
 
 #include <com/sun/star/awt/KeyModifier.hpp>
diff --git a/toolkit/source/awt/vclxspinbutton.cxx 
b/toolkit/source/awt/vclxspinbutton.cxx
index 5da0c3ad0649..b3811ce725ac 100644
--- a/toolkit/source/awt/vclxspinbutton.cxx
+++ b/toolkit/source/awt/vclxspinbutton.cxx
@@ -23,6 +23,7 @@
 
 #include <vcl/toolkit/spin.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include "vclxwindows_internal.hxx"
 
 namespace toolkit
diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx 
b/toolkit/source/awt/vclxtabpagecontainer.cxx
index 43a813a3e194..fdf88f6f4d0c 100644
--- a/toolkit/source/awt/vclxtabpagecontainer.cxx
+++ b/toolkit/source/awt/vclxtabpagecontainer.cxx
@@ -28,6 +28,7 @@
 #include <vcl/tabpage.hxx>
 #include <vcl/tabctrl.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
 
 #include <helper/tkresmgr.hxx>
diff --git a/toolkit/source/awt/vclxtoolkit.cxx 
b/toolkit/source/awt/vclxtoolkit.cxx
index 576bedde5ed3..8341369248ca 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -64,6 +64,7 @@
 #include <vcl/dndlistenercontainer.hxx>
 #include <vcl/idletask.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/wintypes.hxx>
 
 #include <frozen/bits/defines.h>
diff --git a/toolkit/source/awt/vclxwindow.cxx 
b/toolkit/source/awt/vclxwindow.cxx
index c1cfd6ffdc68..f042253e13ae 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -54,6 +54,7 @@
 #include <vcl/tabpage.hxx>
 #include <vcl/ctrl.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/unohelp.hxx>
 #include <vcl/commandevent.hxx>
 #include <comphelper/flagguard.hxx>
diff --git a/toolkit/source/awt/vclxwindows.cxx 
b/toolkit/source/awt/vclxwindows.cxx
index 61e43e126512..468aeb88ffca 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -56,6 +56,7 @@
 #include <vcl/tabctrl.hxx>
 #include <vcl/unohelp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 #include <comphelper/diagnose_ex.hxx>
 #include <tools/debug.hxx>
 
diff --git a/toolkit/source/controls/svtxgridcontrol.cxx 
b/toolkit/source/controls/svtxgridcontrol.cxx
index d6cba15f9956..182f4da189db 100644
--- a/toolkit/source/controls/svtxgridcontrol.cxx
+++ b/toolkit/source/controls/svtxgridcontrol.cxx
@@ -38,6 +38,7 @@
 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
 
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <algorithm>
 
diff --git a/vcl/inc/accessibility/accessibletablistbox.hxx 
b/vcl/inc/accessibility/accessibletablistbox.hxx
index 613651be486a..a4fd5ce66a01 100644
--- a/vcl/inc/accessibility/accessibletablistbox.hxx
+++ b/vcl/inc/accessibility/accessibletablistbox.hxx
@@ -21,6 +21,7 @@
 
 #include <vcl/accessibility/AccessibleBrowseBox.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxObjType.hxx>
+#include <vcl/vclptr.hxx>
 
 class SvHeaderTabListBox;
 
diff --git a/vcl/inc/accessibility/accessibletablistboxtable.hxx 
b/vcl/inc/accessibility/accessibletablistboxtable.hxx
index b82b2f154c87..87f765cf96c3 100644
--- a/vcl/inc/accessibility/accessibletablistboxtable.hxx
+++ b/vcl/inc/accessibility/accessibletablistboxtable.hxx
@@ -21,6 +21,7 @@
 
 #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
 #include <vcl/accessibility/AccessibleBrowseBoxTable.hxx>
+#include <vcl/vclptr.hxx>
 
 class SvHeaderTabListBox;
 
diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx
index 6d0d9f203c31..c413d591d99e 100644
--- a/vcl/inc/salvtables.hxx
+++ b/vcl/inc/salvtables.hxx
@@ -27,6 +27,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/syswin.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/ctrl.hxx>
 #include <vcl/toolkit/edit.hxx>
diff --git a/vcl/qa/cppunit/IdleTask.cxx b/vcl/qa/cppunit/IdleTask.cxx
index 874544df6638..32531677a623 100644
--- a/vcl/qa/cppunit/IdleTask.cxx
+++ b/vcl/qa/cppunit/IdleTask.cxx
@@ -11,6 +11,7 @@
 #include <cppunit/extensions/HelperMacros.h>
 #include <cppunit/plugin/TestPlugIn.h>
 
+#include <rtl/ref.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/idletask.hxx>
 #include <salhelper/thread.hxx>
diff --git a/vcl/source/accessibility/AccessibleBrowseBoxHeaderBar.cxx 
b/vcl/source/accessibility/AccessibleBrowseBoxHeaderBar.cxx
index a478a53f614d..f582ca0a7773 100644
--- a/vcl/source/accessibility/AccessibleBrowseBoxHeaderBar.cxx
+++ b/vcl/source/accessibility/AccessibleBrowseBoxHeaderBar.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <tools/gen.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxHeaderBar.hxx>
 #include <vcl/accessibletableprovider.hxx>
 #include <vcl/unohelp.hxx>
diff --git a/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx 
b/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx
index 46bc2ae8a7f6..922fa40aca5c 100644
--- a/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx
+++ b/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx
@@ -18,6 +18,7 @@
  */
 
 
+#include <tools/gen.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxHeaderCell.hxx>
 #include <vcl/accessibletableprovider.hxx>
 #include <com/sun/star/accessibility/AccessibleStateType.hpp>
diff --git a/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx 
b/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx
index 0f5eac323072..9ad18b117343 100644
--- a/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx
+++ b/vcl/source/accessibility/AccessibleBrowseBoxTable.cxx
@@ -17,11 +17,14 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <rtl/ref.hxx>
+#include <tools/gen.hxx>
 #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>
+#include <com/sun/star/uno/Reference.hxx>
 
 
 using ::com::sun::star::uno::Reference;
diff --git a/vcl/source/accessibility/AccessibleBrowseBoxTableCell.cxx 
b/vcl/source/accessibility/AccessibleBrowseBoxTableCell.cxx
index 49af2d3028f1..a489e7db5fb7 100644
--- a/vcl/source/accessibility/AccessibleBrowseBoxTableCell.cxx
+++ b/vcl/source/accessibility/AccessibleBrowseBoxTableCell.cxx
@@ -18,6 +18,8 @@
  */
 
 
+#include <rtl/ref.hxx>
+#include <tools/gen.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxTableCell.hxx>
 
 #include <vcl/accessibletableprovider.hxx>
diff --git a/vcl/source/accessibility/accessiblebrowseboxcell.cxx 
b/vcl/source/accessibility/accessiblebrowseboxcell.cxx
index f439c5d940cd..e2053425d0e9 100644
--- a/vcl/source/accessibility/accessiblebrowseboxcell.cxx
+++ b/vcl/source/accessibility/accessiblebrowseboxcell.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/types.h>
+#include <tools/gen.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxCell.hxx>
 #include <vcl/accessibletableprovider.hxx>
 
diff --git a/vcl/source/accessibility/accessibletablistboxtable.cxx 
b/vcl/source/accessibility/accessibletablistboxtable.cxx
index b8276f64d5ff..47b688b2b4b5 100644
--- a/vcl/source/accessibility/accessibletablistboxtable.cxx
+++ b/vcl/source/accessibility/accessibletablistboxtable.cxx
@@ -24,6 +24,7 @@
 #include <vcl/accessibility/AccessibleBrowseBoxCheckBoxCell.hxx>
 #include <vcl/accessibility/AccessibleBrowseBoxTableCell.hxx>
 #include <vcl/toolkit/svtabbx.hxx>
+#include <vcl/vclevent.hxx>
 
 // class AccessibleTabListBoxTable 
---------------------------------------------
 
diff --git a/vcl/source/accessibility/vclxaccessiblebox.cxx 
b/vcl/source/accessibility/vclxaccessiblebox.cxx
index 43f653c8848e..8433726cc55e 100644
--- a/vcl/source/accessibility/vclxaccessiblebox.cxx
+++ b/vcl/source/accessibility/vclxaccessiblebox.cxx
@@ -28,6 +28,7 @@
 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
 
 #include <vcl/accessibility/strings.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/toolkit/combobox.hxx>
 
diff --git a/vcl/source/accessibility/vclxaccessibleedit.cxx 
b/vcl/source/accessibility/vclxaccessibleedit.cxx
index 68d93710bbe8..00af7f828642 100644
--- a/vcl/source/accessibility/vclxaccessibleedit.cxx
+++ b/vcl/source/accessibility/vclxaccessibleedit.cxx
@@ -35,6 +35,7 @@
 #include <vcl/textdata.hxx>
 #include <vcl/txtattr.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/xtextedt.hxx>
 #include <sot/exchange.hxx>
 #include <sot/formats.hxx>
diff --git a/vcl/source/accessibility/vclxaccessiblelist.cxx 
b/vcl/source/accessibility/vclxaccessiblelist.cxx
index 724398d4cb99..0cc08c238116 100644
--- a/vcl/source/accessibility/vclxaccessiblelist.cxx
+++ b/vcl/source/accessibility/vclxaccessiblelist.cxx
@@ -33,6 +33,7 @@
 #include <vcl/toolkit/combobox.hxx>
 #include <vcl/toolkit/lstbox.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
diff --git a/vcl/source/accessibility/vclxaccessiblemenubar.cxx 
b/vcl/source/accessibility/vclxaccessiblemenubar.cxx
index 4e64803db783..93a5f0215892 100644
--- a/vcl/source/accessibility/vclxaccessiblemenubar.cxx
+++ b/vcl/source/accessibility/vclxaccessiblemenubar.cxx
@@ -25,6 +25,7 @@
 #include <vcl/window.hxx>
 #include <vcl/menu.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 using namespace ::com::sun::star::accessibility;
 using namespace ::com::sun::star::uno;
diff --git a/vcl/source/accessibility/vclxaccessibletextcomponent.cxx 
b/vcl/source/accessibility/vclxaccessibletextcomponent.cxx
index 2bc40dc312c8..0be26a5b52b5 100644
--- a/vcl/source/accessibility/vclxaccessibletextcomponent.cxx
+++ b/vcl/source/accessibility/vclxaccessibletextcomponent.cxx
@@ -32,6 +32,7 @@
 #include <vcl/ctrl.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/unohelp.hxx>
+#include <vcl/vclevent.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
 using namespace ::com::sun::star;
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index fded2b515571..f2c5766488f7 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -40,6 +40,7 @@
 
 #include <vcl/toolkit/dialog.hxx>
 #include <vcl/dialoghelper.hxx>
+#include <vcl/exceptiontypes.hxx>
 #include <vcl/lok.hxx>
 #include <vcl/toolkit/floatwin.hxx>
 #include <vcl/settings.hxx>
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 58eec341a555..f7c3bc6ee894 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -35,6 +35,7 @@
 #include <unotools/syslocale.hxx>
 #include <unotools/syslocaleoptions.hxx>
 #include <utility>
+#include <vcl/exceptiontypes.hxx>
 #include <vcl/QueueInfo.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/vclmain.hxx>
diff --git a/vcl/source/app/unohelp.cxx b/vcl/source/app/unohelp.cxx
index 6664e469acca..86702a4fb97c 100644
--- a/vcl/source/app/unohelp.cxx
+++ b/vcl/source/app/unohelp.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <tools/gen.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/unohelp.hxx>
 
diff --git a/vcl/source/app/unohelp2.cxx b/vcl/source/app/unohelp2.cxx
index 2d8816dd8041..8c31d7562046 100644
--- a/vcl/source/app/unohelp2.cxx
+++ b/vcl/source/app/unohelp2.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <rtl/ref.hxx>
 #include <sal/log.hxx>
 #include <utility>
 #include <vcl/unohelp2.hxx>
diff --git a/vcl/source/control/fixedhyper.cxx 
b/vcl/source/control/fixedhyper.cxx
index 07eadda94bc5..c783b4b620f4 100644
--- a/vcl/source/control/fixedhyper.cxx
+++ b/vcl/source/control/fixedhyper.cxx
@@ -23,6 +23,7 @@
 #include <vcl/toolkit/fixedhyper.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/weld/weld.hxx>
 #include <vcl/ptrstyle.hxx>
 #include <comphelper/anytostring.hxx>
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index 5a472a573ba1..f9fcfaa28929 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -27,6 +27,7 @@
 #include <vcl/event.hxx>
 #include <vcl/salnativewidgets.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <tools/poly.hxx>
 #include <vcl/lineinfo.hxx>
 #include <vcl/i18nhelp.hxx>
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index e6996e979a9e..656af6d4e41c 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -33,6 +33,7 @@
 #include <vcl/toolkit/MenuButton.hxx>
 #include <vcl/toolkit/vclmedit.hxx>
 #include <vcl/uitest/logger.hxx>
+#include <vcl/vclevent.hxx>
 #include <uiobject-internal.hxx>
 #include <verticaltabctrl.hxx>
 
diff --git a/vcl/source/window/accessibility.cxx 
b/vcl/source/window/accessibility.cxx
index e65b4940c22f..7e5dfde6ff2d 100644
--- a/vcl/source/window/accessibility.cxx
+++ b/vcl/source/window/accessibility.cxx
@@ -23,6 +23,7 @@
 #include <vcl/menu.hxx>
 #include <vcl/mnemonic.hxx>
 #include <vcl/accessibility/vclxaccessiblecomponent.hxx>
+#include <vcl/vclevent.hxx>
 #include <vcl/wrkwin.hxx>
 #include <comphelper/lok.hxx>
 
diff --git a/vcl/source/window/bubblewindow.cxx 
b/vcl/source/window/bubblewindow.cxx
index f05dab15e681..7648c61b8078 100644
--- a/vcl/source/window/bubblewindow.cxx
+++ b/vcl/source/window/bubblewindow.cxx
@@ -23,6 +23,7 @@
 #include <vcl/lineinfo.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
+#include <vcl/vclevent.hxx>
 #include <unotools/resmgr.hxx>
 #include <bubblewindow.hxx>
 #include <bitmaps.hlst>
diff --git a/vcl/source/window/dndeventdispatcher.cxx 
b/vcl/source/window/dndeventdispatcher.cxx
index 8897d22d5384..7822d39abac7 100644
--- a/vcl/source/window/dndeventdispatcher.cxx
+++ b/vcl/source/window/dndeventdispatcher.cxx
@@ -24,6 +24,7 @@
 #include <vcl/dndlistenercontainer.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 using namespace ::cppu;
 using namespace ::com::sun::star::uno;
diff --git a/vcl/source/window/settings.cxx b/vcl/source/window/settings.cxx
index 901881a606c2..226c76d57a99 100644
--- a/vcl/source/window/settings.cxx
+++ b/vcl/source/window/settings.cxx
@@ -24,6 +24,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/window.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/vclevent.hxx>
 
 #include <officecfg/Office/Common.hxx>
 

Reply via email to