diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-11-08 21:17:54 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-11-12 10:53:07 +0100 |
commit | a5389cb5ddcd72e494040e7a976c4f290e2da4cc (patch) | |
tree | 6269a4543f96026f47b8d0756fd4d86a73be46f7 /filter | |
parent | 64dcfe295762864656bc5876da10bec37b7fb6ec (diff) |
tdf#42949 Fix new IWYU warnings in directories [e-f]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I963aa5fb892a0be36212fd0587b69f217f017947
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105469
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'filter')
30 files changed, 8 insertions, 32 deletions
diff --git a/filter/IwyuFilter_filter.yaml b/filter/IwyuFilter_filter.yaml index 6eb00b8760d7..14ae4e91a041 100644 --- a/filter/IwyuFilter_filter.yaml +++ b/filter/IwyuFilter_filter.yaml @@ -10,6 +10,12 @@ excludelist: filter/source/msfilter/mscodec.cxx: # Actually used - com/sun/star/beans/NamedValue.hpp + filter/source/msfilter/msdffimp.cxx: + # Needed for rtl::math::round + - rtl/math.hxx + filter/source/msfilter/mstoolbar.cxx: + # Needed for template + - com/sun/star/frame/XModel.hpp filter/source/msfilter/svdfppt.cxx: # OSL_BIGENDIAN is being checked - osl/endian.h diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx index 1546956e6a2b..f3e284556681 100644 --- a/filter/source/config/cache/configflush.hxx +++ b/filter/source/config/cache/configflush.hxx @@ -21,7 +21,6 @@ #include "cacheitem.hxx" #include <com/sun/star/util/XRefreshable.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/interfacecontainer.h> #include <cppuhelper/implbase.hxx> diff --git a/filter/source/config/cache/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx index 0f04e4f000d2..a5140acdbed2 100644 --- a/filter/source/config/cache/contenthandlerfactory.cxx +++ b/filter/source/config/cache/contenthandlerfactory.cxx @@ -21,7 +21,6 @@ #include "contenthandlerfactory.hxx" #include <com/sun/star/lang/XInitialization.hpp> -#include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index 079be5723c81..fa26ee7ba580 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -22,7 +22,6 @@ #include "constant.hxx" #include <com/sun/star/lang/XInitialization.hpp> -#include <comphelper/processfactory.hxx> #include <comphelper/enumhelper.hxx> #include <comphelper/sequence.hxx> #include <officecfg/Setup.hxx> diff --git a/filter/source/config/cache/frameloaderfactory.cxx b/filter/source/config/cache/frameloaderfactory.cxx index 220fa252982f..c7906b4acf1d 100644 --- a/filter/source/config/cache/frameloaderfactory.cxx +++ b/filter/source/config/cache/frameloaderfactory.cxx @@ -21,7 +21,6 @@ #include "frameloaderfactory.hxx" #include <com/sun/star/lang/XInitialization.hpp> -#include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index ef164df45c26..e9e149511cff 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -34,7 +34,6 @@ #include <tools/diagnose_ex.h> #include <tools/urlobj.hxx> #include <comphelper/fileurl.hxx> -#include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> #define DEBUG_TYPE_DETECTION 0 diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index 93c2d32b1da5..b0281d5f983d 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -22,7 +22,6 @@ #include "basecontainer.hxx" #include <com/sun/star/document/XTypeDetection.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <unotools/mediadescriptor.hxx> #include <cppuhelper/compbase.hxx> #include <cppuhelper/implbase.hxx> diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 38d234e3108f..3d110bf21941 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <tools/solar.h> #include <tools/stream.hxx> #include <tools/poly.hxx> #include <tools/fract.hxx> diff --git a/filter/source/graphicfilter/idxf/dxfgrprd.hxx b/filter/source/graphicfilter/idxf/dxfgrprd.hxx index f114f043eea8..4d20ae2bff0f 100644 --- a/filter/source/graphicfilter/idxf/dxfgrprd.hxx +++ b/filter/source/graphicfilter/idxf/dxfgrprd.hxx @@ -22,7 +22,6 @@ #include <rtl/string.hxx> #include <sal/types.h> -#include <tools/solar.h> #include <tools/long.hxx> class SvStream; diff --git a/filter/source/graphicfilter/idxf/dxfreprd.cxx b/filter/source/graphicfilter/idxf/dxfreprd.cxx index d03bf4cf702f..1f74ada603a3 100644 --- a/filter/source/graphicfilter/idxf/dxfreprd.cxx +++ b/filter/source/graphicfilter/idxf/dxfreprd.cxx @@ -22,7 +22,6 @@ #include <osl/nlsupport.h> #include <unotools/defaultencoding.hxx> #include <unotools/wincodepage.hxx> -#include <unotools/configmgr.hxx> //------------------DXFBoundingBox-------------------------------------------- diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index 2c67a6effa3c..6834ec637c1f 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -18,7 +18,6 @@ */ -#include <tools/solar.h> #include <vcl/svapp.hxx> #include <vcl/gdimtf.hxx> #include <vcl/graph.hxx> diff --git a/filter/source/graphicfilter/itiff/ccidecom.hxx b/filter/source/graphicfilter/itiff/ccidecom.hxx index fa2ae3bd31bd..89e23656b150 100644 --- a/filter/source/graphicfilter/itiff/ccidecom.hxx +++ b/filter/source/graphicfilter/itiff/ccidecom.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ITIFF_CCIDECOM_HXX #include <sal/types.h> -#include <tools/solar.h> #include <array> #include <memory> diff --git a/filter/source/graphicfilter/itiff/lzwdecom.hxx b/filter/source/graphicfilter/itiff/lzwdecom.hxx index 0d02e8833bcd..8f2675b9d53f 100644 --- a/filter/source/graphicfilter/itiff/lzwdecom.hxx +++ b/filter/source/graphicfilter/itiff/lzwdecom.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ITIFF_LZWDECOM_HXX #include <sal/types.h> -#include <tools/solar.h> #include <array> #define MAX_TABLE_SIZE 4096 diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 31ec360272a5..6cba89b7d4fa 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -137,7 +137,6 @@ #include <com/sun/star/drawing/ShadeMode.hpp> #include <vcl/dibtools.hxx> #include <vcl/svapp.hxx> -#include <svx/svx3ditems.hxx> #include <svx/svdoashp.hxx> #include <svx/EnhancedCustomShapeTypeNames.hxx> #include <svx/EnhancedCustomShapeGeometry.hxx> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 6adf8aa6c5fe..36e58f2438f1 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -126,7 +126,6 @@ #include <algorithm> #include <cassert> -#include <set> #include <utility> #include <rtl/strbuf.hxx> #include <tools/time.hxx> diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index 23106bf1daf2..082f701d125e 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -19,7 +19,6 @@ #include <sax/tools/documenthandleradapter.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/filter/source/pdf/pdfdecomposer.cxx b/filter/source/pdf/pdfdecomposer.cxx index d1e89ccdc7b4..ce1321a3ceb5 100644 --- a/filter/source/pdf/pdfdecomposer.cxx +++ b/filter/source/pdf/pdfdecomposer.cxx @@ -10,7 +10,6 @@ #include <vector> #include <basegfx/matrix/b2dhommatrixtools.hxx> -#include <comphelper/processfactory.hxx> #include <cppuhelper/implbase2.hxx> #include <cppuhelper/supportsservice.hxx> #include <drawinglayer/primitive2d/bitmapprimitive2d.hxx> diff --git a/filter/source/pdf/pdfdialog.cxx b/filter/source/pdf/pdfdialog.cxx index fb2dd7d0859b..44953c242fb3 100644 --- a/filter/source/pdf/pdfdialog.cxx +++ b/filter/source/pdf/pdfdialog.cxx @@ -21,7 +21,6 @@ #include "pdfdialog.hxx" #include "impdialog.hxx" #include <vcl/svapp.hxx> -#include <comphelper/processfactory.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx index 47a915a728b4..463307a857f2 100644 --- a/filter/source/pdf/pdfdialog.hxx +++ b/filter/source/pdf/pdfdialog.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/beans/XPropertyAccess.hpp> #include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> namespace vcl { class Window; } diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx index 0e2ea643d727..3bdc5a8cb756 100644 --- a/filter/source/pdf/pdffilter.cxx +++ b/filter/source/pdf/pdffilter.cxx @@ -19,7 +19,6 @@ #include "pdffilter.hxx" #include "pdfexport.hxx" -#include <comphelper/processfactory.hxx> #include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/filter/source/pdf/pdffilter.hxx b/filter/source/pdf/pdffilter.hxx index d63f5f4c7355..afd2b6d571be 100644 --- a/filter/source/pdf/pdffilter.hxx +++ b/filter/source/pdf/pdffilter.hxx @@ -26,7 +26,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <cppuhelper/implbase.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/uno/XComponentContext.hpp> using namespace ::com::sun::star; diff --git a/filter/source/pdf/pdfinteract.hxx b/filter/source/pdf/pdfinteract.hxx index 18deba69dfce..9ad7405a3f56 100644 --- a/filter/source/pdf/pdfinteract.hxx +++ b/filter/source/pdf/pdfinteract.hxx @@ -23,7 +23,6 @@ #include <cppuhelper/implbase.hxx> #include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/task/XInteractionHandler2.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 1d2d5110dc2a..8025550b5837 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -48,7 +48,6 @@ #include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx> #include "svgfilter.hxx" -#include "svgwriter.hxx" #include <svx/unopage.hxx> #include <vcl/graphicfilter.hxx> diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 02de5a40e649..6b7f082c8668 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -35,11 +35,10 @@ #include <xmloff/namespacemap.hxx> #include <xmloff/unointerfacetouniqueidentifiermapper.hxx> #include <i18nlangtag/languagetag.hxx> -#include <svx/unoshape.hxx> -#include <svx/svdograf.hxx> #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/container/XIndexReplace.hpp> +#include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/i18n/CharacterIteratorMode.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> #include <com/sun/star/style/NumberingType.hpp> diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index ddc50a74ab62..6b8841ac1e77 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/awt/UnoControlDialog.hpp> #include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <osl/diagnose.h> #include <rtl/ref.hxx> #include <rtl/character.hxx> diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 5a1bfa513e13..a703da411830 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XLocalizable.hpp> #include <com/sun/star/beans/XPropertyAccess.hpp> diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx index 44839ceb3f2d..4e62aba199e7 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx @@ -24,7 +24,6 @@ #include <tools/urlobj.hxx> #include "XmlFilterAdaptor.hxx" #include <com/sun/star/io/XActiveDataSource.hpp> -#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp> #include <com/sun/star/xml/XImportFilter.hpp> #include <com/sun/star/xml/XImportFilter2.hpp> #include <com/sun/star/xml/XExportFilter.hpp> @@ -33,7 +32,6 @@ #include <com/sun/star/style/XStyleLoader.hpp> #include <com/sun/star/frame/XModel.hpp> #include <comphelper/fileurl.hxx> -#include <comphelper/processfactory.hxx> #include <comphelper/sequenceashashmap.hxx> #include <unotools/mediadescriptor.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx index c00a46e6211b..e6b97f041db3 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx @@ -26,7 +26,6 @@ #include <com/sun/star/document/XImporter.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx index f49f44af6d7a..649c9785ba96 100644 --- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx +++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx @@ -22,7 +22,6 @@ #include <cppuhelper/factory.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/component.hxx> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> #include <cppuhelper/supportsservice.hxx> @@ -33,7 +32,6 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <vcl/svapp.hxx> #include <rtl/instance.hxx> -#include <comphelper/processfactory.hxx> #include "xmlfiltersettingsdialog.hxx" diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 9ed506d6c5ab..b48a68befc19 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -67,8 +67,6 @@ #include <com/sun/star/xml/xslt/XSLT2Transformer.hpp> #include <com/sun/star/xml/xslt/XSLTTransformer.hpp> -#include "LibXSLTTransformer.hxx" - #define TRANSFORMATION_TIMEOUT_SEC 60 using namespace ::cppu; |