diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-02-23 10:37:14 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-12 10:14:54 +0100 |
commit | 80aec8ef2a333890d46c4258f84af6b8f81832a8 (patch) | |
tree | 9dd5c01a6cefbac98b251663fc662ed796c6125a /connectivity | |
parent | 86567ebde2d38c44aae93064b8c102f365641f81 (diff) |
tdf#42949 Fix IWYU warnings in include/connectivity/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I02f75be483529ba1f7a6e460e34c4752b4265221
Reviewed-on: https://gerrit.libreoffice.org/68893
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'connectivity')
60 files changed, 92 insertions, 0 deletions
diff --git a/connectivity/qa/connectivity/mork/DriverTest.cxx b/connectivity/qa/connectivity/mork/DriverTest.cxx index ba0cfd375874..f76c05e6d8ba 100644 --- a/connectivity/qa/connectivity/mork/DriverTest.cxx +++ b/connectivity/qa/connectivity/mork/DriverTest.cxx @@ -14,6 +14,7 @@ #include <MConnection.hxx> #include <com/sun/star/sdbc/XDriver.hpp> +#include <com/sun/star/sdbc/XRow.hpp> using namespace ::com::sun::star::beans; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/commontools/BlobHelper.cxx b/connectivity/source/commontools/BlobHelper.cxx index 05e047b9ec72..591fe961e517 100644 --- a/connectivity/source/commontools/BlobHelper.cxx +++ b/connectivity/source/commontools/BlobHelper.cxx @@ -19,6 +19,7 @@ #include <connectivity/BlobHelper.hxx> #include <comphelper/seqstream.hxx> #include <connectivity/dbexception.hxx> +#include <com/sun/star/sdbc/SQLException.hpp> using namespace connectivity; using namespace dbtools; diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx index bd62d64990be..448ed296111a 100644 --- a/connectivity/source/commontools/ConnectionWrapper.cxx +++ b/connectivity/source/commontools/ConnectionWrapper.cxx @@ -18,8 +18,10 @@ */ #include <connectivity/ConnectionWrapper.hxx> +#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/XRow.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <comphelper/uno3.hxx> #include <comphelper/sequence.hxx> diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 1e48d68e85cd..61f344bb92b5 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -24,8 +24,13 @@ #include <connectivity/dbconversion.hxx> #include <comphelper/extract.hxx> #include <com/sun/star/io/XInputStream.hpp> +#include <com/sun/star/sdbc/XClob.hpp> +#include <com/sun/star/sdbc/XBlob.hpp> +#include <com/sun/star/sdb/XColumn.hpp> +#include <com/sun/star/sdbc/XRow.hpp> #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> using namespace ::dbtools; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/commontools/TIndexes.cxx b/connectivity/source/commontools/TIndexes.cxx index 0157f5c41051..83759ac42209 100644 --- a/connectivity/source/commontools/TIndexes.cxx +++ b/connectivity/source/commontools/TIndexes.cxx @@ -19,9 +19,12 @@ #include <connectivity/TIndexes.hxx> #include <connectivity/TIndex.hxx> +#include <connectivity/TTableHelper.hxx> +#include <com/sun/star/sdb/tools/XIndexAlteration.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbc/IndexType.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <connectivity/dbtools.hxx> #include <connectivity/TTableHelper.hxx> #include <TConnection.hxx> diff --git a/connectivity/source/commontools/TKeyColumns.cxx b/connectivity/source/commontools/TKeyColumns.cxx index c31a616926c2..682114e13e34 100644 --- a/connectivity/source/commontools/TKeyColumns.cxx +++ b/connectivity/source/commontools/TKeyColumns.cxx @@ -18,6 +18,7 @@ */ #include <connectivity/TKeyColumns.hxx> +#include <connectivity/TKey.hxx> #include <connectivity/sdbcx/VKeyColumn.hxx> #include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/XRow.hpp> diff --git a/connectivity/source/commontools/TKeys.cxx b/connectivity/source/commontools/TKeys.cxx index 293a0dab4ccf..9d4beb6b2a89 100644 --- a/connectivity/source/commontools/TKeys.cxx +++ b/connectivity/source/commontools/TKeys.cxx @@ -19,10 +19,13 @@ #include <connectivity/TKeys.hxx> #include <connectivity/TKey.hxx> +#include <connectivity/TTableHelper.hxx> +#include <com/sun/star/sdb/tools/XKeyAlteration.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbcx/KeyType.hpp> #include <com/sun/star/sdbc/KeyRule.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <connectivity/dbtools.hxx> #include <comphelper/types.hxx> #include <TConnection.hxx> diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index b08b33eec751..9b380a673525 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -21,6 +21,11 @@ #include <sal/log.hxx> #include <connectivity/TTableHelper.hxx> +#include <com/sun/star/sdb/tools/XTableRename.hpp> +#include <com/sun/star/sdb/tools/XTableAlteration.hpp> +#include <com/sun/star/sdb/tools/XKeyAlteration.hpp> +#include <com/sun/star/sdb/tools/XIndexAlteration.hpp> +#include <connectivity/sdbcx/VKey.hxx> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbcx/KeyType.hpp> diff --git a/connectivity/source/commontools/conncleanup.cxx b/connectivity/source/commontools/conncleanup.cxx index 03133dcf23e5..3d011c723b33 100644 --- a/connectivity/source/commontools/conncleanup.cxx +++ b/connectivity/source/commontools/conncleanup.cxx @@ -20,6 +20,8 @@ #include <connectivity/conncleanup.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XComponent.hpp> +#include <com/sun/star/sdbc/XRowSet.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> #include <osl/diagnose.h> diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 1deb2a73b6d1..c7d817329664 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -79,6 +79,7 @@ #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <tools/diagnose_ex.h> +#include <tools/stream.hxx> #include <cppuhelper/implbase.hxx> #include <strings.hrc> #include <resource/sharedresources.hxx> diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx index cd52c09ce6fe..39b1a7c2f373 100644 --- a/connectivity/source/commontools/dbtools2.cxx +++ b/connectivity/source/commontools/dbtools2.cxx @@ -24,6 +24,7 @@ #include <unotools/confignode.hxx> #include <resource/sharedresources.hxx> #include <strings.hrc> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/DataType.hpp> diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx index 3e3c5e316762..be9a133d6923 100644 --- a/connectivity/source/commontools/formattedcolumnvalue.cxx +++ b/connectivity/source/commontools/formattedcolumnvalue.cxx @@ -28,6 +28,8 @@ #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/util/NumberFormat.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdb/XColumn.hpp> +#include <com/sun/star/sdb/XColumnUpdate.hpp> #include <tools/diagnose_ex.h> #include <i18nlangtag/mslangid.hxx> diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 8ab930dc2d3f..3458ed7cc34e 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -20,6 +20,7 @@ #include <connectivity/parameters.hxx> #include <com/sun/star/form/DatabaseParameterEvent.hpp> +#include <com/sun/star/form/XDatabaseParameterListener.hpp> #include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> @@ -27,6 +28,8 @@ #include <com/sun/star/sdb/XParametersSupplier.hpp> #include <com/sun/star/sdb/XInteractionSupplyParameters.hpp> #include <com/sun/star/sdb/ParametersRequest.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> +#include <com/sun/star/task/XInteractionHandler.hpp> #include <connectivity/dbtools.hxx> #include <connectivity/filtermanager.hxx> diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx index 57db44200a4e..be04b91a9df1 100644 --- a/connectivity/source/commontools/paramwrapper.cxx +++ b/connectivity/source/commontools/paramwrapper.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/SQLException.hpp> +#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/WrappedTargetException.hpp> #include <com/sun/star/sdb/XParametersSupplier.hpp> diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx index 3b3868c0eb8a..1c8812a8591c 100644 --- a/connectivity/source/commontools/predicateinput.cxx +++ b/connectivity/source/commontools/predicateinput.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/i18n/LocaleData.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/util/NumberFormatter.hpp> #include <osl/diagnose.h> #include <connectivity/sqlnode.hxx> diff --git a/connectivity/source/commontools/sqlerror.cxx b/connectivity/source/commontools/sqlerror.cxx index c14608a18db1..0ce4b8a75e40 100644 --- a/connectivity/source/commontools/sqlerror.cxx +++ b/connectivity/source/commontools/sqlerror.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/sdb/ErrorCondition.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/exc_hlp.hxx> #include <rtl/ustrbuf.hxx> diff --git a/connectivity/source/commontools/statementcomposer.cxx b/connectivity/source/commontools/statementcomposer.cxx index 3f5714435689..a6d6c1155925 100644 --- a/connectivity/source/commontools/statementcomposer.cxx +++ b/connectivity/source/commontools/statementcomposer.cxx @@ -25,7 +25,10 @@ #include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/sdb/XQueriesSupplier.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> #include <unotools/sharedunocomponent.hxx> #include <tools/diagnose_ex.h> diff --git a/connectivity/source/commontools/warningscontainer.cxx b/connectivity/source/commontools/warningscontainer.cxx index 50d706e55f18..65478f9c03ce 100644 --- a/connectivity/source/commontools/warningscontainer.cxx +++ b/connectivity/source/commontools/warningscontainer.cxx @@ -21,6 +21,9 @@ #include <connectivity/warningscontainer.hxx> #include <connectivity/dbexception.hxx> +#include <com/sun/star/sdb/SQLContext.hpp> +#include <com/sun/star/sdbc/XWarningsSupplier.hpp> + #include <o3tl/any.hxx> #include <osl/diagnose.h> diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index 850b20475507..ef9e0951670e 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -47,6 +47,7 @@ #include <connectivity/dbexception.hxx> #include <connectivity/dbconversion.hxx> #include <comphelper/types.hxx> +#include <cppuhelper/typeprovider.hxx> using namespace connectivity; using namespace connectivity::calc; diff --git a/connectivity/source/drivers/component/CResultSet.cxx b/connectivity/source/drivers/component/CResultSet.cxx index 1036a97dcd58..3ac3508f758a 100644 --- a/connectivity/source/drivers/component/CResultSet.cxx +++ b/connectivity/source/drivers/component/CResultSet.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/sdbcx/CompareBookmark.hpp> #include <component/CResultSet.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/sequence.hxx> #include <comphelper/types.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index f799388c727b..f1c0b2194d09 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/sdbc/XRow.hpp> #include <unotools/ucbhelper.hxx> #include <comphelper/types.hxx> +#include <cppuhelper/typeprovider.hxx> #include <connectivity/dbexception.hxx> #include <dbase/DResultSet.hxx> #include <strings.hrc> diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx index f635c98312f6..025dbdd0ddb6 100644 --- a/connectivity/source/drivers/dbase/DResultSet.cxx +++ b/connectivity/source/drivers/dbase/DResultSet.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/sdbcx/CompareBookmark.hpp> #include <dbase/DResultSet.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> #include <dbase/DIndex.hxx> diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 4139f35acb24..1f901f363d9b 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -44,6 +44,7 @@ #include <unotools/tempfile.hxx> #include <unotools/ucbhelper.hxx> #include <comphelper/types.hxx> +#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/queryinterface.hxx> #include <connectivity/PColumn.hxx> diff --git a/connectivity/source/drivers/evoab2/NColumns.cxx b/connectivity/source/drivers/evoab2/NColumns.cxx index aae512bb2b5d..c74751628f84 100644 --- a/connectivity/source/drivers/evoab2/NColumns.cxx +++ b/connectivity/source/drivers/evoab2/NColumns.cxx @@ -23,6 +23,7 @@ #include "NTables.hxx" #include "NCatalog.hxx" #include <connectivity/sdbcx/VColumn.hxx> +#include <com/sun/star/sdbc/XRow.hpp> using namespace connectivity::sdbcx; using namespace connectivity; diff --git a/connectivity/source/drivers/evoab2/NTable.cxx b/connectivity/source/drivers/evoab2/NTable.cxx index f46189857231..1e18b8a1f6cd 100644 --- a/connectivity/source/drivers/evoab2/NTable.cxx +++ b/connectivity/source/drivers/evoab2/NTable.cxx @@ -23,6 +23,8 @@ #include "NColumns.hxx" #include "NCatalog.hxx" +#include <com/sun/star/sdbc/XRow.hpp> + using namespace connectivity; using namespace ::comphelper; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/file/FDateFunctions.cxx b/connectivity/source/drivers/file/FDateFunctions.cxx index c0e0a77bc645..7d1caa1c9696 100644 --- a/connectivity/source/drivers/file/FDateFunctions.cxx +++ b/connectivity/source/drivers/file/FDateFunctions.cxx @@ -22,6 +22,7 @@ #include <tools/date.hxx> #include <tools/time.hxx> #include <tools/datetime.hxx> +#include <osl/diagnose.h> using namespace connectivity; using namespace connectivity::file; diff --git a/connectivity/source/drivers/firebird/Catalog.cxx b/connectivity/source/drivers/firebird/Catalog.cxx index 7bccd521eaad..7dc3593d577a 100644 --- a/connectivity/source/drivers/firebird/Catalog.cxx +++ b/connectivity/source/drivers/firebird/Catalog.cxx @@ -11,6 +11,8 @@ #include "Tables.hxx" #include "Users.hxx" +#include <com/sun/star/sdbc/XRow.hpp> + using namespace ::connectivity::firebird; using namespace ::com::sun::star; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/drivers/firebird/Table.cxx b/connectivity/source/drivers/firebird/Table.cxx index 13bb595d5692..df523235e2ac 100644 --- a/connectivity/source/drivers/firebird/Table.cxx +++ b/connectivity/source/drivers/firebird/Table.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> using namespace ::connectivity; using namespace ::connectivity::firebird; diff --git a/connectivity/source/drivers/flat/EResultSet.cxx b/connectivity/source/drivers/flat/EResultSet.cxx index be5c3c1230ae..71b41a768e9e 100644 --- a/connectivity/source/drivers/flat/EResultSet.cxx +++ b/connectivity/source/drivers/flat/EResultSet.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/sdbcx/XDeleteRows.hpp> #include <flat/EResultSet.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/sequence.hxx> #include <comphelper/types.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index 0a3d56216811..1d4d3baafd63 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -20,6 +20,7 @@ #include <flat/ETable.hxx> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> #include <svl/converter.hxx> #include <flat/EConnection.hxx> @@ -30,6 +31,7 @@ #include <sal/log.hxx> #include <tools/solar.h> #include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/typeprovider.hxx> #include <comphelper/numbers.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/types.hxx> diff --git a/connectivity/source/drivers/hsqldb/HTable.cxx b/connectivity/source/drivers/hsqldb/HTable.cxx index 86683d50d822..ec73225d3abd 100644 --- a/connectivity/source/drivers/hsqldb/HTable.cxx +++ b/connectivity/source/drivers/hsqldb/HTable.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/sdbcx/KeyType.hpp> #include <com/sun/star/sdbc/KeyRule.hpp> #include <cppuhelper/typeprovider.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> diff --git a/connectivity/source/drivers/hsqldb/HView.cxx b/connectivity/source/drivers/hsqldb/HView.cxx index 71dae8440da9..ac89a718bbf1 100644 --- a/connectivity/source/drivers/hsqldb/HView.cxx +++ b/connectivity/source/drivers/hsqldb/HView.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/lang/WrappedTargetException.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/sdbc/XRow.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> #include <cppuhelper/exc_hlp.hxx> #include <tools/diagnose_ex.h> diff --git a/connectivity/source/drivers/macab/MacabCatalog.cxx b/connectivity/source/drivers/macab/MacabCatalog.cxx index d972bb137cc7..96ff62fd5b6a 100644 --- a/connectivity/source/drivers/macab/MacabCatalog.cxx +++ b/connectivity/source/drivers/macab/MacabCatalog.cxx @@ -21,6 +21,7 @@ #include "MacabCatalog.hxx" #include "MacabConnection.hxx" #include "MacabTables.hxx" +#include <com/sun/star/sdbc/XRow.hpp> using namespace connectivity::macab; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/macab/MacabColumns.cxx b/connectivity/source/drivers/macab/MacabColumns.cxx index 23c95e996c1b..6eaa51aa7906 100644 --- a/connectivity/source/drivers/macab/MacabColumns.cxx +++ b/connectivity/source/drivers/macab/MacabColumns.cxx @@ -23,6 +23,7 @@ #include "MacabTables.hxx" #include "MacabCatalog.hxx" #include <connectivity/sdbcx/VColumn.hxx> +#include <com/sun/star/sdbc/XRow.hpp> using namespace connectivity::macab; using namespace connectivity::sdbcx; diff --git a/connectivity/source/drivers/macab/MacabTable.cxx b/connectivity/source/drivers/macab/MacabTable.cxx index c3bf64203d38..75da75bc1035 100644 --- a/connectivity/source/drivers/macab/MacabTable.cxx +++ b/connectivity/source/drivers/macab/MacabTable.cxx @@ -22,6 +22,7 @@ #include "MacabTables.hxx" #include "MacabColumns.hxx" #include "MacabCatalog.hxx" +#include <com/sun/star/sdbc/XRow.hpp> using namespace connectivity::macab; using namespace connectivity; diff --git a/connectivity/source/drivers/macab/MacabTables.cxx b/connectivity/source/drivers/macab/MacabTables.cxx index a3128846f89d..c70aa87f87d5 100644 --- a/connectivity/source/drivers/macab/MacabTables.cxx +++ b/connectivity/source/drivers/macab/MacabTables.cxx @@ -23,6 +23,7 @@ #include "MacabCatalog.hxx" #include "MacabConnection.hxx" #include <comphelper/types.hxx> +#include <com/sun/star/sdbc/XRow.hpp> using namespace connectivity::macab; using namespace connectivity; diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx index 80eb293a5c02..743d1e5ab9c6 100644 --- a/connectivity/source/drivers/mork/MCatalog.cxx +++ b/connectivity/source/drivers/mork/MCatalog.cxx @@ -21,6 +21,8 @@ #include "MConnection.hxx" #include "MTables.hxx" +#include <com/sun/star/sdbc/XRow.hpp> + using namespace connectivity::mork; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/mork/MColumns.cxx b/connectivity/source/drivers/mork/MColumns.cxx index f1b41deae6f9..6b0b70842298 100644 --- a/connectivity/source/drivers/mork/MColumns.cxx +++ b/connectivity/source/drivers/mork/MColumns.cxx @@ -18,6 +18,7 @@ */ #include "MColumns.hxx" +#include <com/sun/star/sdbc/XRow.hpp> #include <connectivity/sdbcx/VColumn.hxx> #include <connectivity/dbtools.hxx> diff --git a/connectivity/source/drivers/mork/MDriver.cxx b/connectivity/source/drivers/mork/MDriver.cxx index 95874decdce8..aabfbb79db3b 100644 --- a/connectivity/source/drivers/mork/MDriver.cxx +++ b/connectivity/source/drivers/mork/MDriver.cxx @@ -11,6 +11,7 @@ #include "MConnection.hxx" #include <com/sun/star/mozilla/XMozillaBootstrap.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <sal/log.hxx> diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 3ece446530f6..a0bfcf79b3f4 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -21,8 +21,10 @@ #include <com/sun/star/sdbc/FetchDirection.hpp> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbcx/CompareBookmark.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <connectivity/dbtools.hxx> #include <comphelper/types.hxx> +#include <cppuhelper/typeprovider.hxx> #include <sal/log.hxx> #include <vector> diff --git a/connectivity/source/drivers/mork/MStatement.cxx b/connectivity/source/drivers/mork/MStatement.cxx index 447facf4f879..10bad0a49a40 100644 --- a/connectivity/source/drivers/mork/MStatement.cxx +++ b/connectivity/source/drivers/mork/MStatement.cxx @@ -21,6 +21,7 @@ #include <tools/diagnose_ex.h> #include <sal/log.hxx> #include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/typeprovider.hxx> #include <comphelper/processfactory.hxx> #include <connectivity/dbexception.hxx> diff --git a/connectivity/source/drivers/mork/MStatement.hxx b/connectivity/source/drivers/mork/MStatement.hxx index 1f9d5f410ebe..3cd7113a8e47 100644 --- a/connectivity/source/drivers/mork/MStatement.hxx +++ b/connectivity/source/drivers/mork/MStatement.hxx @@ -23,6 +23,7 @@ #include <comphelper/proparrhlp.hxx> #include <connectivity/sqliterator.hxx> #include <connectivity/sqlparse.hxx> +#include <com/sun/star/sdbc/SQLWarning.hpp> #include <TSortIndex.hxx> #include "MTable.hxx" diff --git a/connectivity/source/drivers/mork/MTables.cxx b/connectivity/source/drivers/mork/MTables.cxx index 3823013457a8..f1f169e2a727 100644 --- a/connectivity/source/drivers/mork/MTables.cxx +++ b/connectivity/source/drivers/mork/MTables.cxx @@ -22,6 +22,8 @@ #include "MCatalog.hxx" #include <comphelper/types.hxx> +#include <com/sun/star/sdbc/XRow.hpp> + using namespace connectivity; using namespace connectivity::mork; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/mysql_jdbc/YTable.cxx b/connectivity/source/drivers/mysql_jdbc/YTable.cxx index 6fcaf30f25ae..e1556746c0e1 100644 --- a/connectivity/source/drivers/mysql_jdbc/YTable.cxx +++ b/connectivity/source/drivers/mysql_jdbc/YTable.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/sdbcx/KeyType.hpp> #include <com/sun/star/sdbc/KeyRule.hpp> #include <cppuhelper/typeprovider.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbcx/Privilege.hpp> diff --git a/connectivity/source/drivers/postgresql/pq_resultset.cxx b/connectivity/source/drivers/postgresql/pq_resultset.cxx index 85be755818d6..3036543c7988 100644 --- a/connectivity/source/drivers/postgresql/pq_resultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_resultset.cxx @@ -43,6 +43,7 @@ #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/SQLException.hpp> using osl::MutexGuard; diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultset.cxx b/connectivity/source/drivers/postgresql/pq_sequenceresultset.cxx index eefa362335c8..02030729ad73 100644 --- a/connectivity/source/drivers/postgresql/pq_sequenceresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_sequenceresultset.cxx @@ -40,6 +40,8 @@ #include <connectivity/dbexception.hxx> +#include <com/sun/star/sdbc/SQLException.hpp> + using com::sun::star::sdbc::XResultSetMetaData; using com::sun::star::uno::Reference; diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx index 75778eb939e7..5e5320540ee4 100644 --- a/connectivity/source/drivers/writer/WTable.cxx +++ b/connectivity/source/drivers/writer/WTable.cxx @@ -29,6 +29,7 @@ #include <writer/WConnection.hxx> #include <connectivity/sdbcx/VColumn.hxx> #include <sal/log.hxx> +#include <cppuhelper/typeprovider.hxx> namespace com { diff --git a/connectivity/source/inc/TKeyValue.hxx b/connectivity/source/inc/TKeyValue.hxx index 5837d0275c4a..abf61a4c7429 100644 --- a/connectivity/source/inc/TKeyValue.hxx +++ b/connectivity/source/inc/TKeyValue.hxx @@ -21,6 +21,7 @@ #include <connectivity/FValue.hxx> #include <connectivity/dbtoolsdllapi.hxx> +#include <osl/diagnose.h> namespace connectivity { diff --git a/connectivity/source/inc/hsqldb/HView.hxx b/connectivity/source/inc/hsqldb/HView.hxx index 6e333bb1081d..a14d75ccfa44 100644 --- a/connectivity/source/inc/hsqldb/HView.hxx +++ b/connectivity/source/inc/hsqldb/HView.hxx @@ -23,6 +23,7 @@ #include <connectivity/sdbcx/VView.hxx> #include <com/sun/star/sdbcx/XAlterView.hpp> +#include <com/sun/star/sdbc/XConnection.hpp> #include <comphelper/uno3.hxx> #include <cppuhelper/implbase1.hxx> diff --git a/connectivity/source/parse/PColumn.cxx b/connectivity/source/parse/PColumn.cxx index 806a312668e3..1db5ba45da8b 100644 --- a/connectivity/source/parse/PColumn.cxx +++ b/connectivity/source/parse/PColumn.cxx @@ -25,6 +25,9 @@ #include <comphelper/types.hxx> #include <tools/diagnose_ex.h> +#include <com/sun/star/sdbc/XResultSetMetaData.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> + using namespace ::comphelper; using namespace connectivity; using namespace dbtools; diff --git a/connectivity/source/sdbcx/VCatalog.cxx b/connectivity/source/sdbcx/VCatalog.cxx index 85d9ce2b6cd7..b075c9ae0dff 100644 --- a/connectivity/source/sdbcx/VCatalog.cxx +++ b/connectivity/source/sdbcx/VCatalog.cxx @@ -20,8 +20,10 @@ #include <comphelper/types.hxx> #include <connectivity/sdbcx/VCatalog.hxx> #include <connectivity/sdbcx/VCollection.hxx> +#include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <connectivity/sdbcx/VDescriptor.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <TConnection.hxx> #include <connectivity/dbtools.hxx> diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx index e9a6ab922521..7ccb08c4d21c 100644 --- a/connectivity/source/sdbcx/VCollection.cxx +++ b/connectivity/source/sdbcx/VCollection.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <connectivity/sdbcx/VCollection.hxx> #include <connectivity/sdbcx/VDescriptor.hxx> +#include <com/sun/star/sdbc/SQLException.hpp> #include <connectivity/dbexception.hxx> #include <comphelper/enumhelper.hxx> #include <comphelper/types.hxx> diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx index 1b2560e0b415..78b223ef1f74 100644 --- a/connectivity/source/sdbcx/VColumn.cxx +++ b/connectivity/source/sdbcx/VColumn.cxx @@ -19,6 +19,7 @@ #include <connectivity/sdbcx/VColumn.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> #include <TConnection.hxx> diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx index 70463eadada5..0be99ce8b164 100644 --- a/connectivity/source/sdbcx/VDescriptor.cxx +++ b/connectivity/source/sdbcx/VDescriptor.cxx @@ -18,7 +18,9 @@ */ #include <connectivity/sdbcx/VDescriptor.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/typeprovider.hxx> #include <algorithm> #include <string.h> diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx index 85f87ee23ae8..67fb446b485f 100644 --- a/connectivity/source/sdbcx/VIndex.cxx +++ b/connectivity/source/sdbcx/VIndex.cxx @@ -19,6 +19,7 @@ #include <connectivity/sdbcx/VIndex.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <connectivity/sdbcx/VColumn.hxx> #include <connectivity/dbexception.hxx> #include <comphelper/sequence.hxx> diff --git a/connectivity/source/sdbcx/VIndexColumn.cxx b/connectivity/source/sdbcx/VIndexColumn.cxx index d8d48b2ccc79..744ffff5112d 100644 --- a/connectivity/source/sdbcx/VIndexColumn.cxx +++ b/connectivity/source/sdbcx/VIndexColumn.cxx @@ -18,6 +18,7 @@ */ #include <connectivity/sdbcx/VIndexColumn.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <cppuhelper/supportsservice.hxx> #include <TConnection.hxx> diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx index 5e61d46f93dc..5a7bc636f7b0 100644 --- a/connectivity/source/sdbcx/VKey.cxx +++ b/connectivity/source/sdbcx/VKey.cxx @@ -19,6 +19,7 @@ #include <connectivity/sdbcx/VKey.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/sdbc/KeyRule.hpp> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/connectivity/source/sdbcx/VKeyColumn.cxx b/connectivity/source/sdbcx/VKeyColumn.cxx index 0b1987b7d2d5..fd844bb17b96 100644 --- a/connectivity/source/sdbcx/VKeyColumn.cxx +++ b/connectivity/source/sdbcx/VKeyColumn.cxx @@ -18,6 +18,7 @@ */ #include <connectivity/sdbcx/VKeyColumn.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <cppuhelper/supportsservice.hxx> #include <TConnection.hxx> diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx index 371a28ecf54e..db60d4a0e928 100644 --- a/connectivity/source/sdbcx/VTable.cxx +++ b/connectivity/source/sdbcx/VTable.cxx @@ -19,6 +19,7 @@ #include <connectivity/sdbcx/VTable.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <connectivity/sdbcx/VIndex.hxx> #include <comphelper/sequence.hxx> #include <connectivity/sdbcx/VCollection.hxx> diff --git a/connectivity/source/sdbcx/VView.cxx b/connectivity/source/sdbcx/VView.cxx index 97394fbea8b0..08c41a6f7934 100644 --- a/connectivity/source/sdbcx/VView.cxx +++ b/connectivity/source/sdbcx/VView.cxx @@ -19,6 +19,7 @@ #include <connectivity/sdbcx/VView.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> #include <comphelper/sequence.hxx> #include <connectivity/dbtools.hxx> #include <TConnection.hxx> |