include/vbahelper/vbaapplicationbase.hxx | 4 ---- include/vbahelper/vbacollectionimpl.hxx | 2 -- include/vbahelper/vbadialogbase.hxx | 4 ---- include/vbahelper/vbadialogsbase.hxx | 6 ------ include/vbahelper/vbadocumentbase.hxx | 3 --- include/vbahelper/vbadocumentsbase.hxx | 4 ---- include/vbahelper/vbaeventshelperbase.hxx | 1 - include/vbahelper/vbafontbase.hxx | 4 ---- include/vbahelper/vbaglobalbase.hxx | 5 ----- include/vbahelper/vbahelperinterface.hxx | 1 - include/vbahelper/vbapagesetupbase.hxx | 3 --- include/vbahelper/vbapropvalue.hxx | 3 --- include/vbahelper/vbareturntypes.hxx | 1 - include/vbahelper/vbashape.hxx | 8 -------- include/vbahelper/vbashaperange.hxx | 6 ------ include/vbahelper/vbashapes.hxx | 5 ----- include/vbahelper/vbatextframe.hxx | 5 ----- include/vbahelper/vbawindowbase.hxx | 3 --- 18 files changed, 68 deletions(-)
New commits: commit beb52a267922f4700941d25fdc1f92dd2c4012a4 Author: Gabor Kelemen <[email protected]> AuthorDate: Tue Nov 11 09:39:46 2025 +0100 Commit: Gabor Kelemen <[email protected]> CommitDate: Sun Nov 30 23:08:44 2025 +0100 tdf#146619 Run IWYU again on include/vbahelper Change-Id: I95704033b0c79ee64375fc383edfc2aecabcc970 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193919 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/include/vbahelper/vbaapplicationbase.hxx b/include/vbahelper/vbaapplicationbase.hxx index 6c8f4460fa00..f580fb3402f1 100644 --- a/include/vbahelper/vbaapplicationbase.hxx +++ b/include/vbahelper/vbaapplicationbase.hxx @@ -19,13 +19,9 @@ #ifndef INCLUDED_VBAHELPER_VBAAPPLICATIONBASE_HXX #define INCLUDED_VBAHELPER_VBAAPPLICATIONBASE_HXX -#include <exception> #include <memory> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> #include <ooo/vba/XApplicationBase.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index d70f531e113f..527fd117ac23 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -20,14 +20,12 @@ #ifndef INCLUDED_VBAHELPER_VBACOLLECTIONIMPL_HXX #define INCLUDED_VBAHELPER_VBACOLLECTIONIMPL_HXX -#include <exception> #include <utility> #include <vector> #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> -#include <com/sun/star/lang/WrappedTargetException.hpp> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/RuntimeException.hpp> diff --git a/include/vbahelper/vbadialogbase.hxx b/include/vbahelper/vbadialogbase.hxx index d3834e966551..32e272bd0d88 100644 --- a/include/vbahelper/vbadialogbase.hxx +++ b/include/vbahelper/vbadialogbase.hxx @@ -19,15 +19,11 @@ #ifndef INCLUDED_VBAHELPER_VBADIALOGBASE_HXX #define INCLUDED_VBAHELPER_VBADIALOGBASE_HXX -#include <exception> - #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <ooo/vba/XDialogBase.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> #include <vbahelper/vbadllapi.h> -#include <utility> #include <vbahelper/vbahelper.hxx> #include <vbahelper/vbahelperinterface.hxx> diff --git a/include/vbahelper/vbadialogsbase.hxx b/include/vbahelper/vbadialogsbase.hxx index d4292cac9a81..7ff8765865f4 100644 --- a/include/vbahelper/vbadialogsbase.hxx +++ b/include/vbahelper/vbadialogsbase.hxx @@ -19,15 +19,9 @@ #ifndef INCLUDED_VBAHELPER_VBADIALOGSBASE_HXX #define INCLUDED_VBAHELPER_VBADIALOGSBASE_HXX -#include <exception> - -#include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <ooo/vba/XDialogsBase.hpp> #include <sal/types.h> #include <vbahelper/vbadllapi.h> -#include <utility> #include <vbahelper/vbahelper.hxx> #include <vbahelper/vbahelperinterface.hxx> diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx index e2fda81a58ff..f69d6de46b40 100644 --- a/include/vbahelper/vbadocumentbase.hxx +++ b/include/vbahelper/vbadocumentbase.hxx @@ -19,11 +19,8 @@ #ifndef INCLUDED_VBAHELPER_VBADOCUMENTBASE_HXX #define INCLUDED_VBAHELPER_VBADOCUMENTBASE_HXX -#include <exception> - #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/XInterface.hpp> #include <ooo/vba/XDocumentBase.hpp> diff --git a/include/vbahelper/vbadocumentsbase.hxx b/include/vbahelper/vbadocumentsbase.hxx index 3f8acd3e70bd..e02fbf7833f8 100644 --- a/include/vbahelper/vbadocumentsbase.hxx +++ b/include/vbahelper/vbadocumentsbase.hxx @@ -19,13 +19,9 @@ #ifndef INCLUDED_VBAHELPER_VBADOCUMENTSBASE_HXX #define INCLUDED_VBAHELPER_VBADOCUMENTSBASE_HXX -#include <exception> - #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Type.hxx> #include <ooo/vba/XDocumentsBase.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbaeventshelperbase.hxx b/include/vbahelper/vbaeventshelperbase.hxx index 95766403984a..e1fd3f14bac9 100644 --- a/include/vbahelper/vbaeventshelperbase.hxx +++ b/include/vbahelper/vbaeventshelperbase.hxx @@ -25,7 +25,6 @@ #include <unordered_map> #include <com/sun/star/document/XEventListener.hpp> -#include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/script/vba/XVBAEventProcessor.hpp> diff --git a/include/vbahelper/vbafontbase.hxx b/include/vbahelper/vbafontbase.hxx index d388715c93ba..5f03cb7b6205 100644 --- a/include/vbahelper/vbafontbase.hxx +++ b/include/vbahelper/vbafontbase.hxx @@ -19,11 +19,7 @@ #ifndef INCLUDED_VBAHELPER_VBAFONTBASE_HXX #define INCLUDED_VBAHELPER_VBAFONTBASE_HXX -#include <exception> - -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <ooo/vba/XFontBase.hpp> #include <sal/types.h> #include <vbahelper/vbadllapi.h> diff --git a/include/vbahelper/vbaglobalbase.hxx b/include/vbahelper/vbaglobalbase.hxx index 6cd5edb726ed..bd46761c0147 100644 --- a/include/vbahelper/vbaglobalbase.hxx +++ b/include/vbahelper/vbaglobalbase.hxx @@ -19,12 +19,7 @@ #ifndef INCLUDED_VBAHELPER_VBAGLOBALBASE_HXX #define INCLUDED_VBAHELPER_VBAGLOBALBASE_HXX -#include <exception> - -#include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <ooo/vba/XGlobalsBase.hpp> #include <rtl/ustring.hxx> diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index 6d4b78979a2c..601fbd918b6f 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -22,7 +22,6 @@ #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> diff --git a/include/vbahelper/vbapagesetupbase.hxx b/include/vbahelper/vbapagesetupbase.hxx index a6d8fadce7e6..bee655947897 100644 --- a/include/vbahelper/vbapagesetupbase.hxx +++ b/include/vbahelper/vbapagesetupbase.hxx @@ -19,10 +19,7 @@ #ifndef INCLUDED_VBAHELPER_VBAPAGESETUPBASE_HXX #define INCLUDED_VBAHELPER_VBAPAGESETUPBASE_HXX -#include <exception> - #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <ooo/vba/XPageSetupBase.hpp> #include <sal/types.h> #include <vbahelper/vbadllapi.h> diff --git a/include/vbahelper/vbapropvalue.hxx b/include/vbahelper/vbapropvalue.hxx index fe7cbf1bd12b..d6cf49ad4de8 100644 --- a/include/vbahelper/vbapropvalue.hxx +++ b/include/vbahelper/vbapropvalue.hxx @@ -19,10 +19,7 @@ #ifndef SC_VBA_PROPVALULE_HXX #define SC_VBA_PROPVALULE_HXX -#include <exception> - #include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <cppuhelper/implbase.hxx> #include <ooo/vba/XPropValue.hpp> #include <rtl/ustring.hxx> diff --git a/include/vbahelper/vbareturntypes.hxx b/include/vbahelper/vbareturntypes.hxx index 2d066d797cb4..d1873af1a054 100644 --- a/include/vbahelper/vbareturntypes.hxx +++ b/include/vbahelper/vbareturntypes.hxx @@ -20,7 +20,6 @@ #define INCLUDED_VBAHELPER_VBARETURNTYPES_HXX #include <com/sun/star/script/XDefaultProperty.hpp> -#include <com/sun/star/uno/RuntimeException.hpp> #include <cppuhelper/implbase.hxx> #include <ooo/vba/msforms/XReturnInteger.hpp> #include <rtl/ustring.hxx> diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 0766b275b556..2791b72eb21b 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -19,17 +19,9 @@ #ifndef INCLUDED_VBAHELPER_VBASHAPE_HXX #define INCLUDED_VBAHELPER_VBASHAPE_HXX -#include <exception> -#include <memory> - #include <cppuhelper/implbase.hxx> -#include <com/sun/star/lang/EventObject.hpp> -#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XEventListener.hpp> -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> #include <ooo/vba/msforms/XShape.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbashaperange.hxx b/include/vbahelper/vbashaperange.hxx index 3dff675063aa..c04f20415606 100644 --- a/include/vbahelper/vbashaperange.hxx +++ b/include/vbahelper/vbashaperange.hxx @@ -19,13 +19,7 @@ #ifndef INCLUDED_VBAHELPER_VBASHAPERANGE_HXX #define INCLUDED_VBAHELPER_VBASHAPERANGE_HXX -#include <exception> - -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Type.hxx> #include <ooo/vba/msforms/XShapeRange.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index 0367f16785c6..3dabfd616134 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -19,15 +19,10 @@ #ifndef INCLUDED_VBAHELPER_VBASHAPES_HXX #define INCLUDED_VBAHELPER_VBASHAPES_HXX -#include <exception> #include <string_view> -#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Type.hxx> #include <ooo/vba/msforms/XShapes.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbatextframe.hxx b/include/vbahelper/vbatextframe.hxx index 3c8651bc4704..1a0f6a92b1fe 100644 --- a/include/vbahelper/vbatextframe.hxx +++ b/include/vbahelper/vbatextframe.hxx @@ -19,12 +19,7 @@ #ifndef INCLUDED_VBAHELPER_VBATEXTFRAME_HXX #define INCLUDED_VBAHELPER_VBATEXTFRAME_HXX -#include <exception> - -#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> #include <ooo/vba/msforms/XTextFrame.hpp> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/include/vbahelper/vbawindowbase.hxx b/include/vbahelper/vbawindowbase.hxx index c55d60b6bc82..148d650f7967 100644 --- a/include/vbahelper/vbawindowbase.hxx +++ b/include/vbahelper/vbawindowbase.hxx @@ -20,12 +20,9 @@ #ifndef INCLUDED_VBAHELPER_VBAWINDOWBASE_HXX #define INCLUDED_VBAHELPER_VBAWINDOWBASE_HXX -#include <exception> - #include <cppuhelper/weakref.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <ooo/vba/XWindowBase.hpp> #include <rtl/ustring.hxx>
