summaryrefslogtreecommitdiffstats
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-12-18 21:37:52 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-12-20 10:40:04 +0100
commit0c595cff64674c868f38392b6e4511f8133ae1b1 (patch)
treef7fe1f938ccf4687456da16dba7f83f119d86ad5 /editeng/source/uno
parenttdf#42949 Fix IWYU warnings in svgio/ (diff)
downloadcore-0c595cff64674c868f38392b6e4511f8133ae1b1.tar.gz
core-0c595cff64674c868f38392b6e4511f8133ae1b1.zip
tdf#42949 Fix IWYU warnings in editeng/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8d56ef332c18b03d44489762bd6bf540b893b599 Reviewed-on: https://gerrit.libreoffice.org/85429 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/UnoForbiddenCharsTable.cxx1
-rw-r--r--editeng/source/uno/unoedprx.cxx8
-rw-r--r--editeng/source/uno/unofdesc.cxx2
-rw-r--r--editeng/source/uno/unofield.cxx3
-rw-r--r--editeng/source/uno/unofored.cxx2
-rw-r--r--editeng/source/uno/unofored_internal.hxx1
-rw-r--r--editeng/source/uno/unoforou.cxx3
-rw-r--r--editeng/source/uno/unoipset.cxx5
-rw-r--r--editeng/source/uno/unonrule.cxx6
-rw-r--r--editeng/source/uno/unopracc.cxx2
-rw-r--r--editeng/source/uno/unotext.cxx3
-rw-r--r--editeng/source/uno/unotext2.cxx3
-rw-r--r--editeng/source/uno/unoviwou.cxx1
13 files changed, 10 insertions, 30 deletions
diff --git a/editeng/source/uno/UnoForbiddenCharsTable.cxx b/editeng/source/uno/UnoForbiddenCharsTable.cxx
index ce277e83e32c..8bb83f65583b 100644
--- a/editeng/source/uno/UnoForbiddenCharsTable.cxx
+++ b/editeng/source/uno/UnoForbiddenCharsTable.cxx
@@ -24,7 +24,6 @@
#include <editeng/forbiddencharacterstable.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <vcl/svapp.hxx>
-#include <editeng/unolingu.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index a56404cc0805..b9c06cf75a81 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -21,13 +21,12 @@
// Global header
-#include <limits.h>
#include <utility>
#include <memory>
#include <vector>
#include <algorithm>
-#include <vcl/window.hxx>
-#include <vcl/svapp.hxx>
+#include <osl/diagnose.h>
+#include <svl/itemset.hxx>
#include <tools/debug.hxx>
@@ -35,11 +34,8 @@
#include <editeng/unoedprx.hxx>
-#include <editeng/unotext.hxx>
-#include <editeng/unoedhlp.hxx>
#include <editeng/editdata.hxx>
#include <editeng/editeng.hxx>
-#include <editeng/editview.hxx>
#include <editeng/AccessibleStringWrap.hxx>
#include <editeng/outliner.hxx>
diff --git a/editeng/source/uno/unofdesc.cxx b/editeng/source/uno/unofdesc.cxx
index b94df37f0e79..3b37f8032efd 100644
--- a/editeng/source/uno/unofdesc.cxx
+++ b/editeng/source/uno/unofdesc.cxx
@@ -31,11 +31,11 @@
#include <editeng/wrlmitem.hxx>
#include <editeng/memberids.h>
#include <svl/itempool.hxx>
+#include <vcl/font.hxx>
#include <vcl/unohelp.hxx>
#include <tools/gen.hxx>
#include <editeng/unofdesc.hxx>
-#include <editeng/svxfont.hxx>
using namespace ::com::sun::star;
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index 66e2ad13a647..740f71249db8 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -19,13 +19,10 @@
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/text/FilenameDisplayFormat.hpp>
-#include <com/sun/star/lang/NoSupportException.hpp>
-#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <vcl/svapp.hxx>
#include <tools/debug.hxx>
#include <svl/itemprop.hxx>
-#include <editeng/eeitem.hxx>
#include <editeng/flditem.hxx>
#include <editeng/CustomPropertyField.hxx>
#include <editeng/measfld.hxx>
diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx
index fb1236632dde..73fad9104536 100644
--- a/editeng/source/uno/unofored.cxx
+++ b/editeng/source/uno/unofored.cxx
@@ -18,7 +18,6 @@
*/
-#include <algorithm>
#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <editeng/eeitem.hxx>
@@ -26,7 +25,6 @@
#include <svl/itemset.hxx>
#include <editeng/editeng.hxx>
-#include <editeng/editview.hxx>
#include <editeng/unoedhlp.hxx>
#include <editeng/editdata.hxx>
#include <editeng/outliner.hxx>
diff --git a/editeng/source/uno/unofored_internal.hxx b/editeng/source/uno/unofored_internal.hxx
index 34eb96903dba..6714e1395bef 100644
--- a/editeng/source/uno/unofored_internal.hxx
+++ b/editeng/source/uno/unofored_internal.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_EDITENG_SOURCE_UNO_UNFORED_INTERNAL_HXX
#define INCLUDED_EDITENG_SOURCE_UNO_UNFORED_INTERNAL_HXX
+#include <editeng/editeng.hxx>
SfxItemState GetSvxEditEngineItemState( EditEngine const & rEditEngine, const ESelection& rSel, sal_uInt16 nWhich );
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index 9fb555470456..ceea8bceb67c 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -18,7 +18,6 @@
*/
-#include <algorithm>
#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <svl/style.hxx>
@@ -30,10 +29,8 @@
#include <editeng/outliner.hxx>
#include <editeng/unoedhlp.hxx>
#include <svl/poolitem.hxx>
-#include <editeng/eeitem.hxx>
#include <editeng/unoforou.hxx>
-#include <editeng/unofored.hxx>
#include <editeng/outlobj.hxx>
#include "unofored_internal.hxx"
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index aa6f310c1987..c9d54c83e972 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -18,14 +18,11 @@
*/
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <svl/eitem.hxx>
#include <svl/itemprop.hxx>
#include <tools/helpers.hxx>
-#include <tools/debug.hxx>
#include <editeng/unoipset.hxx>
-#include <editeng/editids.hrc>
-#include <editeng/editeng.hxx>
#include <svl/itempool.hxx>
+#include <svl/solar.hrc>
#include <o3tl/any.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index dea25ce79a08..03c051ebaeed 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -19,11 +19,15 @@
#include <sal/config.h>
+#include <com/sun/star/awt/FontDescriptor.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <cppuhelper/supportsservice.hxx>
+#include <cppuhelper/implbase1.hxx>
#include <vcl/font.hxx>
#include <vcl/svapp.hxx>
#include <vcl/graph.hxx>
@@ -34,8 +38,6 @@
#include <editeng/brushitem.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/numitem.hxx>
-#include <editeng/eeitem.hxx>
-#include <editeng/unotext.hxx>
#include <editeng/unofdesc.hxx>
#include <editeng/unonrule.hxx>
#include <editeng/editids.hrc>
diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx
index 9207839c711c..6b2e5b42c376 100644
--- a/editeng/source/uno/unopracc.cxx
+++ b/editeng/source/uno/unopracc.cxx
@@ -21,9 +21,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/lang/XComponent.hpp>
#include <cppuhelper/supportsservice.hxx>
-#include <cppuhelper/weakref.hxx>
#include <editeng/unopracc.hxx>
#include <editeng/unoedsrc.hxx>
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 475200c27af3..f0ef0c30a8eb 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -18,7 +18,6 @@
*/
#include <vcl/svapp.hxx>
-#include <com/sun/star/style/LineSpacing.hpp>
#include <com/sun/star/text/ControlCharacter.hpp>
#include <com/sun/star/text/XTextField.hpp>
#include <com/sun/star/text/TextRangeSelection.hpp>
@@ -28,9 +27,9 @@
#include <svl/itemset.hxx>
#include <svl/itempool.hxx>
-#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
#include <rtl/instance.hxx>
+#include <tools/debug.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/tstpitem.hxx>
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index 2059d5bc4bd2..ef9ab680adbe 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -24,9 +24,6 @@
#include <vcl/svapp.hxx>
#include <rtl/instance.hxx>
-#include <editeng/eeitem.hxx>
-#include <editeng/flditem.hxx>
-#include <editeng/unofield.hxx>
#include <editeng/unotext.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
diff --git a/editeng/source/uno/unoviwou.cxx b/editeng/source/uno/unoviwou.cxx
index b437c09479d0..d1d20110c75c 100644
--- a/editeng/source/uno/unoviwou.cxx
+++ b/editeng/source/uno/unoviwou.cxx
@@ -22,7 +22,6 @@
#include <editeng/unoviwou.hxx>
#include <editeng/outliner.hxx>
-#include <editeng/editeng.hxx>
SvxDrawOutlinerViewForwarder::SvxDrawOutlinerViewForwarder( OutlinerView& rOutl ) :
mrOutlinerView ( rOutl ), maTextShapeTopLeft()