summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-11-08 21:17:54 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-11-12 10:53:07 +0100
commita5389cb5ddcd72e494040e7a976c4f290e2da4cc (patch)
tree6269a4543f96026f47b8d0756fd4d86a73be46f7 /editeng
parent64dcfe295762864656bc5876da10bec37b7fb6ec (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 'editeng')
-rw-r--r--editeng/IwyuFilter_editeng.yaml9
-rw-r--r--editeng/inc/AccessibleStringWrap.hxx1
-rw-r--r--editeng/source/editeng/editdoc.cxx1
-rw-r--r--editeng/source/editeng/editview.cxx1
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx3
-rw-r--r--editeng/source/items/frmitems.cxx1
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx2
-rw-r--r--editeng/source/uno/unotext.cxx2
9 files changed, 10 insertions, 12 deletions
diff --git a/editeng/IwyuFilter_editeng.yaml b/editeng/IwyuFilter_editeng.yaml
index 3e6d3f79d9ea..45f989e4fb51 100644
--- a/editeng/IwyuFilter_editeng.yaml
+++ b/editeng/IwyuFilter_editeng.yaml
@@ -20,9 +20,18 @@ excludelist:
editeng/source/items/CustomPropertyField.cxx:
# Actually used
- com/sun/star/document/XDocumentProperties.hpp
+ editeng/source/items/frmitems.cxx:
+ # Needed for rtl::math::round
+ - rtl/math.hxx
+ editeng/source/items/textitem.cxx:
+ # Needed for rtl::math::round
+ - rtl/math.hxx
editeng/source/misc/SvXMLAutoCorrectExport.cxx:
# Actually used
- com/sun/star/xml/sax/XDocumentHandler.hpp
+ editeng/source/misc/unolingu.cxx:
+ # NEeded for OSL_DEBUG_LEVEL > 1
+ - com/sun/star/frame/XStorable.hpp
editeng/source/uno/unotext.cxx:
# Needed for macro defines
- editeng/unoprnms.hxx
diff --git a/editeng/inc/AccessibleStringWrap.hxx b/editeng/inc/AccessibleStringWrap.hxx
index 022c63086b24..5281becdde61 100644
--- a/editeng/inc/AccessibleStringWrap.hxx
+++ b/editeng/inc/AccessibleStringWrap.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <editeng/editengdllapi.h>
#include <sal/types.h>
#include <rtl/ustring.hxx>
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index bfbba8257424..11d18adae056 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -37,7 +37,6 @@
#include <editeng/emphasismarkitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/charreliefitem.hxx>
-#include <editeng/xmlcnitm.hxx>
#include <editeng/editids.hrc>
#include <editeng/editdata.hxx>
#include <editeng/lrspitem.hxx>
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 3133126ba638..35965e1e276a 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -66,7 +66,6 @@
#include <comphelper/lok.hxx>
#include <sfx2/viewsh.hxx>
#include <osl/diagnose.h>
-#include <sfx2/lokhelper.hxx>
#include <boost/property_tree/json_parser.hpp>
#include <sfx2/dispatch.hxx>
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 9e82cedf32f4..03615ca3e465 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -41,7 +41,7 @@
#include <comphelper/string.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/lokhelper.hxx>
-#include <boost/property_tree/json_parser.hpp>
+#include <boost/property_tree/ptree.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index fb70bf4b1844..a271aa37c1e6 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -32,7 +32,6 @@
#include <editeng/editview.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/txtrange.hxx>
-#include <editeng/colritem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/lrspitem.hxx>
@@ -54,7 +53,6 @@
#include <unotools/configmgr.hxx>
-#include <set>
#include <math.h>
#include <vcl/metric.hxx>
#include <com/sun/star/i18n/BreakIterator.hpp>
@@ -70,7 +68,6 @@
#include <o3tl/sorted_vector.hxx>
#include <osl/diagnose.h>
#include <comphelper/string.hxx>
-#include <comphelper/lok.hxx>
#include <memory>
#include <vcl/outdev/ScopedStates.hxx>
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index e9f5a6df6d59..283fc2fb6eab 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -35,7 +35,6 @@
#include <com/sun/star/graphic/XGraphic.hpp>
#include <osl/diagnose.h>
-#include <sal/log.hxx>
#include <i18nutil/unicode.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
index 9128995a7ecc..352f77385a67 100644
--- a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
@@ -13,8 +13,6 @@
#include <sal/types.h>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnamespace.hxx>
-#include <cppuhelper/implbase.hxx>
-#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <com/sun/star/xml/sax/FastToken.hpp>
#include <sax/fastattribs.hxx>
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index f15e57c8f704..6761f8b8b622 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -31,8 +31,6 @@
#include <rtl/instance.hxx>
#include <tools/debug.hxx>
-#include <editeng/fontitem.hxx>
-#include <editeng/tstpitem.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/unotext.hxx>
#include <editeng/unoedsrc.hxx>