summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-09-27 23:08:16 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-09-30 10:03:30 +0200
commitf0e0fb71fc6eefc65afdf1650100ffd4c64c18d0 (patch)
treeac45e47992992c5ac0de2d84bc7b2ebeb2bba125 /xmloff/source/core
parent8aa8893be8f3c7e4acfdacb401f8fe3d297647b5 (diff)
tdf#42949 Fix IWYU warnings in xmloff/source/[c-m]*/*cxx
Also checked xmloff/qa Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I843917d255f841066ace8d944aa1d00f1b718108 Reviewed-on: https://gerrit.libreoffice.org/79773 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx2
-rw-r--r--xmloff/source/core/DomExport.cxx4
-rw-r--r--xmloff/source/core/ProgressBarHelper.cxx1
-rw-r--r--xmloff/source/core/RDFaExportHelper.cxx3
-rw-r--r--xmloff/source/core/RDFaImportHelper.cxx5
-rw-r--r--xmloff/source/core/SettingsExportHelper.cxx2
-rw-r--r--xmloff/source/core/SvXMLAttrCollection.cxx1
-rw-r--r--xmloff/source/core/XMLBase64Export.cxx1
-rw-r--r--xmloff/source/core/XMLBase64ImportContext.cxx1
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx2
-rw-r--r--xmloff/source/core/attrlist.cxx1
-rw-r--r--xmloff/source/core/facreg.cxx2
-rw-r--r--xmloff/source/core/unoatrcn.cxx1
-rw-r--r--xmloff/source/core/xmlerror.cxx1
-rw-r--r--xmloff/source/core/xmlexp.cxx8
-rw-r--r--xmloff/source/core/xmlictxt.cxx5
-rw-r--r--xmloff/source/core/xmlimp.cxx2
17 files changed, 1 insertions, 41 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index 27d242abe19e..9d3bafb53b54 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -29,7 +29,6 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/nmspmap.hxx>
-#include <xmloff/xmluconv.hxx>
#include <comphelper/base64.hxx>
#include <vector>
@@ -43,7 +42,6 @@
#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/document/NamedPropertyValues.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <tools/diagnose_ex.h>
diff --git a/xmloff/source/core/DomExport.cxx b/xmloff/source/core/DomExport.cxx
index 5f9afe16c187..d437f2617c6d 100644
--- a/xmloff/source/core/DomExport.cxx
+++ b/xmloff/source/core/DomExport.cxx
@@ -26,12 +26,8 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/xml/dom/XAttr.hpp>
-#include <com/sun/star/xml/dom/XDocumentBuilder.hpp>
#include <com/sun/star/xml/dom/XNode.hpp>
#include <com/sun/star/xml/dom/XElement.hpp>
-#include <com/sun/star/xml/dom/XEntity.hpp>
-#include <com/sun/star/xml/dom/XNotation.hpp>
-#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/xml/dom/NodeType.hpp>
#include <com/sun/star/xml/dom/XNamedNodeMap.hpp>
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx
index b16ecc7f0b8f..5c34cfadbc6b 100644
--- a/xmloff/source/core/ProgressBarHelper.cxx
+++ b/xmloff/source/core/ProgressBarHelper.cxx
@@ -18,7 +18,6 @@
*/
#include <xmloff/ProgressBarHelper.hxx>
-#include <xmloff/xmltoken.hxx>
#include <osl/diagnose.h>
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx
index 2d0c48a2c4d0..169a4790b6ac 100644
--- a/xmloff/source/core/RDFaExportHelper.cxx
+++ b/xmloff/source/core/RDFaExportHelper.cxx
@@ -30,8 +30,6 @@
#include <com/sun/star/uri/XUriReference.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/rdf/Statement.hpp>
-#include <com/sun/star/rdf/URIs.hpp>
-#include <com/sun/star/rdf/URI.hpp>
#include <com/sun/star/rdf/XLiteral.hpp>
#include <com/sun/star/rdf/XRepositorySupplier.hpp>
#include <com/sun/star/rdf/XDocumentRepository.hpp>
@@ -39,7 +37,6 @@
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
-#include <functional>
#include <algorithm>
using namespace ::com::sun::star;
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 4ee20b4e478b..7b408ecbbb49 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -25,16 +25,13 @@
#include <comphelper/sequence.hxx>
#include <com/sun/star/rdf/URI.hpp>
-#include <com/sun/star/rdf/XDocumentMetadataAccess.hpp>
#include <com/sun/star/rdf/XDocumentRepository.hpp>
+#include <com/sun/star/rdf/XRepositorySupplier.hpp>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <map>
-#include <iterator>
-#include <functional>
-#include <algorithm>
using namespace ::com::sun::star;
diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx
index c7128965d6b6..09a615b51893 100644
--- a/xmloff/source/core/SettingsExportHelper.cxx
+++ b/xmloff/source/core/SettingsExportHelper.cxx
@@ -21,7 +21,6 @@
#include <sax/tools/converter.hxx>
#include <xmloff/SettingsExportHelper.hxx>
-#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
@@ -37,7 +36,6 @@
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/util/PathSubstitution.hpp>
#include <com/sun/star/util/DateTime.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/formula/SymbolDescriptor.hpp>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
#include <com/sun/star/document/IndexedPropertyValues.hpp>
diff --git a/xmloff/source/core/SvXMLAttrCollection.cxx b/xmloff/source/core/SvXMLAttrCollection.cxx
index 7217aee6393d..466008b9f80e 100644
--- a/xmloff/source/core/SvXMLAttrCollection.cxx
+++ b/xmloff/source/core/SvXMLAttrCollection.cxx
@@ -10,7 +10,6 @@
#include "SvXMLAttrCollection.hxx"
#include <limits.h>
#include <osl/diagnose.h>
-#include <sal/log.hxx>
bool SvXMLAttrCollection::operator ==( const SvXMLAttrCollection& rCmp ) const
{
diff --git a/xmloff/source/core/XMLBase64Export.cxx b/xmloff/source/core/XMLBase64Export.cxx
index 26efc980f443..0aa2ff136f3f 100644
--- a/xmloff/source/core/XMLBase64Export.cxx
+++ b/xmloff/source/core/XMLBase64Export.cxx
@@ -22,7 +22,6 @@
#include <com/sun/star/io/XInputStream.hpp>
-#include <sax/tools/converter.hxx>
#include <comphelper/base64.hxx>
#include <xmloff/xmlexp.hxx>
diff --git a/xmloff/source/core/XMLBase64ImportContext.cxx b/xmloff/source/core/XMLBase64ImportContext.cxx
index fd3fdae5b768..f7291c39a7d3 100644
--- a/xmloff/source/core/XMLBase64ImportContext.cxx
+++ b/xmloff/source/core/XMLBase64ImportContext.cxx
@@ -19,7 +19,6 @@
#include <com/sun/star/io/XOutputStream.hpp>
-#include <sax/tools/converter.hxx>
#include <comphelper/base64.hxx>
#include <xmloff/xmlimp.hxx>
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index 19e76a693117..a690a5770f1c 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -19,7 +19,6 @@
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/util/XModifiable2.hpp>
#include <tools/globname.hxx>
#include <comphelper/classids.hxx>
@@ -27,7 +26,6 @@
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlerror.hxx>
#include <xmloff/attrlist.hxx>
#include <xmloff/XMLFilterServiceNames.h>
#include <XMLEmbeddedObjectImportContext.hxx>
diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx
index c99086483d36..805cafdd45b6 100644
--- a/xmloff/source/core/attrlist.cxx
+++ b/xmloff/source/core/attrlist.cxx
@@ -18,7 +18,6 @@
*/
-#include <string.h>
#include <vector>
#include <osl/diagnose.h>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/core/facreg.cxx b/xmloff/source/core/facreg.cxx
index 949ea7518b1d..6e1a5bf48cad 100644
--- a/xmloff/source/core/facreg.cxx
+++ b/xmloff/source/core/facreg.cxx
@@ -23,8 +23,6 @@
#include <xmloff/dllapi.h>
#include <string.h>
-#include <com/sun/star/container/XSet.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/factory.hxx>
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 8c858cca2ca2..81ec1e93ef00 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -18,7 +18,6 @@
*/
#include <memory>
-#include <string.h>
#include <com/sun/star/xml/AttributeData.hpp>
#include <o3tl/any.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 750cee7d820f..115c2b12de3a 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -19,7 +19,6 @@
#include <xmloff/xmlerror.hxx>
#include <rtl/ustring.hxx>
-#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <com/sun/star/xml/sax/XLocator.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 83d3fd71af47..93ef19a46957 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -22,7 +22,6 @@
#include <sal/log.hxx>
#include <stack>
-#include <string.h>
#include <officecfg/Office/Common.hxx>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
@@ -51,13 +50,11 @@
#include <xmloff/xmlnumfe.hxx>
#include <xmloff/xmlmetae.hxx>
#include <xmloff/XMLSettingsExportContext.hxx>
-#include <xmloff/families.hxx>
#include <xmloff/XMLEventExport.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <XMLStarBasicExportHandler.hxx>
#include <XMLScriptExportHandler.hxx>
#include <xmloff/SettingsExportHelper.hxx>
-#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <com/sun/star/frame/XModel.hpp>
@@ -83,12 +80,7 @@
#include <comphelper/extract.hxx>
#include <PropertySetMerger.hxx>
-#include <svl/urihelper.hxx>
-#include <xmloff/xformsexport.hxx>
-
#include <unotools/docinfohelper.hxx>
-#include <unotools/bootstrap.hxx>
-#include <unotools/configmgr.hxx>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XMLOasisBasicExporter.hpp>
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index a448e9fa773c..fb4e64ef8719 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -17,12 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <com/sun/star/xml/sax/SAXParseException.hpp>
-#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
-#include <com/sun/star/xml/sax/XLocator.hpp>
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmlictxt.hxx>
#include <sax/fastattribs.hxx>
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index ba715329736a..a956c316a49f 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -18,7 +18,6 @@
*/
#include <memory>
-#include <string.h>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
@@ -51,7 +50,6 @@
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <com/sun/star/document/XGraphicStorageHandler.hpp>
#include <com/sun/star/document/XEmbeddedObjectResolver.hpp>
-#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/xml/sax/XLocator.hpp>
#include <com/sun/star/xml/sax/FastParser.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>