[Libreoffice-commits] core.git: dbaccess/IwyuFilter_dbaccess.yaml dbaccess/source
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 1 07:32:28 UTC 2020
dbaccess/IwyuFilter_dbaccess.yaml | 16 ++++++++++++++++
dbaccess/source/filter/hsqldb/fbcreateparser.cxx | 2 --
dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx | 3 ---
dbaccess/source/filter/hsqldb/hsqlimport.cxx | 2 --
dbaccess/source/filter/hsqldb/rowinputbinary.cxx | 1 -
dbaccess/source/filter/hsqldb/utils.cxx | 2 --
dbaccess/source/filter/xml/dbloader2.cxx | 9 ---------
dbaccess/source/filter/xml/xmlColumn.cxx | 7 -------
dbaccess/source/filter/xml/xmlComponent.cxx | 4 ----
dbaccess/source/filter/xml/xmlConnectionData.cxx | 6 +-----
dbaccess/source/filter/xml/xmlConnectionResource.cxx | 4 ----
dbaccess/source/filter/xml/xmlDataSource.cxx | 5 -----
dbaccess/source/filter/xml/xmlDataSourceInfo.cxx | 6 ------
dbaccess/source/filter/xml/xmlDataSourceSetting.cxx | 5 -----
dbaccess/source/filter/xml/xmlDataSourceSettings.cxx | 6 ------
dbaccess/source/filter/xml/xmlDatabase.cxx | 2 --
dbaccess/source/filter/xml/xmlDatabaseDescription.cxx | 5 -----
dbaccess/source/filter/xml/xmlDocuments.cxx | 2 --
dbaccess/source/filter/xml/xmlExport.cxx | 5 -----
dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx | 4 ----
dbaccess/source/filter/xml/xmlHelper.cxx | 3 ---
dbaccess/source/filter/xml/xmlHierarchyCollection.cxx | 5 -----
dbaccess/source/filter/xml/xmlLogin.cxx | 6 ------
dbaccess/source/filter/xml/xmlQuery.cxx | 6 ------
dbaccess/source/filter/xml/xmlServerDatabase.cxx | 5 -----
dbaccess/source/filter/xml/xmlStyleImport.cxx | 6 ------
dbaccess/source/filter/xml/xmlTable.cxx | 5 -----
dbaccess/source/filter/xml/xmlTableFilterList.cxx | 2 --
dbaccess/source/filter/xml/xmlfilter.cxx | 6 ------
dbaccess/source/sdbtools/connection/connectiontools.cxx | 2 --
dbaccess/source/sdbtools/connection/objectnames.cxx | 2 --
dbaccess/source/sdbtools/connection/tablename.cxx | 1 -
dbaccess/source/ui/browser/dbloader.cxx | 6 ------
33 files changed, 17 insertions(+), 134 deletions(-)
New commits:
commit 61decd49f6491966ec996cad4e39b08b9bb58d91
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Tue Mar 31 08:55:01 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Apr 1 09:31:48 2020 +0200
tdf#42949 Fix IWYU warnings in dbaccess/source/[f-s]*/*cxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I2a527ddf039674bba2346a846859a6f7b2e024ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91408
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/dbaccess/IwyuFilter_dbaccess.yaml b/dbaccess/IwyuFilter_dbaccess.yaml
index 9eb35dc8c9bf..cfd5466d4aee 100644
--- a/dbaccess/IwyuFilter_dbaccess.yaml
+++ b/dbaccess/IwyuFilter_dbaccess.yaml
@@ -66,3 +66,19 @@ blacklist:
dbaccess/source/core/misc/DatabaseDataProvider.cxx:
# Needed for UnoType macro to work
- com/sun/star/task/XInteractionHandler.hpp
+ dbaccess/source/filter/hsqldb/parseschema.cxx:
+ # Actually used
+ - com/sun/star/embed/XStorage.hpp
+ dbaccess/source/filter/hsqldb/hsqlimport.cxx:
+ # Actually used
+ - com/sun/star/embed/XStorage.hpp
+ - com/sun/star/sdbc/XConnection.hpp
+ dbaccess/source/filter/hsqldb/rowinputbinary.cxx:
+ # Needed boost wrapper header
+ - boost/date_time/posix_time/posix_time.hpp
+ dbaccess/source/shared/flt_reghelper.cxx:
+ # Needed for weird included cxx file
+ - comphelper/sequence.hxx
+ dbaccess/source/shared/dbu_reghelper.cxx:
+ # Needed for weird included cxx file
+ - comphelper/sequence.hxx
diff --git a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
index 70b7810dc7c2..4f8fb8667d1e 100644
--- a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
+++ b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
@@ -23,8 +23,6 @@
#include <com/sun/star/sdbc/DataType.hpp>
-#include <connectivity/dbexception.hxx>
-#include <comphelper/processfactory.hxx>
#include <rtl/ustrbuf.hxx>
using namespace css::sdbc;
diff --git a/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx b/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
index ec5572667dea..6211916fcd05 100644
--- a/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
+++ b/dbaccess/source/filter/hsqldb/hsqlbinarynode.cxx
@@ -20,9 +20,6 @@
#include "hsqlbinarynode.hxx"
#include "rowinputbinary.hxx"
-#include <cppuhelper/implbase.hxx>
-#include <vector>
-
namespace dbahsql
{
using ColumnTypeVector = std::vector<ColumnDefinition>;
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.cxx b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
index 8c7a3e82778b..a017d8dfa12e 100644
--- a/dbaccess/source/filter/hsqldb/hsqlimport.cxx
+++ b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
@@ -19,8 +19,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/uno/Exception.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/util/Date.hpp>
diff --git a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
index 13cb731d0877..89c748fcbb82 100644
--- a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
+++ b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
@@ -20,7 +20,6 @@
#include "rowinputbinary.hxx"
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
-#include <com/sun/star/io/XConnectable.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/DateTime.hpp>
diff --git a/dbaccess/source/filter/hsqldb/utils.cxx b/dbaccess/source/filter/hsqldb/utils.cxx
index c8d28426e812..3dc8f2e55b16 100644
--- a/dbaccess/source/filter/hsqldb/utils.cxx
+++ b/dbaccess/source/filter/hsqldb/utils.cxx
@@ -22,8 +22,6 @@
#include <comphelper/processfactory.hxx>
#include <connectivity/dbexception.hxx>
-#include <sal/log.hxx>
-
#include "utils.hxx"
using namespace dbahsql;
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index 0116f8691986..8546c693aac1 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -19,14 +19,11 @@
#include <flt_reghelper.hxx>
#include "xmlservices.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/document/XEventListener.hpp>
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
-#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/frame/Desktop.hpp>
@@ -36,10 +33,8 @@
#include <com/sun/star/frame/XLoadEventListener.hpp>
#include <com/sun/star/frame/XModel2.hpp>
#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/task/XJobExecutor.hpp>
@@ -60,13 +55,9 @@
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <osl/file.hxx>
#include <sfx2/docfile.hxx>
#include <unotools/moduleoptions.hxx>
-#include <toolkit/awt/vclxwindow.hxx>
#include <tools/diagnose_ex.h>
-#include <ucbhelper/commandenvironment.hxx>
-#include <ucbhelper/content.hxx>
#include <vcl/svapp.hxx>
using namespace ::ucbhelper;
diff --git a/dbaccess/source/filter/xml/xmlColumn.cxx b/dbaccess/source/filter/xml/xmlColumn.cxx
index 7fcb6de52ade..4816ed62936c 100644
--- a/dbaccess/source/filter/xml/xmlColumn.cxx
+++ b/dbaccess/source/filter/xml/xmlColumn.cxx
@@ -20,16 +20,9 @@
#include "xmlColumn.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmluconv.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
#include <com/sun/star/sdbcx/XAppend.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/container/XChild.hpp>
#include "xmlStyleImport.hxx"
#include <osl/diagnose.h>
#include <sal/log.hxx>
diff --git a/dbaccess/source/filter/xml/xmlComponent.cxx b/dbaccess/source/filter/xml/xmlComponent.cxx
index 6bab5aa8f9cf..17cd09eaaef3 100644
--- a/dbaccess/source/filter/xml/xmlComponent.cxx
+++ b/dbaccess/source/filter/xml/xmlComponent.cxx
@@ -21,12 +21,8 @@
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <comphelper/propertysequence.hxx>
diff --git a/dbaccess/source/filter/xml/xmlConnectionData.cxx b/dbaccess/source/filter/xml/xmlConnectionData.cxx
index c99853543dfb..221358537481 100644
--- a/dbaccess/source/filter/xml/xmlConnectionData.cxx
+++ b/dbaccess/source/filter/xml/xmlConnectionData.cxx
@@ -19,17 +19,13 @@
#include "xmlConnectionData.hxx"
#include "xmlLogin.hxx"
-#include "xmlTableFilterList.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
#include "xmlDatabaseDescription.hxx"
#include "xmlConnectionResource.hxx"
-#include <stringconstants.hxx>
-#include <tools/diagnose_ex.h>
+#include <osl/diagnose.h>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlConnectionResource.cxx b/dbaccess/source/filter/xml/xmlConnectionResource.cxx
index 744345b4c7f9..7c48b9a00a84 100644
--- a/dbaccess/source/filter/xml/xmlConnectionResource.cxx
+++ b/dbaccess/source/filter/xml/xmlConnectionResource.cxx
@@ -21,11 +21,7 @@
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
namespace dbaxml
diff --git a/dbaccess/source/filter/xml/xmlDataSource.cxx b/dbaccess/source/filter/xml/xmlDataSource.cxx
index 6044ed9d6a34..bc3d7c85e0a1 100644
--- a/dbaccess/source/filter/xml/xmlDataSource.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSource.cxx
@@ -22,16 +22,11 @@
#include "xmlTableFilterList.hxx"
#include "xmlDataSourceInfo.hxx"
#include "xmlDataSourceSettings.hxx"
-#include "xmlDataSourceSetting.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include "xmlConnectionData.hxx"
diff --git a/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx b/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
index 75e50335dba1..a5e1c0af0a7d 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
@@ -18,16 +18,10 @@
*/
#include "xmlDataSourceInfo.hxx"
-#include "xmlDataSource.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <vector>
#include <sal/log.hxx>
namespace dbaxml
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
index 57157250bdf2..dede8308877c 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
@@ -23,17 +23,12 @@
#include <map>
#include "xmlDataSourceSetting.hxx"
-#include "xmlDataSource.hxx"
#include <sax/tools/converter.hxx>
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <osl/diagnose.h>
-#include <rtl/strbuf.hxx>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSettings.cxx b/dbaccess/source/filter/xml/xmlDataSourceSettings.cxx
index eff915c1d62a..49847ef541ed 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceSettings.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceSettings.cxx
@@ -21,14 +21,8 @@
#include "xmlDataSourceSetting.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
-#include <com/sun/star/beans/PropertyValue.hpp>
-
-#include <vector>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlDatabase.cxx b/dbaccess/source/filter/xml/xmlDatabase.cxx
index 80e929e849c9..d76dfbe791ee 100644
--- a/dbaccess/source/filter/xml/xmlDatabase.cxx
+++ b/dbaccess/source/filter/xml/xmlDatabase.cxx
@@ -20,7 +20,6 @@
#include "xmlDatabase.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlDataSource.hxx"
#include "xmlDocuments.hxx"
@@ -29,7 +28,6 @@
#include <com/sun/star/sdb/XFormDocumentsSupplier.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdb/XQueryDefinitionsSupplier.hpp>
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <connectivity/dbtools.hxx>
diff --git a/dbaccess/source/filter/xml/xmlDatabaseDescription.cxx b/dbaccess/source/filter/xml/xmlDatabaseDescription.cxx
index c024d99096c1..a8168e129501 100644
--- a/dbaccess/source/filter/xml/xmlDatabaseDescription.cxx
+++ b/dbaccess/source/filter/xml/xmlDatabaseDescription.cxx
@@ -18,17 +18,12 @@
*/
#include "xmlDatabaseDescription.hxx"
-#include "xmlLogin.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
#include "xmlFileBasedDatabase.hxx"
#include "xmlServerDatabase.hxx"
-#include <stringconstants.hxx>
-#include <tools/diagnose_ex.h>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlDocuments.cxx b/dbaccess/source/filter/xml/xmlDocuments.cxx
index e5fd75d9997b..71d5b4589e3a 100644
--- a/dbaccess/source/filter/xml/xmlDocuments.cxx
+++ b/dbaccess/source/filter/xml/xmlDocuments.cxx
@@ -20,14 +20,12 @@
#include "xmlDocuments.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlQuery.hxx"
#include "xmlTable.hxx"
#include "xmlComponent.hxx"
#include "xmlHierarchyCollection.hxx"
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index ccc5f123cbb7..8bb174565e4c 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -22,19 +22,14 @@
#include "xmlservices.hxx"
#include <flt_reghelper.hxx>
#include <sax/tools/converter.hxx>
-#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/xmltoken.hxx>
-#include <xmloff/txtimp.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/nmspmap.hxx>
#include <comphelper/processfactory.hxx>
-#include <comphelper/sequence.hxx>
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <sal/log.hxx>
-#include "xmlEnums.hxx"
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
diff --git a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx
index b4aa35af4a87..79a0a91ac186 100644
--- a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx
+++ b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx
@@ -21,11 +21,7 @@
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <svl/filenotation.hxx>
#include <unotools/pathoptions.hxx>
diff --git a/dbaccess/source/filter/xml/xmlHelper.cxx b/dbaccess/source/filter/xml/xmlHelper.cxx
index 809f50d8ab8b..20327f1febe2 100644
--- a/dbaccess/source/filter/xml/xmlHelper.cxx
+++ b/dbaccess/source/filter/xml/xmlHelper.cxx
@@ -19,7 +19,6 @@
#include "xmlHelper.hxx"
#include <xmloff/XMLConstantsPropertyHandler.hxx>
-#include <xmloff/contextid.hxx>
#include <xmloff/xmlement.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
@@ -27,9 +26,7 @@
#include <xmloff/maptype.hxx>
#include <com/sun/star/awt/TextAlign.hpp>
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include "xmlEnums.hxx"
#include <rtl/ref.hxx>
namespace dbaxml
diff --git a/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx b/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
index 20d30d70df15..5781454fd36a 100644
--- a/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
+++ b/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
@@ -19,16 +19,11 @@
#include "xmlHierarchyCollection.hxx"
#include "xmlComponent.hxx"
-#include "xmlQuery.hxx"
#include "xmlColumn.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <comphelper/propertysequence.hxx>
#include <osl/diagnose.h>
diff --git a/dbaccess/source/filter/xml/xmlLogin.cxx b/dbaccess/source/filter/xml/xmlLogin.cxx
index 786be60253b2..b3fe602ca38d 100644
--- a/dbaccess/source/filter/xml/xmlLogin.cxx
+++ b/dbaccess/source/filter/xml/xmlLogin.cxx
@@ -20,15 +20,9 @@
#include "xmlLogin.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <com/sun/star/sdbc/XDataSource.hpp>
-#include <vector>
namespace dbaxml
{
diff --git a/dbaccess/source/filter/xml/xmlQuery.cxx b/dbaccess/source/filter/xml/xmlQuery.cxx
index e30320fa00de..4b8f4fd6fbf8 100644
--- a/dbaccess/source/filter/xml/xmlQuery.cxx
+++ b/dbaccess/source/filter/xml/xmlQuery.cxx
@@ -20,15 +20,9 @@
#include "xmlQuery.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
#include <osl/diagnose.h>
#include <sal/log.hxx>
diff --git a/dbaccess/source/filter/xml/xmlServerDatabase.cxx b/dbaccess/source/filter/xml/xmlServerDatabase.cxx
index e231d19f78f1..6aed4122000d 100644
--- a/dbaccess/source/filter/xml/xmlServerDatabase.cxx
+++ b/dbaccess/source/filter/xml/xmlServerDatabase.cxx
@@ -20,12 +20,7 @@
#include "xmlServerDatabase.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
-#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
namespace dbaxml
diff --git a/dbaccess/source/filter/xml/xmlStyleImport.cxx b/dbaccess/source/filter/xml/xmlStyleImport.cxx
index 9bfed000e432..9e7b1f8cce86 100644
--- a/dbaccess/source/filter/xml/xmlStyleImport.cxx
+++ b/dbaccess/source/filter/xml/xmlStyleImport.cxx
@@ -20,16 +20,10 @@
#include "xmlStyleImport.hxx"
#include <xmloff/maptype.hxx>
-#include <xmloff/nmspmap.hxx>
-#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlimppr.hxx>
#include <xmloff/families.hxx>
#include <xmloff/xmlnumfi.hxx>
#include <xmloff/xmltoken.hxx>
-#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
-#include <xmloff/xmlprcon.hxx>
-#include <xmloff/xmluconv.hxx>
#include <osl/diagnose.h>
#include "xmlfilter.hxx"
#include "xmlHelper.hxx"
diff --git a/dbaccess/source/filter/xml/xmlTable.cxx b/dbaccess/source/filter/xml/xmlTable.cxx
index edcc68618f13..45685a8fe978 100644
--- a/dbaccess/source/filter/xml/xmlTable.cxx
+++ b/dbaccess/source/filter/xml/xmlTable.cxx
@@ -20,16 +20,11 @@
#include "xmlTable.hxx"
#include "xmlfilter.hxx"
#include <xmloff/xmltoken.hxx>
-#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include "xmlEnums.hxx"
#include "xmlStyleImport.hxx"
#include "xmlHierarchyCollection.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
-#include <ucbhelper/content.hxx>
-#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/dbaccess/source/filter/xml/xmlTableFilterList.cxx b/dbaccess/source/filter/xml/xmlTableFilterList.cxx
index 00798eb19a89..e147bd10a548 100644
--- a/dbaccess/source/filter/xml/xmlTableFilterList.cxx
+++ b/dbaccess/source/filter/xml/xmlTableFilterList.cxx
@@ -22,9 +22,7 @@
#include "xmlEnums.hxx"
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
-#include <xmloff/nmspmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <comphelper/sequence.hxx>
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index 4024bec4cfb6..3857b84f97cc 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -36,18 +36,14 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlscripti.hxx>
#include <xmloff/xmltoken.hxx>
-#include <xmloff/txtimp.hxx>
#include <xmloff/nmspmap.hxx>
#include <com/sun/star/xml/sax/InputSource.hpp>
-#include <com/sun/star/xml/sax/FastParser.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <xmloff/ProgressBarHelper.hxx>
#include <sfx2/docfile.hxx>
#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/uno/XNamingService.hpp>
#include "xmlDatabase.hxx"
#include "xmlEnums.hxx"
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <xmloff/DocumentSettingsContext.hxx>
#include "xmlStyleImport.hxx"
@@ -64,8 +60,6 @@
#include <comphelper/namedvaluecollection.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <connectivity/DriversConfig.hxx>
-#include <dsntypes.hxx>
-#include <rtl/strbuf.hxx>
#include <rtl/uri.hxx>
using namespace ::com::sun::star;
diff --git a/dbaccess/source/sdbtools/connection/connectiontools.cxx b/dbaccess/source/sdbtools/connection/connectiontools.cxx
index 23e13e496447..2bc8bfd33cfa 100644
--- a/dbaccess/source/sdbtools/connection/connectiontools.cxx
+++ b/dbaccess/source/sdbtools/connection/connectiontools.cxx
@@ -27,8 +27,6 @@
#include <connectivity/dbtools.hxx>
#include <connectivity/statementcomposer.hxx>
-#include <algorithm>
-
namespace sdbtools
{
diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx
index 5a21c1a4abb4..a8e103a2ee14 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.cxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.cxx
@@ -30,8 +30,6 @@
#include <connectivity/dbmetadata.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/sqlerror.hxx>
-#include <cppuhelper/exc_hlp.hxx>
-#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <memory>
diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx
index 91f2cf928ac5..21d956da9d91 100644
--- a/dbaccess/source/sdbtools/connection/tablename.cxx
+++ b/dbaccess/source/sdbtools/connection/tablename.cxx
@@ -21,7 +21,6 @@
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
-#include <stringconstants.hxx>
#include <com/sun/star/sdb/tools/CompositionType.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index 5a5c46048f0a..62a3c14b13fc 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -18,15 +18,11 @@
*/
#include <dbu_reghelper.hxx>
-#include <stringconstants.hxx>
#include <strings.hxx>
#include <uiservices.hxx>
#include <UITools.hxx>
#include <com/sun/star/container/XChild.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/container/XSet.hpp>
-#include <com/sun/star/document/XEventListener.hpp>
#include <com/sun/star/frame/XController2.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XFrameLoader.hpp>
@@ -35,7 +31,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/sdb/ReportDesign.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/frame/XModule.hpp>
@@ -46,7 +41,6 @@
#include <comphelper/types.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <toolkit/awt/vclxwindow.hxx>
#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
#include <vcl/svapp.hxx>
More information about the Libreoffice-commits
mailing list