summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/SwAppletImpl.cxx2
-rw-r--r--sw/source/filter/html/css1atr.cxx4
-rw-r--r--sw/source/filter/html/htmlatr.cxx5
-rw-r--r--sw/source/filter/html/htmlbas.cxx5
-rw-r--r--sw/source/filter/html/htmlcss1.cxx5
-rw-r--r--sw/source/filter/html/htmlctxt.cxx2
-rw-r--r--sw/source/filter/html/htmldrawreader.cxx8
-rw-r--r--sw/source/filter/html/htmldrawwriter.cxx13
-rw-r--r--sw/source/filter/html/htmlfld.cxx2
-rw-r--r--sw/source/filter/html/htmlfldw.cxx2
-rw-r--r--sw/source/filter/html/htmlfly.cxx8
-rw-r--r--sw/source/filter/html/htmlflywriter.cxx3
-rw-r--r--sw/source/filter/html/htmlform.cxx3
-rw-r--r--sw/source/filter/html/htmlforw.cxx7
-rw-r--r--sw/source/filter/html/htmlgrin.cxx6
-rw-r--r--sw/source/filter/html/htmlnumreader.cxx4
-rw-r--r--sw/source/filter/html/htmlnumwriter.cxx11
-rw-r--r--sw/source/filter/html/htmlplug.cxx4
-rw-r--r--sw/source/filter/html/htmlsect.cxx7
-rw-r--r--sw/source/filter/html/htmltab.cxx1
-rw-r--r--sw/source/filter/html/parcss1.cxx5
-rw-r--r--sw/source/filter/html/svxcss1.cxx1
-rw-r--r--sw/source/filter/html/swhtml.cxx6
-rw-r--r--sw/source/filter/html/wrthtml.cxx4
24 files changed, 10 insertions, 108 deletions
diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx
index 725e94a622d5..fe79b0d26753 100644
--- a/sw/source/filter/html/SwAppletImpl.cxx
+++ b/sw/source/filter/html/SwAppletImpl.cxx
@@ -19,7 +19,6 @@
#include <SwAppletImpl.hxx>
#include <svtools/htmlkywd.hxx>
-#include <svl/urihelper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
@@ -29,6 +28,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <svtools/embedhlp.hxx>
#include <tools/globname.hxx>
+#include <tools/urlobj.hxx>
#include <hintids.hxx>
using namespace com::sun::star;
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index b15fc85d5164..b801f67e9811 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -49,9 +49,7 @@
#include <editeng/frmdiritem.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
-#include <sfx2/htmlmode.hxx>
#include <svl/urihelper.hxx>
-#include <tools/urlobj.hxx>
#include <unotools/charclass.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <charfmt.hxx>
@@ -78,11 +76,9 @@
#include <IDocumentSettingAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <swerror.h>
-#include <charatr.hxx>
#include <paratr.hxx>
#include <frmatr.hxx>
#include <poolfmt.hxx>
-#include <fltini.hxx>
#include "css1kywd.hxx"
#include "wrthtml.hxx"
#include "htmlnum.hxx"
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index ce151862aef0..d21caceb42ea 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -36,17 +36,13 @@
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/blinkitem.hxx>
-#include <editeng/cmapitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/postitem.hxx>
-#include <editeng/kernitem.hxx>
#include <editeng/wghtitem.hxx>
-#include <editeng/lspcitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/lrspitem.hxx>
-#include <editeng/brushitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <fchrfmt.hxx>
@@ -75,7 +71,6 @@
#include "wrthtml.hxx"
#include "htmlfly.hxx"
#include <numrule.hxx>
-#include <rtl/strbuf.hxx>
#include <rtl/character.hxx>
#include <osl/diagnose.h>
#include <deque>
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index 0a105d95da8c..4e3a2d40b1ea 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -19,17 +19,13 @@
#include <config_features.h>
-#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <osl/diagnose.h>
-#include <rtl/strbuf.hxx>
-#include <basic/sbx.hxx>
#include <basic/basmgr.hxx>
#include <basic/sbmod.hxx>
#include <sfx2/evntconf.hxx>
#include <sfx2/app.hxx>
#include <svtools/htmlout.hxx>
-#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <com/sun/star/document/XEventsSupplier.hpp>
@@ -37,7 +33,6 @@
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <fmtornt.hxx>
#include <fmtfld.hxx>
#include <doc.hxx>
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index 8d7499a82aa2..3dba704e9954 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -19,11 +19,10 @@
#include <hintids.hxx>
#include <svl/itemiter.hxx>
-#include <svl/whiter.hxx>
#include <svl/urihelper.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sfx2/docfile.hxx>
-#include <vcl/svapp.hxx>
+#include <editeng/editids.hrc>
#include <editeng/fhgtitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/lrspitem.hxx>
@@ -45,13 +44,11 @@
#include <frmatr.hxx>
#include <charfmt.hxx>
#include <docary.hxx>
-#include <svx/svxids.hrc>
#include <osl/diagnose.h>
#include <doc.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <pam.hxx>
-#include <ndtxt.hxx>
#include <poolfmt.hxx>
#include <docsh.hxx>
#include <paratr.hxx>
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index 00f2198b354d..48a270b80862 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -32,11 +32,9 @@
#include <doc.hxx>
#include <pam.hxx>
-#include <ndtxt.hxx>
#include <shellio.hxx>
#include <paratr.hxx>
#include "htmlnum.hxx"
-#include "css1kywd.hxx"
#include "swcss1.hxx"
#include "swhtml.hxx"
diff --git a/sw/source/filter/html/htmldrawreader.cxx b/sw/source/filter/html/htmldrawreader.cxx
index dabb479722c8..0aadae724084 100644
--- a/sw/source/filter/html/htmldrawreader.cxx
+++ b/sw/source/filter/html/htmldrawreader.cxx
@@ -19,7 +19,6 @@
#include <hintids.hxx>
#include <vcl/svapp.hxx>
-#include <svx/svdmodel.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdotext.hxx>
@@ -30,7 +29,6 @@
#include <svx/sdtaiitm.hxx>
#include <svx/sdtmfitm.hxx>
#include <editeng/eeitem.hxx>
-#include <editeng/outliner.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
#include <editeng/colritem.hxx>
@@ -38,27 +36,21 @@
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <svl/itemiter.hxx>
-#include <svl/whiter.hxx>
-#include <svtools/htmlout.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
-#include <svx/svdpool.hxx>
#include <charatr.hxx>
#include <drawdoc.hxx>
-#include <frmfmt.hxx>
#include <fmtanchr.hxx>
#include <fmtornt.hxx>
#include <fmtsrnd.hxx>
#include <ndtxt.hxx>
#include <doc.hxx>
#include <IDocumentDrawModelAccess.hxx>
-#include <dcontact.hxx>
#include <poolfmt.hxx>
#include "swcss1.hxx"
#include "swhtml.hxx"
#include <shellio.hxx>
-#include <rtl/strbuf.hxx>
using namespace css;
diff --git a/sw/source/filter/html/htmldrawwriter.cxx b/sw/source/filter/html/htmldrawwriter.cxx
index 6b9a2035f77b..7418be69fa9a 100644
--- a/sw/source/filter/html/htmldrawwriter.cxx
+++ b/sw/source/filter/html/htmldrawwriter.cxx
@@ -19,8 +19,6 @@
#include <hintids.hxx>
#include <vcl/svapp.hxx>
-#include <svx/svdmodel.hxx>
-#include <svx/svdpage.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdotext.hxx>
#include <svx/sdtacitm.hxx>
@@ -31,27 +29,16 @@
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
#include <editeng/colritem.hxx>
-#include <editeng/brushitem.hxx>
-#include <editeng/lrspitem.hxx>
-#include <editeng/ulspitem.hxx>
-#include <svl/itemiter.hxx>
#include <svl/whiter.hxx>
#include <svtools/htmlout.hxx>
-#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
-#include <svx/svdpool.hxx>
#include <rtl/strbuf.hxx>
#include <IDocumentDrawModelAccess.hxx>
-#include <charatr.hxx>
#include <frmfmt.hxx>
-#include <fmtanchr.hxx>
-#include <fmtsrnd.hxx>
-#include <ndtxt.hxx>
#include <doc.hxx>
#include <dcontact.hxx>
-#include <poolfmt.hxx>
#include "wrthtml.hxx"
diff --git a/sw/source/filter/html/htmlfld.cxx b/sw/source/filter/html/htmlfld.cxx
index e7de3fad7ee6..b3873dc92145 100644
--- a/sw/source/filter/html/htmlfld.cxx
+++ b/sw/source/filter/html/htmlfld.cxx
@@ -24,7 +24,7 @@
#include <docsh.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <svtools/htmltokn.h>
-#include <svl/zformat.hxx>
+#include <svl/zforlist.hxx>
#include <unotools/useroptions.hxx>
#include <fmtfld.hxx>
#include <ndtxt.hxx>
diff --git a/sw/source/filter/html/htmlfldw.cxx b/sw/source/filter/html/htmlfldw.cxx
index 2f153fdd3b79..2f058945196d 100644
--- a/sw/source/filter/html/htmlfldw.cxx
+++ b/sw/source/filter/html/htmlfldw.cxx
@@ -17,12 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <comphelper/string.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmlout.hxx>
-#include <svtools/htmltokn.h>
#include <osl/diagnose.h>
#include <fmtfld.hxx>
#include <doc.hxx>
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx
index 8546e8d01721..4a333ed3d65f 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -21,16 +21,8 @@
#include <fmtanchr.hxx>
#include <fmtornt.hxx>
-#include <fmturl.hxx>
-#include <fmtfsize.hxx>
-#include <fmtclds.hxx>
-#include <fmtcntnt.hxx>
-#include <fmtsrnd.hxx>
-#include <fmtinfmt.hxx>
#include <flypos.hxx>
-#include <docary.hxx>
-#include <doc.hxx>
#include <frmfmt.hxx>
#include <ndindex.hxx>
#include <pam.hxx>
diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx
index 70fd94ea3360..c9f1d06ded86 100644
--- a/sw/source/filter/html/htmlflywriter.cxx
+++ b/sw/source/filter/html/htmlflywriter.cxx
@@ -21,7 +21,6 @@
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <svx/svxids.hrc>
#include <hintids.hxx>
#include <tools/fract.hxx>
#include <svl/urihelper.hxx>
@@ -54,7 +53,6 @@
#include <frmatr.hxx>
#include <grfatr.hxx>
#include <flypos.hxx>
-#include <docary.hxx>
#include <ndgrf.hxx>
#include <doc.hxx>
@@ -63,7 +61,6 @@
#include <swerror.h>
#include <frmfmt.hxx>
#include "wrthtml.hxx"
-#include "css1kywd.hxx"
#include "htmlatr.hxx"
#include "htmlfly.hxx"
#include "htmlreqifreader.hxx"
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index 6f536bab0bdc..21631bb9ad12 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -26,7 +26,6 @@
#include <svtools/htmlkywd.hxx>
#include <svtools/htmltokn.h>
#include <svl/urihelper.hxx>
-#include <sfx2/request.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/event.hxx>
#include <sfx2/sfxsids.hrc>
@@ -42,7 +41,6 @@
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <svx/svdouno.hxx>
-#include <svx/fmglob.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/form/ListSourceType.hpp>
#include <com/sun/star/form/FormButtonType.hpp>
@@ -74,7 +72,6 @@
#include <viewsh.hxx>
#include <unodraw.hxx>
#include <unotextrange.hxx>
-#include <dcontact.hxx>
#include "swcss1.hxx"
#include "swhtml.hxx"
diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx
index 4a64e9873b3e..371daae0a26e 100644
--- a/sw/source/filter/html/htmlforw.cxx
+++ b/sw/source/filter/html/htmlforw.cxx
@@ -17,11 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/form/FormSubmitEncoding.hpp>
#include <com/sun/star/form/FormSubmitMethod.hpp>
#include <com/sun/star/form/FormButtonType.hpp>
-#include <com/sun/star/script/XEventAttacher.hpp>
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/form/XFormsSupplier.hpp>
@@ -34,12 +32,10 @@
#include <vcl/svapp.hxx>
#include <svl/macitem.hxx>
#include <svtools/htmlout.hxx>
-#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <svl/urihelper.hxx>
#include <vcl/unohelp.hxx>
#include <svx/svdouno.hxx>
-#include <svx/fmglob.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fhgtitem.hxx>
@@ -56,13 +52,10 @@
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
-#include <ndtxt.hxx>
-#include <flypos.hxx>
#include "wrthtml.hxx"
#include "htmlfly.hxx"
#include "htmlform.hxx"
#include <frmfmt.hxx>
-#include <rtl/strbuf.hxx>
#include <memory>
using namespace ::com::sun::star;
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 4df050d60acb..c3fc76700917 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -22,19 +22,16 @@
#include <comphelper/string.hxx>
#include <comphelper/documentinfo.hxx>
#include <vcl/svapp.hxx>
-#include <svx/svxids.hrc>
#include <i18nlangtag/languagetag.hxx>
#include <svl/stritem.hxx>
#include <svl/urihelper.hxx>
+#include <svl/languageoptions.hxx>
#include <editeng/fhgtitem.hxx>
-#include <editeng/lrspitem.hxx>
-#include <editeng/adjustitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/langitem.hxx>
-#include <editeng/scripttypeitem.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/event.hxx>
#include <vcl/imap.hxx>
@@ -51,7 +48,6 @@
#include <fmtcntnt.hxx>
#include <fmtanchr.hxx>
#include <fmtfsize.hxx>
-#include <frmatr.hxx>
#include <charatr.hxx>
#include <frmfmt.hxx>
#include <charfmt.hxx>
diff --git a/sw/source/filter/html/htmlnumreader.cxx b/sw/source/filter/html/htmlnumreader.cxx
index c443b93c6a00..cf20539e8b13 100644
--- a/sw/source/filter/html/htmlnumreader.cxx
+++ b/sw/source/filter/html/htmlnumreader.cxx
@@ -18,11 +18,9 @@
*/
#include <com/sun/star/text/VertOrientation.hpp>
-#include <com/sun/star/style/NumberingType.hpp>
#include <hintids.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
-#include <svtools/htmlout.hxx>
#include <svl/urihelper.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/lrspitem.hxx>
@@ -40,8 +38,6 @@
#include "swcss1.hxx"
#include "swhtml.hxx"
-#include <SwNodeNum.hxx>
-
using namespace css;
// <UL TYPE=...>
diff --git a/sw/source/filter/html/htmlnumwriter.cxx b/sw/source/filter/html/htmlnumwriter.cxx
index 76ab63d909b6..9658b510a3a4 100644
--- a/sw/source/filter/html/htmlnumwriter.cxx
+++ b/sw/source/filter/html/htmlnumwriter.cxx
@@ -17,28 +17,17 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <com/sun/star/style/NumberingType.hpp>
-#include <hintids.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmlout.hxx>
-#include <svl/urihelper.hxx>
-#include <editeng/brushitem.hxx>
-#include <editeng/lrspitem.hxx>
-#include <vcl/svapp.hxx>
#include <numrule.hxx>
#include <doc.hxx>
-#include <docary.hxx>
-#include <poolfmt.hxx>
#include <ndtxt.hxx>
-#include <paratr.hxx>
#include <pam.hxx>
#include "htmlnum.hxx"
#include "wrthtml.hxx"
-#include <SwNodeNum.hxx>
-#include <rtl/strbuf.hxx>
#include <osl/diagnose.h>
using namespace css;
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index 50a46bc70ffa..bf35d49b244d 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -35,6 +35,7 @@
#include <svtools/htmlkywd.hxx>
#include <svtools/htmltokn.h>
#include <tools/diagnose_ex.h>
+#include <IDocumentContentOperations.hxx>
#include <SwAppletImpl.hxx>
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
@@ -48,10 +49,8 @@
#include <unotools/streamwrap.hxx>
#include <pam.hxx>
#include <doc.hxx>
-#include <ndtxt.hxx>
#include <swerror.h>
#include <ndole.hxx>
-#include <swtable.hxx>
#include <docsh.hxx>
#include "swhtml.hxx"
#include "wrthtml.hxx"
@@ -65,7 +64,6 @@
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/io/XActiveDataStreamer.hpp>
-#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/embed/XEmbedPersist2.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index 1a14cc25bf10..8fdee86e4bed 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <com/sun/star/text/HoriOrientation.hpp>
+#include <com/sun/star/text/VertOrientation.hpp>
#include <rtl/uri.hxx>
#include <svl/urihelper.hxx>
@@ -30,15 +32,11 @@
#include <osl/diagnose.h>
#include <hintids.hxx>
-#include <fmtornt.hxx>
#include <fmthdft.hxx>
#include <fmtcntnt.hxx>
-#include <fmtfsize.hxx>
#include <fmtclds.hxx>
#include <fmtanchr.hxx>
#include <fmtpdsc.hxx>
-#include <fmtsrnd.hxx>
-#include <fmtflcnt.hxx>
#include <frmatr.hxx>
#include <doc.hxx>
#include <pam.hxx>
@@ -48,7 +46,6 @@
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <swtable.hxx>
-#include <viewsh.hxx>
#include "swcss1.hxx"
#include "swhtml.hxx"
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 75aaadd620a8..6d5fadbde1a6 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -60,7 +60,6 @@
#include "htmlnum.hxx"
#include "swhtml.hxx"
#include "swcss1.hxx"
-#include <numrule.hxx>
#include <txtftn.hxx>
#include <itabenum.hxx>
#include <tblafmt.hxx>
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index e7dd8d1d70a3..ba436978a9d7 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -17,16 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdlib.h>
-#include <limits.h>
#include <osl/diagnose.h>
#include <rtl/character.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/color.hxx>
-#include <vcl/svapp.hxx>
+#include <tools/solar.h>
#include <svtools/htmltokn.h>
#include <comphelper/string.hxx>
-#include "css1kywd.hxx"
#include "parcss1.hxx"
// Loop-Check: Used to avoid infinite loops, is checked after every
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 6d4621c392af..07d5cd0d844b 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -51,7 +51,6 @@
#include <editeng/frmdiritem.hxx>
#include <editeng/orphitem.hxx>
#include <svtools/svparser.hxx>
-#include <swtypes.hxx>
#include <vcl/svapp.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 2ed9ed17625f..ddafcc9f0cee 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -46,7 +46,6 @@
#include <unotools/pathoptions.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/event.hxx>
-#include <sfx2/fcontnr.hxx>
#include <sfx2/docfile.hxx>
#include <svtools/htmlcfg.hxx>
@@ -74,7 +73,6 @@
#include <charatr.hxx>
#include <fmtfld.hxx>
#include <fmtpdsc.hxx>
-#include <txtfld.hxx>
#include <fmtanchr.hxx>
#include <fmtsrnd.hxx>
#include <fmtfsize.hxx>
@@ -84,7 +82,6 @@
#include <fmtfollowtextflow.hxx>
#include <fmtornt.hxx>
#include <docary.hxx>
-#include <docstat.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentSettingAccess.hxx>
@@ -98,7 +95,6 @@
#include <pam.hxx>
#include <ndtxt.hxx>
#include <mdiexp.hxx>
-#include <expfld.hxx>
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <IMark.hxx>
@@ -114,6 +110,7 @@
#include <breakit.hxx>
#include <SwAppletImpl.hxx>
#include <swdll.hxx>
+#include <txatbase.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/svdobj.hxx>
@@ -122,7 +119,6 @@
#include <comphelper/sequence.hxx>
#include <swerror.h>
-#include <hints.hxx>
#include <ndole.hxx>
#include <unoframe.hxx>
#include "css1atr.hxx"
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 28e70f994cea..401c279895ef 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -21,6 +21,7 @@
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <svl/urihelper.hxx>
+#include <svl/languageoptions.hxx>
#include <rtl/tencinfo.h>
#include <sfx2/linkmgr.hxx>
#include <sfx2/docfile.hxx>
@@ -37,8 +38,6 @@
#include <editeng/lrspitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/brushitem.hxx>
-#include <editeng/fontitem.hxx>
-#include <editeng/scripttypeitem.hxx>
#include <editeng/langitem.hxx>
#include <svl/stritem.hxx>
#include <editeng/frmdiritem.hxx>
@@ -54,7 +53,6 @@
#include <docary.hxx>
#include <pam.hxx>
#include <doc.hxx>
-#include <ndgrf.hxx>
#include <ndtxt.hxx>
#include <mdiexp.hxx>
#include <fltini.hxx>