summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parent3ceaa46425743483b767abdfae9b19f753759876 (diff)
unused includes in RTF filter and related files
Change-Id: Id13e10f2ceed3985c78ccc542e6677eccc0cb1c7
Diffstat (limited to 'sw')
-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
6 files changed, 0 insertions, 58 deletions
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;