summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-11-02 15:32:46 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-11-02 15:32:46 +0100
commit6756ee4743b4c750aa54a1b0f17f1fc945340089 (patch)
tree614cd697fbc7be67f05e759d66426a074cc2b86f
parent3ceaa46425743483b767abdfae9b19f753759876 (diff)
unused includes in RTF filter and related files
Change-Id: Id13e10f2ceed3985c78ccc542e6677eccc0cb1c7
-rw-r--r--oox/source/drawingml/customshapepresetdata.cxx10
-rw-r--r--oox/source/shape/WpsContext.cxx1
-rw-r--r--starmath/source/rtfexport.cxx1
-rw-r--r--starmath/source/wordexportbase.cxx2
-rw-r--r--svl/source/items/grabbagitem.cxx4
-rw-r--r--sw/source/core/doc/textboxhelper.cxx6
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx14
-rw-r--r--sw/source/filter/ww8/docxtablestyleexport.cxx6
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx16
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx13
-rw-r--r--sw/source/filter/ww8/rtfsdrexport.cxx3
-rw-r--r--writerfilter/source/dmapper/SdtHelper.cxx7
-rw-r--r--writerfilter/source/dmapper/TablePositionHandler.cxx3
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx5
-rw-r--r--writerfilter/source/rtftok/rtfcontrolwords.cxx1
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx16
-rw-r--r--writerfilter/source/rtftok/rtflookahead.cxx3
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx9
-rw-r--r--writerfilter/source/rtftok/rtftokenizer.cxx3
19 files changed, 0 insertions, 123 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx
index 78d0af10fff8..0eadef15cbbc 100644
--- a/oox/source/drawingml/customshapepresetdata.cxx
+++ b/oox/source/drawingml/customshapepresetdata.cxx
@@ -13,18 +13,8 @@
#include <comphelper/sequenceasvector.hxx>
#include "drawingml/customshapeproperties.hxx"
-#include "oox/helper/helper.hxx"
-#include "oox/helper/propertymap.hxx"
-#include "oox/helper/propertyset.hxx"
#include "oox/token/tokenmap.hxx"
#include <com/sun/star/awt/Rectangle.hpp>
-#include <com/sun/star/awt/Size.hpp>
-#include <com/sun/star/beans/XMultiPropertySet.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/graphic/XGraphicTransformer.hpp>
-#include <com/sun/star/drawing/XShape.hpp>
-#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
-#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
using namespace ::com::sun::star;
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index 9e3218e5bfbc..a22d6b82c1da 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -13,7 +13,6 @@
#include <drawingml/shapestylecontext.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
-#include <oox/drawingml/drawingmltypes.hxx>
#include <boost/optional.hpp>
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx
index d700732ab38e..0167c199c0d0 100644
--- a/starmath/source/rtfexport.cxx
+++ b/starmath/source/rtfexport.cxx
@@ -10,7 +10,6 @@
#include "rtfexport.hxx"
-#include <rtl/ustring.hxx>
#include <svtools/rtfkeywd.hxx>
#include <filter/msfilter/rtfutil.hxx>
diff --git a/starmath/source/wordexportbase.cxx b/starmath/source/wordexportbase.cxx
index 885ca729eb82..21b330130654 100644
--- a/starmath/source/wordexportbase.cxx
+++ b/starmath/source/wordexportbase.cxx
@@ -10,8 +10,6 @@
#include "wordexportbase.hxx"
-#include <rtl/ustring.hxx>
-
SmWordExportBase::SmWordExportBase(const SmNode* pIn)
: m_pTree(pIn)
{
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx
index aa2b3e3aa642..dd1bf247d6ef 100644
--- a/svl/source/items/grabbagitem.cxx
+++ b/svl/source/items/grabbagitem.cxx
@@ -8,11 +8,7 @@
*/
#include <svl/grabbagitem.hxx>
-#include <svl/poolitem.hxx>
-#include <com/sun/star/uno/Any.hxx>
-#include <com/sun/star/uno/Sequence.hxx>
#include <comphelper/sequence.hxx>
-
#include <com/sun/star/beans/PropertyValue.hpp>
TYPEINIT1_AUTOFACTORY(SfxGrabBagItem, SfxPoolItem);
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 122b3b3af16a..bcabdd0b07a2 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -8,7 +8,6 @@
*/
#include <textboxhelper.hxx>
-#include <frmfmt.hxx>
#include <fmtcntnt.hxx>
#include <fmtanchr.hxx>
#include <fmtcnct.hxx>
@@ -18,13 +17,10 @@
#include <IDocumentLayoutAccess.hxx>
#include <ndtxt.hxx>
#include <docsh.hxx>
-#include <docary.hxx>
#include <unocoll.hxx>
#include <unoframe.hxx>
#include <unodraw.hxx>
-#include <unotextbodyhf.hxx>
#include <unotextrange.hxx>
-#include <unomid.h>
#include <cmdid.h>
#include <unoprnms.hxx>
#include <dflyobj.hxx>
@@ -36,7 +32,6 @@
#include <editeng/unoprnms.hxx>
#include <editeng/charrotateitem.hxx>
#include <svx/svdoashp.hxx>
-#include <svx/unopage.hxx>
#include <svx/svdpage.hxx>
#include <svl/itemiter.hxx>
#include <comphelper/sequenceashashmap.hxx>
@@ -46,7 +41,6 @@
#include <com/sun/star/text/SizeType.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/text/WrapTextMode.hpp>
-#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
using namespace com::sun::star;
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index b97e7024b160..f6914325c5ed 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -7,9 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
-#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/xml/sax/XSAXSerializable.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <editeng/lrspitem.hxx>
@@ -18,38 +16,26 @@
#include <editeng/shaditem.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/charrotateitem.hxx>
-#include <svx/svdobj.hxx>
-#include <svx/svdmodel.hxx>
#include <svx/svdogrp.hxx>
#include <oox/token/tokens.hxx>
-#include <oox/export/drawingml.hxx>
-#include <oox/drawingml/drawingmltypes.hxx>
#include <oox/export/utils.hxx>
#include <oox/export/vmlexport.hxx>
#include <oox/token/properties.hxx>
-
-#include <frmatr.hxx>
#include <frmfmt.hxx>
#include <textboxhelper.hxx>
#include <fmtanchr.hxx>
-#include <fmtornt.hxx>
#include <fmtsrnd.hxx>
#include <fmtcntnt.hxx>
#include <ndtxt.hxx>
#include <txatbase.hxx>
#include <fmtautofmt.hxx>
#include <fmtfsize.hxx>
-
#include <drawdoc.hxx>
#include <docxsdrexport.hxx>
-#include <docxexport.hxx>
#include <docxattributeoutput.hxx>
#include <docxexportfilter.hxx>
-#include <writerhelper.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequenceasvector.hxx>
-
-
#include <IDocumentDrawModelAccess.hxx>
using namespace com::sun::star;
diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx
index 6c038cd263a6..566c9a306bd1 100644
--- a/sw/source/filter/ww8/docxtablestyleexport.cxx
+++ b/sw/source/filter/ww8/docxtablestyleexport.cxx
@@ -11,14 +11,8 @@
#include "docxhelper.hxx"
#include <doc.hxx>
#include <docsh.hxx>
-
#include <oox/token/tokens.hxx>
#include <comphelper/sequenceashashmap.hxx>
-#include <rtl/strbuf.hxx>
-
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/uno/Sequence.h>
-
#include <boost/optional.hpp>
using namespace com::sun::star;
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 2d3a882f5a2c..dfd6c8826449 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -17,19 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <sal/config.h>
-
#include <cstring>
-
#include "rtfattributeoutput.hxx"
#include "rtfsdrexport.hxx"
#include "writerwordglue.hxx"
#include "ww8par.hxx"
#include "fmtcntnt.hxx"
#include "fchrfmt.hxx"
-
-#include <rtl/ustring.hxx>
-#include <rtl/tencinfo.h>
#include <svtools/rtfkeywd.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/tstpitem.hxx>
@@ -66,15 +60,11 @@
#include <editeng/charhiddenitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/opaqitem.hxx>
-#include <svx/svdmodel.hxx>
#include <svx/fmglob.hxx>
#include <svx/svdouno.hxx>
-#include <filter/msfilter/msoleexp.hxx>
#include <filter/msfilter/rtfutil.hxx>
-#include <svtools/miscopt.hxx>
#include <sfx2/sfxbasemodel.hxx>
#include <svx/xflgrit.hxx>
-
#include <drawdoc.hxx>
#include <docufld.hxx>
#include <fmtclds.hxx>
@@ -83,13 +73,11 @@
#include <fmtrowsplt.hxx>
#include <fmtline.hxx>
#include <fmtanchr.hxx>
-#include <frmatr.hxx>
#include <htmltbl.hxx>
#include <ndgrf.hxx>
#include <ndtxt.hxx>
#include <pagedesc.hxx>
#include <swmodule.hxx>
-#include <swtable.hxx>
#include <txtftn.hxx>
#include <txtinet.hxx>
#include <grfatr.hxx>
@@ -97,15 +85,11 @@
#include <lineinfo.hxx>
#include <rtf.hxx>
#include <IDocumentDrawModelAccess.hxx>
-
#include <vcl/cvtgrf.hxx>
#include <oox/mathml/export.hxx>
-
#include <com/sun/star/i18n/ScriptType.hpp>
-
using ::editeng::SvxBorderLine;
-
using namespace nsSwDocInfoSubType;
using namespace nsFieldFlags;
using namespace sw::util;
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index e0bebb95255f..42ab1e0c7e2f 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -17,14 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <config_version.h>
#include "rtfexportfilter.hxx"
#include "rtfsdrexport.hxx"
#include "rtfattributeoutput.hxx"
-
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
-
#include <docsh.hxx>
#include <viewsh.hxx>
#include <viewopt.hxx>
@@ -32,8 +29,6 @@
#include <fmtpdsc.hxx>
#include <section.hxx>
#include <pagedesc.hxx>
-#include <swtable.hxx>
-#include <frmatr.hxx>
#include <ftninfo.hxx>
#include <fmthdft.hxx>
#include <editeng/colritem.hxx>
@@ -44,23 +39,15 @@
#include <editeng/ulspitem.hxx>
#include <editeng/paperinf.hxx>
#include <editeng/protitem.hxx>
-
-#include <docary.hxx>
#include <numrule.hxx>
#include <lineinfo.hxx>
#include <swmodule.hxx>
#include <IDocumentLayoutAccess.hxx>
-
#include "ww8par.hxx"
-
#include <comphelper/string.hxx>
-#include <rtl/ustring.hxx>
#include <svtools/rtfkeywd.hxx>
#include <filter/msfilter/rtfutil.hxx>
-#include <unotools/configmgr.hxx>
#include <unotools/docinfohelper.hxx>
-#include <vcl/svapp.hxx>
-
#if OSL_DEBUG_LEVEL > 1
#include <iostream>
#endif
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index e4b86f24f962..ecf12eef04c6 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -19,8 +19,6 @@
#include "rtfsdrexport.hxx"
#include "rtfattributeoutput.hxx"
-#include "rtfexportfilter.hxx"
-
#include <svtools/rtfkeywd.hxx>
#include <filter/msfilter/rtfutil.hxx>
#include <editeng/editobj.hxx>
@@ -29,7 +27,6 @@
#include <vcl/cvtgrf.hxx>
#include <textboxhelper.hxx>
#include <dcontact.hxx>
-
#include <algorithm>
using namespace sw::util;
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 93ff1983d5ca..a97734eaf55b 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -7,19 +7,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <com/sun/star/awt/Size.hpp>
-#include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
-
-#include <comphelper/sequenceashashmap.hxx>
#include <editeng/unoprnms.hxx>
-#include <vcl/outdev.hxx>
#include <vcl/svapp.hxx>
#include <unotools/datetime.hxx>
-
#include <DomainMapper_Impl.hxx>
-#include <StyleSheetTable.hxx>
#include <SdtHelper.hxx>
namespace writerfilter
diff --git a/writerfilter/source/dmapper/TablePositionHandler.cxx b/writerfilter/source/dmapper/TablePositionHandler.cxx
index f45656c12e06..2c7e921d99b9 100644
--- a/writerfilter/source/dmapper/TablePositionHandler.cxx
+++ b/writerfilter/source/dmapper/TablePositionHandler.cxx
@@ -7,15 +7,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <TablePositionHandler.hxx>
-#include <DomainMapperTableHandler.hxx>
-#include <PropertyMap.hxx>
#include <ConversionHelper.hxx>
#include <ooxml/resourceids.hxx>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
#include "dmapperLoggers.hxx"
-
#include <comphelper/sequenceashashmap.hxx>
namespace writerfilter
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index 2161de4f10a3..baf7049ec0c7 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -17,21 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <rtl/ustring.hxx>
#include <cppuhelper/implementationentry.hxx>
-#include <osl/module.hxx>
#include <RtfFilter.hxx>
#include <unotools/mediadescriptor.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <dmapper/DomainMapper.hxx>
#include <rtftok/RTFDocument.hxx>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <unotools/localfilehelper.hxx>
-#include <tools/stream.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/streamwrap.hxx>
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx
index 578c54881f17..4f69ece7a736 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.cxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx
@@ -10,7 +10,6 @@
#include <rtflistener.hxx>
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-#include <sal/macros.h>
#include <string.h>
namespace writerfilter
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 94601f91e62e..53460e599188 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -8,49 +8,33 @@
*/
#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
-#include <com/sun/star/io/UnexpectedEOFException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/text/XTextFrame.hpp>
-#include <com/sun/star/text/SizeType.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
-#include <rtl/tencinfo.h>
#include <svl/lngmisc.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/streamwrap.hxx>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
-#include <rtl/ustring.hxx>
-#include <svtools/grfmgr.hxx>
-#include <vcl/graph.hxx>
-#include <vcl/outdev.hxx>
-#include <vcl/svapp.hxx>
#include <vcl/wmf.hxx>
#include <vcl/settings.hxx>
#include <filter/msfilter/util.hxx>
-#include <filter/msfilter/escherex.hxx>
#include <comphelper/string.hxx>
#include <tools/globname.hxx>
#include <tools/datetimeutils.hxx>
-#include <tools/mapunit.hxx>
#include <comphelper/classids.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <sfx2/sfxbasemodel.hxx>
-
#include <oox/mathml/import.hxx>
#include <ooxml/resourceids.hxx>
-#include <oox/token/tokens.hxx>
#include <oox/token/namespaces.hxx>
#include <dmapper/GraphicHelpers.hxx>
-
#include <rtfsdrimport.hxx>
-#include <rtftokenizer.hxx>
#include <rtflookahead.hxx>
#include <rtfcharsets.hxx>
#include <rtfreferenceproperties.hxx>
diff --git a/writerfilter/source/rtftok/rtflookahead.cxx b/writerfilter/source/rtftok/rtflookahead.cxx
index 91f8d6e0b2de..8e608d2e6ab5 100644
--- a/writerfilter/source/rtftok/rtflookahead.cxx
+++ b/writerfilter/source/rtftok/rtflookahead.cxx
@@ -8,10 +8,7 @@
*/
#include <boost/shared_ptr.hpp>
-
-#include <com/sun/star/task/XStatusIndicator.hpp>
#include <tools/stream.hxx>
-
#include <rtflookahead.hxx>
using namespace com::sun::star;
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index f2081b4611fd..bd981f3a6ba0 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.cxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.cxx
@@ -12,9 +12,7 @@
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
-#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
-#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/table/BorderLine2.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
@@ -24,24 +22,17 @@
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/text/WritingMode.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
-
#include <ooxml/resourceids.hxx>
-#include <filter/msfilter/escherex.hxx>
#include <filter/msfilter/util.hxx>
#include <svx/svdtrans.hxx>
-#include <tools/mapunit.hxx>
-#include <comphelper/sequenceasvector.hxx>
-
#include <dmapper/DomainMapper.hxx>
#include "../dmapper/GraphicHelpers.hxx"
#include <rtfsdrimport.hxx>
#include <rtfreferenceproperties.hxx>
-
#include <oox/vml/vmlformatting.hxx>
#include <oox/helper/modelobjecthelper.hxx>
#include <oox/drawingml/shapepropertymap.hxx>
#include <oox/helper/propertyset.hxx>
-
#include <boost/logic/tribool.hpp>
using namespace com::sun::star;
diff --git a/writerfilter/source/rtftok/rtftokenizer.cxx b/writerfilter/source/rtftok/rtftokenizer.cxx
index a2eae60845e9..3e3ff78b7754 100644
--- a/writerfilter/source/rtftok/rtftokenizer.cxx
+++ b/writerfilter/source/rtftok/rtftokenizer.cxx
@@ -7,13 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <tools/stream.hxx>
-#include <tools/resmgr.hxx>
#include <svx/dialogs.hrc>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <rtl/strbuf.hxx>
-
#include <rtftokenizer.hxx>
#include <rtfskipdestination.hxx>
#include <com/sun/star/io/BufferSizeExceededException.hpp>