diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-18 00:06:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-18 18:51:49 +0100 |
commit | 15b4ab8d1943f625b3648f72ebd1872467c5854c (patch) | |
tree | 8f468606f6976a364b59a62ffae0bb9d614edb73 /connectivity/source | |
parent | 721366ebe1605f6167cc46a05fba12ce884b92cf (diff) |
cppuhelper: clean up public headers with include-what-you-use
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
Diffstat (limited to 'connectivity/source')
24 files changed, 25 insertions, 0 deletions
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 5f2b28f1eab0..1a84f0cb3483 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/sdbc/KeyRule.hpp> #include <cppuhelper/typeprovider.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <comphelper/sequence.hxx> #include <comphelper/types.hxx> diff --git a/connectivity/source/drivers/ado/ACallableStatement.cxx b/connectivity/source/drivers/ado/ACallableStatement.cxx index 8e0c51081725..b66718d75013 100644 --- a/connectivity/source/drivers/ado/ACallableStatement.cxx +++ b/connectivity/source/drivers/ado/ACallableStatement.cxx @@ -19,6 +19,7 @@ #include "ado/ACallableStatement.hxx" #include <connectivity/dbexception.hxx> +#include <cppuhelper/queryinterface.hxx> using namespace connectivity::ado; using namespace com::sun::star::uno; diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 691408e1a9f1..2e581fe873ad 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -25,6 +25,7 @@ #include "ado/ADriver.hxx" #include <com/sun/star/lang/DisposedException.hpp> #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> #include <connectivity/dbexception.hxx> diff --git a/connectivity/source/drivers/ado/AStatement.cxx b/connectivity/source/drivers/ado/AStatement.cxx index ad4244e69272..82cfb93cdff1 100644 --- a/connectivity/source/drivers/ado/AStatement.cxx +++ b/connectivity/source/drivers/ado/AStatement.cxx @@ -24,6 +24,7 @@ #include <comphelper/uno3.hxx> #include <osl/thread.h> #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/sequence.hxx> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index 3174f7809061..071df968a244 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -40,6 +40,7 @@ #include <connectivity/sdbcx/VColumn.hxx> #include <rtl/ustrbuf.hxx> #include <osl/thread.h> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/sequence.hxx> #include <svl/zforlist.hxx> #include <rtl/math.hxx> diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index bd376cef1905..19fc244f4ecf 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -44,6 +44,7 @@ #include <unotools/ucbhelper.hxx> #include <comphelper/types.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <cppuhelper/queryinterface.hxx> #include <connectivity/PColumn.hxx> #include <connectivity/dbtools.hxx> #include <connectivity/FValue.hxx> diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx index d54540c394db..5939f0abe0d3 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -24,6 +24,7 @@ #include "file/FPreparedStatement.hxx" #include <com/sun/star/sdbc/DataType.hpp> #include "file/FResultSetMetaData.hxx" +#include <cppuhelper/queryinterface.hxx> #include <cppuhelper/typeprovider.hxx> #include <comphelper/sequence.hxx> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/connectivity/source/drivers/firebird/Driver.hxx b/connectivity/source/drivers/firebird/Driver.hxx index 2ed77a0a9463..7725c69980f6 100644 --- a/connectivity/source/drivers/firebird/Driver.hxx +++ b/connectivity/source/drivers/firebird/Driver.hxx @@ -23,6 +23,7 @@ #include "Connection.hxx" #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> #include <cppuhelper/compbase3.hxx> diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index f8343449ac80..f30616e2ccc5 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -24,6 +24,7 @@ #include "Util.hxx" #include <comphelper/sequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <osl/diagnose.h> #include <osl/thread.h> #include <rtl/ustrbuf.hxx> diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index ce30f3b29d0d..3688e9122890 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -29,6 +29,7 @@ #include <svl/zforlist.hxx> #include <rtl/math.hxx> #include <stdio.h> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/extract.hxx> #include <comphelper/numbers.hxx> #include <comphelper/processfactory.hxx> diff --git a/connectivity/source/drivers/jdbc/CallableStatement.cxx b/connectivity/source/drivers/jdbc/CallableStatement.cxx index d7ee0291221d..86f479cf5200 100644 --- a/connectivity/source/drivers/jdbc/CallableStatement.cxx +++ b/connectivity/source/drivers/jdbc/CallableStatement.cxx @@ -26,6 +26,7 @@ #include "java/sql/Ref.hxx" #include "java/sql/Timestamp.hxx" #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/sequence.hxx> #include <string.h> diff --git a/connectivity/source/drivers/jdbc/JStatement.cxx b/connectivity/source/drivers/jdbc/JStatement.cxx index bf3cb564afab..2c102c199a7d 100644 --- a/connectivity/source/drivers/jdbc/JStatement.cxx +++ b/connectivity/source/drivers/jdbc/JStatement.cxx @@ -27,6 +27,7 @@ #include <comphelper/property.hxx> #include <com/sun/star/lang/DisposedException.hpp> #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/sequence.hxx> #include "TConnection.hxx" #include <comphelper/types.hxx> diff --git a/connectivity/source/drivers/jdbc/PreparedStatement.cxx b/connectivity/source/drivers/jdbc/PreparedStatement.cxx index 6b82ce07f77c..50cea162a297 100644 --- a/connectivity/source/drivers/jdbc/PreparedStatement.cxx +++ b/connectivity/source/drivers/jdbc/PreparedStatement.cxx @@ -25,6 +25,7 @@ #include "java/math/BigDecimal.hxx" #include "java/tools.hxx" #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/sequence.hxx> #include <connectivity/dbtools.hxx> #include <connectivity/FValue.hxx> diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx index 1c850882184d..bbec3e4dd33c 100644 --- a/connectivity/source/drivers/macab/MacabDriver.hxx +++ b/connectivity/source/drivers/macab/MacabDriver.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/compbase3.hxx> diff --git a/connectivity/source/drivers/mork/MStatement.cxx b/connectivity/source/drivers/mork/MStatement.cxx index a5ae705f0674..a56c8445afc0 100644 --- a/connectivity/source/drivers/mork/MStatement.cxx +++ b/connectivity/source/drivers/mork/MStatement.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/sdbc/FetchDirection.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <comphelper/sequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <cppuhelper/typeprovider.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/extract.hxx> diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx index 6d7a652438b6..0c981b048811 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/supportsservice.hxx> #include "MMozillaBootstrap.hxx" diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index de88682d596d..e6bdf6d20feb 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <comphelper/sequence.hxx> #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/extract.hxx> #include <comphelper/types.hxx> #include "diagnose_ex.h" diff --git a/connectivity/source/drivers/postgresql/pq_xbase.cxx b/connectivity/source/drivers/postgresql/pq_xbase.cxx index ee265cedb281..87e5477a05cf 100644 --- a/connectivity/source/drivers/postgresql/pq_xbase.cxx +++ b/connectivity/source/drivers/postgresql/pq_xbase.cxx @@ -37,6 +37,7 @@ #include <rtl/ustrbuf.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/queryinterface.hxx> #include "pq_tools.hxx" #include "pq_xbase.hxx" diff --git a/connectivity/source/inc/calc/CDriver.hxx b/connectivity/source/inc/calc/CDriver.hxx index 6e66f5bd17cb..707165ce7e1e 100644 --- a/connectivity/source/inc/calc/CDriver.hxx +++ b/connectivity/source/inc/calc/CDriver.hxx @@ -22,6 +22,8 @@ #include "file/FDriver.hxx" +#include <com/sun/star/lang/XMultiServiceFactory.hpp> + namespace connectivity { namespace calc diff --git a/connectivity/source/inc/dbase/DDriver.hxx b/connectivity/source/inc/dbase/DDriver.hxx index 05a372888cb5..9ad46bc09145 100644 --- a/connectivity/source/inc/dbase/DDriver.hxx +++ b/connectivity/source/inc/dbase/DDriver.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDRIVER_HXX #define INCLUDED_CONNECTIVITY_SOURCE_INC_DBASE_DDRIVER_HXX +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/compbase2.hxx> #include <connectivity/CommonTools.hxx> #include "file/FDriver.hxx" diff --git a/connectivity/source/inc/flat/EDriver.hxx b/connectivity/source/inc/flat/EDriver.hxx index cbc8e850ce77..b08b1c454758 100644 --- a/connectivity/source/inc/flat/EDriver.hxx +++ b/connectivity/source/inc/flat/EDriver.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_FLAT_EDRIVER_HXX #define INCLUDED_CONNECTIVITY_SOURCE_INC_FLAT_EDRIVER_HXX +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/compbase2.hxx> #include <connectivity/CommonTools.hxx> #include "file/FDriver.hxx" diff --git a/connectivity/source/inc/hsqldb/HDriver.hxx b/connectivity/source/inc/hsqldb/HDriver.hxx index 66bb5d17a2fd..099182b940b7 100644 --- a/connectivity/source/inc/hsqldb/HDriver.hxx +++ b/connectivity/source/inc/hsqldb/HDriver.hxx @@ -23,6 +23,7 @@ #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> #include <com/sun/star/sdbcx/XCreateCatalog.hpp> #include <com/sun/star/embed/XTransactionListener.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/compbase5.hxx> diff --git a/connectivity/source/inc/mysql/YDriver.hxx b/connectivity/source/inc/mysql/YDriver.hxx index 549971673dd1..ac0600330153 100644 --- a/connectivity/source/inc/mysql/YDriver.hxx +++ b/connectivity/source/inc/mysql/YDriver.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/compbase3.hxx> diff --git a/connectivity/source/inc/odbc/ODriver.hxx b/connectivity/source/inc/odbc/ODriver.hxx index 210a543924c9..e50e951fed6d 100644 --- a/connectivity/source/inc/odbc/ODriver.hxx +++ b/connectivity/source/inc/odbc/ODriver.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/compbase2.hxx> #include <connectivity/odbc.hxx> #include "odbc/odbcbasedllapi.hxx" |