summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2022-01-16 15:29:00 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-01-17 01:33:35 +0100
commite3206e67402f623bac17ca94a20dfb45391dcb48 (patch)
tree9760a8e135bd39a916a1931445a04df26c1fe324 /filter/source
parent52443996eff721e612ac4afc1eb1a53bb8a3e06f (diff)
Recheck modules [e-f]* with IWYU
See tdf#42949 for motivation Change-Id: I49a3ce10dee4b03f99156f5b641f69448e1d5617 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128479 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/config/cache/cacheitem.hxx1
-rw-r--r--filter/source/config/cache/configflush.hxx1
-rw-r--r--filter/source/config/cache/constant.hxx2
-rw-r--r--filter/source/graphicfilter/icgm/bundles.cxx1
-rw-r--r--filter/source/msfilter/eschesdo.cxx7
-rw-r--r--filter/source/msfilter/eschesdo.hxx1
-rw-r--r--filter/source/msfilter/msvbahelper.cxx1
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
-rw-r--r--filter/source/svg/svgexport.cxx3
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx1
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.cxx1
-rw-r--r--filter/source/xsltfilter/OleHandler.cxx1
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx1
13 files changed, 5 insertions, 18 deletions
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index 4caf8eea324a..659d6e696201 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <vector>
#include <comphelper/sequenceashashmap.hxx>
-#include <osl/mutex.hxx>
namespace filter::config {
diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx
index d5a9e53966c3..d033516733ac 100644
--- a/filter/source/config/cache/configflush.hxx
+++ b/filter/source/config/cache/configflush.hxx
@@ -18,7 +18,6 @@
*/
#pragma once
-#include "cacheitem.hxx"
#include <com/sun/star/util/XRefreshable.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <comphelper/multicontainer2.hxx>
diff --git a/filter/source/config/cache/constant.hxx b/filter/source/config/cache/constant.hxx
index 6f72bf52fea8..86e6e6de985c 100644
--- a/filter/source/config/cache/constant.hxx
+++ b/filter/source/config/cache/constant.hxx
@@ -18,6 +18,8 @@
*/
#pragma once
+#include <rtl/ustring.hxx>
+
/* disable impl_loadOnDemand function of BaseContainer for certain
functions, where it the feature "impl_loadItemOnDemand() of class FilterCache
can be used instead of loadAll()!*/
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index 89ce93e31bcf..64e63a750186 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -20,7 +20,6 @@
#include "bundles.hxx"
-#include <memory>
#include <string.h>
void Bundle::SetColor( sal_uInt32 nColor )
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index f13596184484..12e6e62be0a2 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -21,14 +21,14 @@
#include "eschesdo.hxx"
#include <o3tl/any.hxx>
#include <svx/svdobj.hxx>
-#include <svx/unoapi.hxx>
-#include <svx/unoshape.hxx>
#include <tools/poly.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
-#include <tools/fract.hxx>
#include <svx/fmdpage.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/drawing/CircleKind.hpp>
@@ -44,7 +44,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::task;
-using namespace ::com::sun::star::style;
constexpr o3tl::Length geUnitsSrc(o3tl::Length::mm100);
// PowerPoint: 576 dpi, WinWord: 1440 dpi, Excel: 1440 dpi
diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx
index 6ece40a69b10..cf46f49b6bee 100644
--- a/filter/source/msfilter/eschesdo.hxx
+++ b/filter/source/msfilter/eschesdo.hxx
@@ -19,7 +19,6 @@
#pragma once
#include <filter/msfilter/escherex.hxx>
#include <o3tl/any.hxx>
-#include <o3tl/unit_conversion.hxx>
// fractions of Draw PPTWriter etc.
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index f413af1db651..ee40bede6bd4 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -28,7 +28,6 @@
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <comphelper/servicehelper.hxx>
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 9ab29d66458f..5dee2e32e509 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -24,7 +24,6 @@
#include <unotools/tempfile.hxx>
#include <tools/diagnose_ex.h>
#include <tools/UnitConversion.hxx>
-#include <math.h>
#include <editeng/eeitem.hxx>
#include <editeng/editdata.hxx>
#include <sot/storage.hxx>
@@ -100,7 +99,6 @@
#include <editeng/brushitem.hxx>
#include <editeng/langitem.hxx>
#include <svx/svdoole2.hxx>
-#include <svx/unoapi.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index e0168d954c05..170b2cf1437b 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -35,8 +35,6 @@
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/ShapeCollection.hpp>
-#include <com/sun/star/drawing/BitmapMode.hpp>
-#include <com/sun/star/drawing/RectanglePoint.hpp>
#include <rtl/bootstrap.hxx>
#include <svx/unopage.hxx>
@@ -49,7 +47,6 @@
#include <comphelper/sequenceashashmap.hxx>
#include <i18nlangtag/lang.h>
#include <svl/numformat.hxx>
-#include <svl/zforlist.hxx>
#include <tools/debug.hxx>
#include <tools/urlobj.hxx>
#include <unotools/streamwrap.hxx>
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
index 83f4a8c71159..6f4b1db3453b 100644
--- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
+++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
@@ -21,7 +21,6 @@
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/factory.hxx>
-#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/component.hxx>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx
index 706148b9e126..6cfe82c30a2a 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.cxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx
@@ -38,7 +38,6 @@
#include "LibXSLTTransformer.hxx"
#include "OleHandler.hxx"
-#include <memory>
using namespace ::cppu;
using namespace ::osl;
diff --git a/filter/source/xsltfilter/OleHandler.cxx b/filter/source/xsltfilter/OleHandler.cxx
index 3ec4b56fb30e..bb2089935b32 100644
--- a/filter/source/xsltfilter/OleHandler.cxx
+++ b/filter/source/xsltfilter/OleHandler.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include "OleHandler.hxx"
-#include <memory>
#include <optional>
using namespace ::com::sun::star::uno;
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index d449cee7ffd9..d22c372a72f5 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -63,7 +63,6 @@
#include <com/sun/star/util/XStringSubstitution.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
-#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp>
#include <com/sun/star/xml/xslt/XSLT2Transformer.hpp>
#include <com/sun/star/xml/xslt/XSLTTransformer.hpp>