From e180a37b663d9bc1a5219e2cb3a00ae167827325 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 29 Nov 2022 13:11:06 +0100 Subject: [PATCH] dbaccess: remove unused includes Change-Id: I633040297d73ecb851ea71a516b4308f6809d939 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143463 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- dbaccess/IwyuFilter_dbaccess.yaml | 18 ------------------ dbaccess/qa/extras/dialog-save.cxx | 4 ---- dbaccess/qa/extras/empty-stdlib-save.cxx | 4 ---- dbaccess/qa/extras/macros-test.cxx | 1 - dbaccess/qa/extras/nolib-save.cxx | 4 ---- dbaccess/qa/extras/rowsetclones.cxx | 1 - 6 files changed, 32 deletions(-) diff --git a/dbaccess/IwyuFilter_dbaccess.yaml b/dbaccess/IwyuFilter_dbaccess.yaml index 7d0e1f9c085e..18b61f7376d8 100644 --- a/dbaccess/IwyuFilter_dbaccess.yaml +++ b/dbaccess/IwyuFilter_dbaccess.yaml @@ -1,18 +1,6 @@ --- assumeFilename: dbaccess/source/ui/querydesign/QueryDesignView.cxx excludelist: - dbaccess/source/inc/dbu_reghelper.hxx: - # Needed for registrationhelper.hxx - - com/sun/star/lang/XSingleServiceFactory.hpp - - com/sun/star/lang/XMultiServiceFactory.hpp - - rtl/ustring.hxx - - cppuhelper/factory.hxx - dbaccess/source/inc/flt_reghelper.hxx: - # Needed for registrationhelper.hxx - - com/sun/star/lang/XSingleServiceFactory.hpp - - com/sun/star/lang/XMultiServiceFactory.hpp - - rtl/ustring.hxx - - cppuhelper/factory.hxx dbaccess/inc/strings.hrc: # Needed for TranslateId macro to work - unotools/resmgr.hxx @@ -68,12 +56,6 @@ excludelist: dbaccess/source/filter/xml/xmlExport.cxx: # Needed for template - com/sun/star/frame/XModel.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 dbaccess/source/ui/app/AppDetailPageHelper.cxx: # Actually used - com/sun/star/sdbc/XConnection.hpp diff --git a/dbaccess/qa/extras/dialog-save.cxx b/dbaccess/qa/extras/dialog-save.cxx index 39705f549574..71bf28868891 100644 --- a/dbaccess/qa/extras/dialog-save.cxx +++ b/dbaccess/qa/extras/dialog-save.cxx @@ -10,17 +10,13 @@ #include #include #include -#include #include #include #include #include #include -#include #include -#include - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/dbaccess/qa/extras/empty-stdlib-save.cxx b/dbaccess/qa/extras/empty-stdlib-save.cxx index d3b383d1fa88..ae9a9234dca9 100644 --- a/dbaccess/qa/extras/empty-stdlib-save.cxx +++ b/dbaccess/qa/extras/empty-stdlib-save.cxx @@ -9,16 +9,12 @@ #include #include -#include #include #include #include #include -#include #include -#include - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx index 296c4e4b1f04..7545d6168e74 100644 --- a/dbaccess/qa/extras/macros-test.cxx +++ b/dbaccess/qa/extras/macros-test.cxx @@ -9,7 +9,6 @@ #include #include -#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/dbaccess/qa/extras/nolib-save.cxx b/dbaccess/qa/extras/nolib-save.cxx index bf6093c96875..f5e83769c645 100644 --- a/dbaccess/qa/extras/nolib-save.cxx +++ b/dbaccess/qa/extras/nolib-save.cxx @@ -9,16 +9,12 @@ #include #include -#include #include #include #include #include -#include #include -#include - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/dbaccess/qa/extras/rowsetclones.cxx b/dbaccess/qa/extras/rowsetclones.cxx index be4e52d3cd35..0afcd5220c21 100644 --- a/dbaccess/qa/extras/rowsetclones.cxx +++ b/dbaccess/qa/extras/rowsetclones.cxx @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include