sw/source/filter/basflt/fltini.cxx | 2 -- sw/source/filter/html/SwAppletImpl.cxx | 1 - sw/source/filter/html/htmlplug.cxx | 1 - sw/source/filter/html/htmltabw.cxx | 7 ------- sw/source/filter/html/wrthtml.cxx | 7 ------- sw/source/filter/inc/fltshell.hxx | 3 --- sw/source/filter/ww8/docxexportfilter.hxx | 1 - sw/source/filter/ww8/writerhelper.cxx | 1 - sw/source/filter/ww8/wrtw8esh.cxx | 2 -- sw/source/filter/ww8/ww8par3.cxx | 16 +--------------- sw/source/filter/ww8/ww8par5.cxx | 1 - sw/source/filter/ww8/ww8toolbar.cxx | 3 --- sw/source/filter/xml/swxml.cxx | 2 -- sw/source/filter/xml/wrtxml.cxx | 4 +--- sw/source/filter/xml/wrtxml.hxx | 1 + sw/source/filter/xml/xmlbrsh.cxx | 1 - sw/source/filter/xml/xmlexp.cxx | 1 - sw/source/filter/xml/xmlfmte.cxx | 1 - sw/source/filter/xml/xmlfonte.cxx | 1 - sw/source/filter/xml/xmlimp.cxx | 2 -- sw/source/filter/xml/xmlmeta.cxx | 2 -- sw/source/filter/xml/xmltexte.cxx | 5 ----- sw/source/filter/xml/xmltexti.cxx | 3 --- 23 files changed, 3 insertions(+), 65 deletions(-)
New commits: commit 45c7ba7ad6befdc4c212c376ef9399976f6695e1 Author: Bartosz Kosiorek <gan...@poczta.onet.pl> Date: Tue Nov 22 21:11:04 2016 +0100 tdf#42949 Remove unnecessary headers from sw/source/filters Change-Id: I5f4d3fed6e8fd484ba5da835e2954f3c2042f33b Reviewed-on: https://gerrit.libreoffice.org/31087 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx index 071751b..3b896eb 100644 --- a/sw/source/filter/basflt/fltini.cxx +++ b/sw/source/filter/basflt/fltini.cxx @@ -54,8 +54,6 @@ #include <swdll.hxx> #include <osl/module.hxx> #include <comphelper/processfactory.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/util/XMacroExpander.hpp> #include <rtl/bootstrap.hxx> using namespace utl; diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx index bfeb6e8..fc8fb91 100644 --- a/sw/source/filter/html/SwAppletImpl.cxx +++ b/sw/source/filter/html/SwAppletImpl.cxx @@ -21,7 +21,6 @@ #include <svtools/htmlkywd.hxx> #include <svl/urihelper.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> #include <comphelper/embeddedobjectcontainer.hxx> #include <comphelper/classids.hxx> diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx index 468ba55..cedeafd 100644 --- a/sw/source/filter/html/htmlplug.cxx +++ b/sw/source/filter/html/htmlplug.cxx @@ -55,7 +55,6 @@ #include "swcss1.hxx" #include "unoframe.hxx" #include <com/sun/star/embed/XClassifiedObject.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/frame/XStorable.hpp> diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx index 3becd8c..d536ff0 100644 --- a/sw/source/filter/html/htmltabw.cxx +++ b/sw/source/filter/html/htmltabw.cxx @@ -27,13 +27,6 @@ #include <editeng/lrspitem.hxx> #include <editeng/brushitem.hxx> #include <editeng/boxitem.hxx> -#include <com/sun/star/form/XFormsSupplier.hpp> -#include <com/sun/star/form/XForm.hpp> -#include <com/sun/star/form/XImageProducerSupplier.hpp> -#include <com/sun/star/form/XFormController.hpp> -#include <com/sun/star/container/XContainer.hpp> -#include <com/sun/star/container/XIndexContainer.hpp> -#include <com/sun/star/container/XSet.hpp> #include <fmtornt.hxx> #include <frmfmt.hxx> #include <fmtfsize.hxx> diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index 147d175..b3034c7 100644 --- a/sw/source/filter/html/wrthtml.cxx +++ b/sw/source/filter/html/wrthtml.cxx @@ -43,13 +43,6 @@ #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> -#include <com/sun/star/form/XFormsSupplier.hpp> -#include <com/sun/star/form/XForm.hpp> -#include <com/sun/star/form/XImageProducerSupplier.hpp> -#include <com/sun/star/form/XFormController.hpp> -#include <com/sun/star/container/XContainer.hpp> -#include <com/sun/star/container/XIndexContainer.hpp> -#include <com/sun/star/container/XSet.hpp> #include <fmthdft.hxx> #include <fmtfld.hxx> #include <fmtpdsc.hxx> diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx index bd669dd..702e12f 100644 --- a/sw/source/filter/inc/fltshell.hxx +++ b/sw/source/filter/inc/fltshell.hxx @@ -19,9 +19,6 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_INC_FLTSHELL_HXX #define INCLUDED_SW_SOURCE_FILTER_INC_FLTSHELL_HXX -#include <com/sun/star/text/HoriOrientation.hpp> -#include <com/sun/star/text/VertOrientation.hpp> -#include <com/sun/star/text/RelOrientation.hpp> #include <hintids.hxx> #include <vcl/keycod.hxx> #include <tools/datetime.hxx> diff --git a/sw/source/filter/ww8/docxexportfilter.hxx b/sw/source/filter/ww8/docxexportfilter.hxx index 0c4b859..983c8d7 100644 --- a/sw/source/filter/ww8/docxexportfilter.hxx +++ b/sw/source/filter/ww8/docxexportfilter.hxx @@ -24,7 +24,6 @@ #include <oox/drawingml/chart/chartconverter.hxx> #include <oox/vml/vmldrawing.hxx> -#include <com/sun/star/beans/PropertyValue.hpp> /// The physical access to the DOCX document (for writing). class DocxExportFilter : public oox::core::XmlFilterBase diff --git a/sw/source/filter/ww8/writerhelper.cxx b/sw/source/filter/ww8/writerhelper.cxx index 4c1ef18..5d38ce1 100644 --- a/sw/source/filter/ww8/writerhelper.cxx +++ b/sw/source/filter/ww8/writerhelper.cxx @@ -23,7 +23,6 @@ #include "writerhelper.hxx" #include <msfilter.hxx> #include <com/sun/star/container/XChild.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> #include <algorithm> #include <functional> diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 9fc4425..b654cdb 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -85,9 +85,7 @@ #include "escher.hxx" #include <ndtxt.hxx> #include "WW8FFData.hxx" -#include <com/sun/star/beans/XPropertyContainer.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/form/XFormComponent.hpp> #include "docsh.hxx" #include "IDocumentStylePoolAccess.hxx" diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 5c34fe8..cd292a62 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -22,25 +22,11 @@ #include <vcl/outdev.hxx> #include <toolkit/helper/vclunohelper.hxx> -#include <com/sun/star/form/XFormsSupplier.hpp> #include <com/sun/star/form/XForm.hpp> -#include <com/sun/star/form/XImageProducerSupplier.hpp> -#include <com/sun/star/form/XFormController.hpp> -#include <com/sun/star/frame/XStorable.hpp> -#include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/drawing/XConnectableShape.hpp> -#include <com/sun/star/drawing/XConnectorShape.hpp> #include <com/sun/star/drawing/XShape.hpp> +#include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/drawing/XControlShape.hpp> -#include <com/sun/star/drawing/XShapeAligner.hpp> -#include <com/sun/star/drawing/XShapeGroup.hpp> -#include <com/sun/star/drawing/XUniversalShapeDescriptor.hpp> -#include <com/sun/star/drawing/XShapeMirror.hpp> -#include <com/sun/star/drawing/XShapeArranger.hpp> -#include <com/sun/star/drawing/XDrawPage.hpp> -#include <com/sun/star/drawing/XDrawPageSupplier.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/text/VertOrientation.hpp> #include <com/sun/star/text/TextContentAnchorType.hpp> diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 327368f..3bb5a56 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/XTransactedObject.hpp> -#include <com/sun/star/io/XStream.hpp> #include <com/sun/star/task/InteractionHandler.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 15c0abb..a0dce1d 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -15,10 +15,7 @@ #include <com/sun/star/document/IndexedPropertyValues.hpp> #include <com/sun/star/ui/XUIConfigurationPersistence.hpp> #include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleComponentFactory.hpp> -#include <com/sun/star/lang/XMultiComponentFactory.hpp> -#include <com/sun/star/ui/XImageManager.hpp> #include <com/sun/star/ui/ItemType.hpp> #include <fstream> #include <comphelper/processfactory.hxx> diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index 3275e37..d9169ef 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -23,7 +23,6 @@ #include <comphelper/processfactory.hxx> #include <com/sun/star/xml/sax/InputSource.hpp> #include <com/sun/star/xml/sax/Parser.hpp> -#include <com/sun/star/io/XActiveDataControl.hpp> #include <com/sun/star/text/XTextRange.hpp> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/document/NamedPropertyValues.hpp> @@ -31,7 +30,6 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/task/XStatusIndicatorFactory.hpp> #include <com/sun/star/io/XActiveDataSource.hpp> #include <com/sun/star/packages/zip/ZipIOException.hpp> #include <com/sun/star/packages/WrongPasswordException.hpp> diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index 3c15cc1..0447ac4 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -19,10 +19,8 @@ #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/ElementModes.hpp> -#include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/task/XStatusIndicatorFactory.hpp> -#include <com/sun/star/io/XActiveDataSource.hpp> +#include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/xml/sax/Writer.hpp> #include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/document/XFilter.hpp> diff --git a/sw/source/filter/xml/wrtxml.hxx b/sw/source/filter/xml/wrtxml.hxx index 913e3b8..558b21f 100644 --- a/sw/source/filter/xml/wrtxml.hxx +++ b/sw/source/filter/xml/wrtxml.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_FILTER_XML_WRTXML_HXX #include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <shellio.hxx> diff --git a/sw/source/filter/xml/xmlbrsh.cxx b/sw/source/filter/xml/xmlbrsh.cxx index 8c69be9..d31249b 100644 --- a/sw/source/filter/xml/xmlbrsh.cxx +++ b/sw/source/filter/xml/xmlbrsh.cxx @@ -18,7 +18,6 @@ */ #include "hintids.hxx" -#include <com/sun/star/io/XOutputStream.hpp> #include <editeng/memberids.hrc> #include <xmloff/nmspmap.hxx> diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 50c002e..483aefb 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -20,7 +20,6 @@ #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/document/IndexedPropertyValues.hpp> #include <com/sun/star/uno/RuntimeException.hpp> diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx index 7cb3f66..5bdfba1 100644 --- a/sw/source/filter/xml/xmlfmte.cxx +++ b/sw/source/filter/xml/xmlfmte.cxx @@ -35,7 +35,6 @@ #include <unostyle.hxx> #include <cellatr.hxx> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include "xmlexp.hxx" #include <SwStyleNameMapper.hxx> diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx index 49a10cc..f954394 100644 --- a/sw/source/filter/xml/xmlfonte.cxx +++ b/sw/source/filter/xml/xmlfonte.cxx @@ -18,7 +18,6 @@ */ #include "hintids.hxx" -#include <com/sun/star/text/XTextDocument.hpp> #include <xmloff/XMLFontAutoStylePool.hxx> #include <editeng/fontitem.hxx> #include <unotext.hxx> diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index a72fd26..1197184 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -21,11 +21,9 @@ #include <cassert> -#include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/document/PrinterIndependentLayout.hpp> #include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp> -#include <com/sun/star/i18n/XForbiddenCharacters.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextRange.hpp> diff --git a/sw/source/filter/xml/xmlmeta.cxx b/sw/source/filter/xml/xmlmeta.cxx index 724ca5e..9618e8c 100644 --- a/sw/source/filter/xml/xmlmeta.cxx +++ b/sw/source/filter/xml/xmlmeta.cxx @@ -18,9 +18,7 @@ */ #include <hintids.hxx> -#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> -#include <com/sun/star/text/XTextDocument.hpp> #include <xmloff/xmlnmspe.hxx> #include <xmloff/xmlmetai.hxx> #include <xmloff/xmlmetae.hxx> diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 651ba66..abb2013 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -18,13 +18,8 @@ */ #include <comphelper/classids.hxx> -#include <com/sun/star/embed/XEmbedObjectCreator.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/embed/XLinkageSupport.hpp> -#include <com/sun/star/embed/EmbedStates.hpp> -#include <com/sun/star/embed/XClassifiedObject.hpp> -#include <com/sun/star/embed/Aspects.hpp> -#include <com/sun/star/embed/NoVisualAreaSizeException.hpp> #include <com/sun/star/document/XEmbeddedObjectSupplier.hpp> #include <xmloff/families.hxx> #include <xmloff/xmlnmspe.hxx> diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index 06a6bbe..85d9af4 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -19,12 +19,9 @@ #include <comphelper/storagehelper.hxx> #include <comphelper/processfactory.hxx> -#include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbeddedObjectCreator.hpp> #include <com/sun/star/embed/OOoEmbeddedObjectFactory.hpp> -#include <com/sun/star/embed/XLinkCreator.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> -#include <com/sun/star/embed/XVisualObject.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/task/XInteractionHandler.hpp> #include <o3tl/any.hxx> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits