diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-05-13 07:52:14 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-05-16 11:49:18 +0200 |
commit | 4b04eae81478d4aa19f3bdc3f2d6247063aeb6cd (patch) | |
tree | 04216a0794f11b1a48e09c328777d905d2e33874 /svx | |
parent | e875a317c4adf00bbad00fb8176c26cd1a66973e (diff) |
tdf#42949 Fix IWYU warnings in include/svx/[e-g]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I861d3f0fa15ee3b7e0e830c4fac2e5794ea4071b
Reviewed-on: https://gerrit.libreoffice.org/72213
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'svx')
25 files changed, 46 insertions, 0 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index 9a8d1ef41975..fdeac2f6ddb2 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -49,6 +49,9 @@ #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp> +#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> +#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> +#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp> #include <basegfx/numeric/ftools.hxx> #include <basegfx/color/bcolortools.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx index b3800b6dfef5..8326c78f4f5a 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx @@ -25,6 +25,8 @@ #include <osl/diagnose.h> #include <tools/fract.hxx> +#include <com/sun/star/drawing/EnhancedCustomShapeParameterType.hpp> + // Makes parser a static resource, // we're synchronized externally. // But watch out, the parser might have diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index b219843b13e1..5c38179be07e 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -31,6 +31,7 @@ #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> +#include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <bitmaps.hlst> diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index 0ece8d22af00..d5a389e7eaf4 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -23,9 +23,11 @@ #include <sfx2/module.hxx> #include <sfx2/viewfrm.hxx> #include <svl/eitem.hxx> +#include <svl/itempool.hxx> #include <svtools/colrdlg.hxx> #include <sfx2/viewsh.hxx> #include <svx/colorbox.hxx> +#include <svx/f3dchild.hxx> #include <svx/xflclit.hxx> #include <svx/svdmodel.hxx> #include <svx/globl3d.hxx> diff --git a/svx/source/engine3d/view3d1.cxx b/svx/source/engine3d/view3d1.cxx index 729d146c742d..4a20e3821e9a 100644 --- a/svx/source/engine3d/view3d1.cxx +++ b/svx/source/engine3d/view3d1.cxx @@ -31,6 +31,7 @@ #include <svx/e3ditem.hxx> #include <editeng/colritem.hxx> #include <svx/lathe3d.hxx> +#include <svx/scene3d.hxx> #include <svx/sphere3d.hxx> #include <svx/extrud3d.hxx> #include <svx/e3dundo.hxx> diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 4f5ddf20c38b..02e98c643ed7 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -42,7 +42,9 @@ #include <com/sun/star/sdb/RowChangeAction.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/XPreparedStatement.hpp> +#include <com/sun/star/sdbc/XResultSetUpdate.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbcx/XDeleteRows.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index a764497b189d..86946e76cdec 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/form/XFormComponent.hpp> #include <com/sun/star/form/XLoadable.hpp> +#include <com/sun/star/form/XReset.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/NoSupportException.hpp> diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index b6dd17200d63..dd14bffef58c 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/awt/MouseWheelBehavior.hpp> #include <com/sun/star/awt/VisualEffect.hpp> #include <com/sun/star/container/XChild.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/form/XBoundComponent.hpp> @@ -41,9 +42,12 @@ #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> +#include <com/sun/star/sdbc/XRowSet.hpp> #include <com/sun/star/sdbc/XStatement.hpp> #include <com/sun/star/util/NumberFormat.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> +#include <com/sun/star/util/XNumberFormatter.hpp> #include <com/sun/star/util/Time.hpp> #include <com/sun/star/util/Date.hpp> diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index ef8b5d0e4cce..d621b0f0a622 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/sdb/XResultSetAccess.hpp> #include <com/sun/star/sdb/RowChangeAction.hpp> #include <com/sun/star/sdb/XRowsChangeBroadcaster.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/XResultSetUpdate.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> #include <com/sun/star/container/XChild.hpp> @@ -41,6 +42,7 @@ #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/PropertyChangeEvent.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> #include <tools/diagnose_ex.h> #include <tools/debug.hxx> #include <tools/fract.hxx> diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 5bcd6a4b8df3..08a975fca685 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/util/NumberFormatter.hpp> #include <com/sun/star/beans/XFastPropertySet.hpp> +#include <com/sun/star/sdb/SQLContext.hpp> #include <comphelper/processfactory.hxx> #include <comphelper/string.hxx> @@ -50,6 +51,7 @@ #include <vcl/settings.hxx> #include <tools/diagnose_ex.h> #include <vcl/commandevent.hxx> +#include <vcl/event.hxx> #include <vcl/svlbitm.hxx> #include <vcl/treelistentry.hxx> #include <vcl/viewdataentry.hxx> diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index 29d19f5358dc..e03e9cb98d85 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -30,6 +30,7 @@ #include <svx/dialmgr.hxx> #include <svx/fmpage.hxx> #include <svx/fmshell.hxx> +#include <svx/fmview.hxx> #include <svx/sdrpagewindow.hxx> #include <svx/svdpagv.hxx> #include <svx/svxids.hrc> diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 390a4a7eabc6..62ca4bc61775 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/awt/XDevice.hpp> #include <com/sun/star/awt/XControlContainer.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/form/Forms.hpp> #include <com/sun/star/io/XPersistObject.hpp> #include <com/sun/star/script/XEventAttacherManager.hpp> diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx index f33b1e63ed57..7011a4c3faef 100644 --- a/svx/source/form/fmpgeimp.cxx +++ b/svx/source/form/fmpgeimp.cxx @@ -31,6 +31,7 @@ #include <treevisitor.hxx> #include <com/sun/star/sdb/CommandType.hpp> +#include <com/sun/star/sdbc/XRowSet.hpp> #include <com/sun/star/container/EnumerableMap.hpp> #include <com/sun/star/drawing/XControlShape.hpp> #include <com/sun/star/form/Forms.hpp> diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 3fa7d45a4338..82e0873c669a 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -39,6 +39,7 @@ #include <svx/fmmodel.hxx> #include <svx/fmpage.hxx> #include <svx/fmshell.hxx> +#include <svx/fmview.hxx> #include <svx/obj3d.hxx> #include <svx/sdrpagewindow.hxx> #include <svx/svdpagv.hxx> @@ -71,6 +72,7 @@ #include <com/sun/star/form/binding/XListEntrySink.hpp> #include <com/sun/star/frame/FrameSearchFlag.hpp> #include <com/sun/star/script/XEventAttacherManager.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/util/XCancellable.hpp> #include <com/sun/star/util/XModeSelector.hpp> diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index dd06a9a4b1db..f9eedbd65dbd 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -27,12 +27,20 @@ #include <tools/wldcrd.hxx> #include <vcl/svapp.hxx> #include <unotools/textsearch.hxx> +#include <com/sun/star/awt/XTextComponent.hpp> +#include <com/sun/star/awt/XListBox.hpp> +#include <com/sun/star/awt/XCheckBox.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/util/SearchAlgorithms2.hpp> #include <com/sun/star/util/SearchResult.hpp> #include <com/sun/star/util/SearchFlags.hpp> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/i18n/CollatorOptions.hpp> +#include <com/sun/star/sdb/XColumn.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> +#include <com/sun/star/sdbc/XDatabaseMetaData.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/util/NumberFormatter.hpp> #include <com/sun/star/util/NumberFormat.hpp> diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx index c51f08c893b9..0d13fda390b2 100644 --- a/svx/source/form/fmtools.cxx +++ b/svx/source/form/fmtools.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/XIntrospection.hpp> #include <com/sun/star/container/XChild.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/form/XForm.hpp> #include <com/sun/star/form/XFormComponent.hpp> #include <com/sun/star/form/XGridColumnFactory.hpp> @@ -41,6 +42,7 @@ #include <com/sun/star/sdb/ErrorCondition.hpp> #include <com/sun/star/sdb/ErrorMessageDialog.hpp> #include <com/sun/star/sdb/SQLContext.hpp> +#include <com/sun/star/sdb/SQLErrorEvent.hpp> #include <com/sun/star/sdb/XCompletedConnection.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> #include <com/sun/star/sdb/XResultSetAccess.hpp> @@ -68,6 +70,7 @@ #include <connectivity/dbexception.hxx> #include <connectivity/dbtools.hxx> #include <cppuhelper/typeprovider.hxx> +#include <osl/diagnose.h> #include <rtl/math.hxx> #include <sfx2/bindings.hxx> #include <toolkit/helper/vclunohelper.hxx> diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 0de437d335b8..588c6757f55a 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -67,6 +67,7 @@ #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/XPreparedStatement.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> #include <com/sun/star/container/XContainer.hpp> diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx index 1cdd504da545..46aca133dbae 100644 --- a/svx/source/form/formcontrolling.cxx +++ b/svx/source/form/formcontrolling.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/form/runtime/FormOperations.hpp> #include <com/sun/star/form/runtime/FormFeature.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <tools/diagnose_ex.h> #include <comphelper/anytostring.hxx> diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index 0b26759311eb..5620c9ffdea5 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -50,6 +50,7 @@ #include <comphelper/property.hxx> #include <sfx2/frame.hxx> #include <svx/dataaccessdescriptor.hxx> +#include <vcl/event.hxx> #include <vcl/treelistentry.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 5e177241adcd..0356394449a6 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -44,6 +44,7 @@ #include <svx/galmisc.hxx> #include <svx/galtheme.hxx> #include <svx/gallery1.hxx> +#include <vcl/weld.hxx> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> #include <memory> diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index 67ef117a24b1..372961573e08 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -46,6 +46,7 @@ #include <svx/gallery1.hxx> #include <svx/galtheme.hxx> #include <svx/galmisc.hxx> +#include <com/sun/star/awt/XProgressMonitor.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> #include <com/sun/star/ucb/TransferInfo.hpp> diff --git a/svx/source/inc/frmselimpl.hxx b/svx/source/inc/frmselimpl.hxx index 29791d7ee540..09cc61882504 100644 --- a/svx/source/inc/frmselimpl.hxx +++ b/svx/source/inc/frmselimpl.hxx @@ -23,6 +23,7 @@ #include <vcl/virdev.hxx> #include <vcl/image.hxx> #include <svx/frmsel.hxx> +#include <svx/framelink.hxx> #include <svx/framelinkarray.hxx> #include <editeng/borderline.hxx> diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index d01c4e658f8a..752ef978055e 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -39,6 +39,7 @@ #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/form/XChangeBroadcaster.hpp> #include <com/sun/star/awt/XWindow.hpp> +#include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <comphelper/propmultiplex.hxx> #include <comphelper/interfacecontainer2.hxx> diff --git a/svx/source/items/galleryitem.cxx b/svx/source/items/galleryitem.cxx index e03cc9f3417a..57edacf907e1 100644 --- a/svx/source/items/galleryitem.cxx +++ b/svx/source/items/galleryitem.cxx @@ -19,6 +19,8 @@ #include <svx/galleryitem.hxx> #include <com/sun/star/gallery/GalleryItemType.hpp> +#include <com/sun/star/graphic/XGraphic.hpp> +#include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/uno/Sequence.hxx> diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 2cbc608a9948..25c17e21f5a8 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -36,6 +36,7 @@ #include <vcl/settings.hxx> #include <i18nlangtag/languagetag.hxx> +#include <tools/urlobj.hxx> #include <unotools/streamwrap.hxx> #include <unotools/ucbstreamhelper.hxx> #include <unotools/pathoptions.hxx> |