diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-14 00:48:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-16 12:24:49 +0200 |
commit | dfaa7d4d2829e4b30af4fe48c31f1b4b94b22259 (patch) | |
tree | 5f681a2a5286de5cb83c692ebebc6cba45124de2 /connectivity | |
parent | a605762c579f2d9ee4ef8e5c1c0d4b603e0ce9bb (diff) |
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it.
This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes.
This commit adds missing headers to every file found by:
grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG')
to directories from connectivity to cui
Change-Id: I9903c10d0a04bbeb93d0f776d1d252b152459499
Reviewed-on: https://gerrit.libreoffice.org/57408
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'connectivity')
59 files changed, 62 insertions, 0 deletions
diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx index ae9731e3f61f..025751399403 100644 --- a/connectivity/source/commontools/DateConversion.cxx +++ b/connectivity/source/commontools/DateConversion.cxx @@ -31,6 +31,7 @@ #include <comphelper/numbers.hxx> #include <comphelper/types.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 625ac761fc09..dc302ceb5921 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -25,6 +25,7 @@ #include <comphelper/extract.hxx> #include <com/sun/star/io/XInputStream.hpp> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> using namespace ::dbtools; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 48dab7e1f6b1..6c7cd5f5aafc 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <connectivity/TTableHelper.hxx> #include <com/sun/star/sdbc/XRow.hpp> diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 3a32d21e5a77..2476315bc46c 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -77,6 +77,7 @@ #include <o3tl/any.hxx> #include <osl/diagnose.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <cppuhelper/implbase.hxx> #include <strings.hrc> diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 53498e1d43d6..52b07c3ab6f9 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -36,6 +36,7 @@ #include <connectivity/ParameterCont.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> namespace dbtools { diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index 1d86449a0386..aa40d976f827 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -31,6 +31,7 @@ #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <osl/diagnose.h> +#include <sal/log.hxx> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/connectivity/source/drivers/ado/Awrapado.cxx b/connectivity/source/drivers/ado/Awrapado.cxx index 4a1934b44b00..1344fed82a66 100644 --- a/connectivity/source/drivers/ado/Awrapado.cxx +++ b/connectivity/source/drivers/ado/Awrapado.cxx @@ -22,6 +22,7 @@ #include <ado/Awrapadox.hxx> #include <comphelper/types.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> using namespace connectivity::ado; diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index f1154f87dd68..37920acc88ba 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -39,6 +39,7 @@ #include <component/CColumns.hxx> #include <connectivity/sdbcx/VColumn.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <osl/thread.h> #include <cppuhelper/queryinterface.hxx> #include <svl/zforlist.hxx> diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index 899e982fe433..4e8f9d07c201 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -24,6 +24,7 @@ #include <dbase/DTable.hxx> #include <dbase/DIndexIter.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <tools/config.hxx> #include <connectivity/CommonTools.hxx> #include <com/sun/star/sdbc/XResultSetMetaData.hpp> diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 3c2e3d832898..ee39a607ba83 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -51,6 +51,7 @@ #include <connectivity/dbconversion.hxx> #include <strings.hrc> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <algorithm> #include <cassert> diff --git a/connectivity/source/drivers/dbase/dindexnode.cxx b/connectivity/source/drivers/dbase/dindexnode.cxx index 1bc8b37a2b4b..2c5f561173c9 100644 --- a/connectivity/source/drivers/dbase/dindexnode.cxx +++ b/connectivity/source/drivers/dbase/dindexnode.cxx @@ -23,6 +23,7 @@ #include <dbase/DIndex.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> +#include <sal/log.hxx> #include <algorithm> #include <memory> diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx index 1913e5ed7e13..4697d572360a 100644 --- a/connectivity/source/drivers/evoab2/NConnection.cxx +++ b/connectivity/source/drivers/evoab2/NConnection.cxx @@ -26,6 +26,7 @@ #include "NStatement.hxx" #include <connectivity/dbexception.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> using namespace connectivity::evoab; using namespace dbtools; diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx index 162c6da4aa6a..e852309963ae 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.cxx +++ b/connectivity/source/drivers/evoab2/NResultSet.cxx @@ -42,6 +42,7 @@ #include <cppuhelper/typeprovider.hxx> #include <o3tl/make_unique.hxx> #include <rtl/string.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <unotools/syslocale.hxx> #include <unotools/intlwrapper.hxx> diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx b/connectivity/source/drivers/evoab2/NStatement.cxx index d21f41c10e56..57f918552b9b 100644 --- a/connectivity/source/drivers/evoab2/NStatement.cxx +++ b/connectivity/source/drivers/evoab2/NStatement.cxx @@ -20,6 +20,7 @@ #include <osl/diagnose.h> #include <osl/thread.h> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbc/FetchDirection.hpp> diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx index ac20080d1994..51326c343717 100644 --- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx +++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <tools/urlobj.hxx> +#include <sal/log.hxx> #include <file/FDriver.hxx> #include <file/FTable.hxx> #include <comphelper/processfactory.hxx> diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index 5d5abc50afb1..7c17c55c1e41 100644 --- a/connectivity/source/drivers/file/FResultSet.cxx +++ b/connectivity/source/drivers/file/FResultSet.cxx @@ -36,6 +36,7 @@ #include <connectivity/dbconversion.hxx> #include <connectivity/dbtools.hxx> #include <cppuhelper/propshlp.hxx> +#include <sal/log.hxx> #include <iterator> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbc/FetchDirection.hpp> diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index d7156147fcff..eeed72c50bbe 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -24,6 +24,7 @@ #include <file/FDriver.hxx> #include <file/FResultSet.hxx> #include <osl/thread.h> +#include <sal/log.hxx> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbc/FetchDirection.hpp> diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index b14b0f233186..1ad83491986c 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -19,6 +19,7 @@ #include <file/fcode.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <connectivity/sqlparse.hxx> #include <sqlbison.hxx> #include <i18nlangtag/mslangid.hxx> diff --git a/connectivity/source/drivers/firebird/Blob.cxx b/connectivity/source/drivers/firebird/Blob.cxx index 71828e5563c0..d56516d2486a 100644 --- a/connectivity/source/drivers/firebird/Blob.cxx +++ b/connectivity/source/drivers/firebird/Blob.cxx @@ -18,6 +18,7 @@ #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <connectivity/dbexception.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <sal/log.hxx> using namespace ::connectivity::firebird; diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index db7519b2725f..1c3da2b91647 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -53,6 +53,7 @@ #include <unotools/localfilehelper.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> using namespace connectivity::firebird; using namespace connectivity; diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index 1d3f46d9b071..6408fea4d8b4 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -22,6 +22,7 @@ #include <ibase.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <FDatabaseMetaDataResultSet.hxx> #include <com/sun/star/sdbc/ColumnValue.hpp> diff --git a/connectivity/source/drivers/firebird/Driver.cxx b/connectivity/source/drivers/firebird/Driver.cxx index c7561b51e845..87dd693efc88 100644 --- a/connectivity/source/drivers/firebird/Driver.cxx +++ b/connectivity/source/drivers/firebird/Driver.cxx @@ -29,6 +29,7 @@ #include <osl/file.hxx> #include <osl/process.h> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <unotools/localfilehelper.hxx> using namespace com::sun::star; diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index fee4029088f4..e55266780242 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -28,6 +28,7 @@ #include <propertyids.hxx> #include <time.h> #include <connectivity/dbtools.hxx> +#include <sal/log.hxx> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index ed46ecdbad6a..555741a12171 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -28,6 +28,7 @@ #include <propertyids.hxx> #include <rtl/string.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <time.h> #include <TConnection.hxx> diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx index 877964630c4f..6c1b8e8d09bb 100644 --- a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx +++ b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx @@ -25,6 +25,8 @@ #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/DataType.hpp> +#include <sal/log.hxx> + using namespace connectivity::firebird; using namespace com::sun::star::lang; diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index 62bff6d0aa28..285f68257074 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -27,6 +27,7 @@ #include <cppuhelper/queryinterface.hxx> #include <osl/thread.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx index 157070c7fdb0..df9b775232e0 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx @@ -22,6 +22,7 @@ #include "StatementCommonBase.hxx" #include "Util.hxx" +#include <sal/log.hxx> #include <comphelper/sequence.hxx> #include <cppuhelper/typeprovider.hxx> #include <propertyids.hxx> diff --git a/connectivity/source/drivers/firebird/Table.cxx b/connectivity/source/drivers/firebird/Table.cxx index 7726759e1cf6..0381128357da 100644 --- a/connectivity/source/drivers/firebird/Table.cxx +++ b/connectivity/source/drivers/firebird/Table.cxx @@ -14,6 +14,7 @@ #include <TConnection.hxx> +#include <sal/log.hxx> #include <comphelper/sequence.hxx> #include <connectivity/dbtools.hxx> diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx index dd1213238d56..14844cfaaddb 100644 --- a/connectivity/source/drivers/firebird/Util.cxx +++ b/connectivity/source/drivers/firebird/Util.cxx @@ -10,6 +10,7 @@ #include "Util.hxx" #include <rtl/ustrbuf.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> using namespace ::connectivity; diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index c1ccf54dd815..8472f8c2705b 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -27,6 +27,7 @@ #include <osl/thread.h> #include <svl/zforlist.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <cppuhelper/queryinterface.hxx> #include <comphelper/numbers.hxx> #include <comphelper/processfactory.hxx> diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx index 4b43df187eda..ddcc01bffe68 100644 --- a/connectivity/source/drivers/hsqldb/HConnection.cxx +++ b/connectivity/source/drivers/hsqldb/HConnection.cxx @@ -35,6 +35,7 @@ #include <cppuhelper/exc_hlp.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <resource/sharedresources.hxx> diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index bf55c45cf975..dffbeb996add 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -22,6 +22,7 @@ #include <hsqldb/HDriver.hxx> #include <hsqldb/HConnection.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <connectivity/dbexception.hxx> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/sdbc/DriverManager.hpp> diff --git a/connectivity/source/drivers/hsqldb/HStorageMap.cxx b/connectivity/source/drivers/hsqldb/HStorageMap.cxx index ff5df7b01fe3..f3214e94359c 100644 --- a/connectivity/source/drivers/hsqldb/HStorageMap.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageMap.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <osl/diagnose.h> #include <osl/thread.h> +#include <sal/log.hxx> #include <uno/mapping.hxx> #include <algorithm> diff --git a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx index 76e506595817..a96309bc292c 100644 --- a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx +++ b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <hsqldb/HStorageMap.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> using namespace ::com::sun::star::container; diff --git a/connectivity/source/drivers/jdbc/InputStream.cxx b/connectivity/source/drivers/jdbc/InputStream.cxx index 6f8aa6c950f0..33aa2ae8d94c 100644 --- a/connectivity/source/drivers/jdbc/InputStream.cxx +++ b/connectivity/source/drivers/jdbc/InputStream.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/io/BufferSizeExceededException.hpp> #include <java/io/InputStream.hxx> diff --git a/connectivity/source/drivers/jdbc/JDriver.cxx b/connectivity/source/drivers/jdbc/JDriver.cxx index 0466d98309aa..888eb3f8d2f3 100644 --- a/connectivity/source/drivers/jdbc/JDriver.cxx +++ b/connectivity/source/drivers/jdbc/JDriver.cxx @@ -24,6 +24,7 @@ #include <java/sql/Connection.hxx> #include <java/util/Property.hxx> #include <java/tools.hxx> +#include <sal/log.hxx> #include <connectivity/dbexception.hxx> #include <jvmfwk/framework.hxx> #include <strings.hrc> diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx index 855b78d2fe92..4ab64fccd9f1 100644 --- a/connectivity/source/drivers/macab/MacabDriver.cxx +++ b/connectivity/source/drivers/macab/MacabDriver.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/lang/NullPointerException.hpp> #include <com/sun/star/frame/Desktop.hpp> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <strings.hrc> #include <comphelper/processfactory.hxx> diff --git a/connectivity/source/drivers/mork/MColumnAlias.cxx b/connectivity/source/drivers/mork/MColumnAlias.cxx index e857b0ffe961..0a4f9cddf164 100644 --- a/connectivity/source/drivers/mork/MColumnAlias.cxx +++ b/connectivity/source/drivers/mork/MColumnAlias.cxx @@ -23,6 +23,7 @@ #include <officecfg/Office/DataAccess.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <algorithm> #include <functional> diff --git a/connectivity/source/drivers/mork/MConnection.cxx b/connectivity/source/drivers/mork/MConnection.cxx index 076f120c2e16..03ff6372ed9c 100644 --- a/connectivity/source/drivers/mork/MConnection.cxx +++ b/connectivity/source/drivers/mork/MConnection.cxx @@ -15,6 +15,7 @@ #include "MorkParser.hxx" #include <connectivity/dbexception.hxx> +#include <sal/log.hxx> #include <strings.hrc> diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx index cbf86ec30609..3e04925cf509 100644 --- a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx +++ b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx @@ -12,6 +12,7 @@ #include <com/sun/star/sdbc/TransactionIsolation.hpp> #include <com/sun/star/sdbc/ColumnSearch.hpp> +#include <sal/log.hxx> #include <strings.hrc> #include <vector> diff --git a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx index 9f29b641e8cb..41d3670a8077 100644 --- a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx +++ b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx @@ -22,6 +22,8 @@ static ::osl::Mutex m_aMetaMutex; #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/sdb/ErrorCondition.hpp> +#include <sal/log.hxx> + #include "MorkParser.hxx" using namespace connectivity; diff --git a/connectivity/source/drivers/mork/MDriver.cxx b/connectivity/source/drivers/mork/MDriver.cxx index 7cd1dba4145c..95874decdce8 100644 --- a/connectivity/source/drivers/mork/MDriver.cxx +++ b/connectivity/source/drivers/mork/MDriver.cxx @@ -12,6 +12,8 @@ #include <com/sun/star/mozilla/XMozillaBootstrap.hpp> +#include <sal/log.hxx> + using namespace connectivity::mork; extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_sdbc_MorkDriver_get_implementation( diff --git a/connectivity/source/drivers/mork/MPreparedStatement.cxx b/connectivity/source/drivers/mork/MPreparedStatement.cxx index 30c7fbc4a5c4..4945b26dd9c3 100644 --- a/connectivity/source/drivers/mork/MPreparedStatement.cxx +++ b/connectivity/source/drivers/mork/MPreparedStatement.cxx @@ -12,6 +12,7 @@ #include "MResultSetMetaData.hxx" #include <connectivity/dbtools.hxx> #include <com/sun/star/sdbc/ColumnValue.hpp> +#include <sal/log.hxx> using namespace ::comphelper; using namespace connectivity; diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx index 0c0027c13733..9d855b675f60 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.cxx +++ b/connectivity/source/drivers/mork/MQueryHelper.cxx @@ -33,6 +33,7 @@ #include <strings.hrc> #include <unotools/textsearch.hxx> +#include <sal/log.hxx> using namespace connectivity::mork; using namespace connectivity; diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 72e8c3aa3d06..fcaff0496c7b 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/sdbc/ResultSetConcurrency.hpp> #include <com/sun/star/sdbcx/CompareBookmark.hpp> #include <connectivity/dbtools.hxx> +#include <sal/log.hxx> #include <vector> #include <algorithm> diff --git a/connectivity/source/drivers/mork/MStatement.cxx b/connectivity/source/drivers/mork/MStatement.cxx index 66e237a3ad90..813508f25994 100644 --- a/connectivity/source/drivers/mork/MStatement.cxx +++ b/connectivity/source/drivers/mork/MStatement.cxx @@ -19,6 +19,7 @@ #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <cppuhelper/queryinterface.hxx> #include <comphelper/processfactory.hxx> #include <connectivity/dbexception.hxx> diff --git a/connectivity/source/drivers/mork/mork_helper.cxx b/connectivity/source/drivers/mork/mork_helper.cxx index 7b815ab9a4c2..1a8668bc049e 100644 --- a/connectivity/source/drivers/mork/mork_helper.cxx +++ b/connectivity/source/drivers/mork/mork_helper.cxx @@ -2,6 +2,7 @@ #include "MorkParser.hxx" #include <iostream> +#include <sal/log.hxx> bool openAddressBook(const std::string& path) { diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx index 178a2f794636..4706e2c557ea 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx @@ -19,6 +19,7 @@ #include "MNSINIParser.hxx" #include <rtl/byteseq.hxx> +#include <sal/log.hxx> IniParser::IniParser(OUString const & rIniName) { diff --git a/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx index 7f6fe1b5a9bd..1f2ba68b02a0 100644 --- a/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx +++ b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx @@ -29,6 +29,7 @@ #include <TPrivilegesResultSet.hxx> #include <connectivity/dbexception.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> using namespace connectivity::odbc; using namespace com::sun::star::uno; diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx index 40ca6d72c237..1da3a883a457 100644 --- a/connectivity/source/drivers/odbc/OResultSet.cxx +++ b/connectivity/source/drivers/odbc/OResultSet.cxx @@ -35,6 +35,7 @@ #include <comphelper/types.hxx> #include <connectivity/dbtools.hxx> #include <connectivity/dbexception.hxx> +#include <sal/log.hxx> using namespace ::comphelper; using namespace connectivity; diff --git a/connectivity/source/drivers/odbc/OTools.cxx b/connectivity/source/drivers/odbc/OTools.cxx index aa29a9ebb94d..b9d866ccc261 100644 --- a/connectivity/source/drivers/odbc/OTools.cxx +++ b/connectivity/source/drivers/odbc/OTools.cxx @@ -24,6 +24,7 @@ #include <osl/endian.h> #include <odbc/OConnection.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <string.h> #include <string> diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index 8eb1e0a05b28..fa0627e8100d 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -54,6 +54,7 @@ #include <rtl/strbuf.hxx> #include <rtl/uuid.h> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <o3tl/enumarray.hxx> #include <osl/module.h> diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx index 46e66310cadb..06735b570338 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.cxx +++ b/connectivity/source/drivers/postgresql/pq_tools.cxx @@ -39,6 +39,7 @@ #include <o3tl/any.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XComponent.hpp> diff --git a/connectivity/source/drivers/writer/WConnection.cxx b/connectivity/source/drivers/writer/WConnection.cxx index 26234ed5e7cf..ea8ac5da225e 100644 --- a/connectivity/source/drivers/writer/WConnection.cxx +++ b/connectivity/source/drivers/writer/WConnection.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/text/XTextDocument.hpp> #include <tools/urlobj.hxx> +#include <sal/log.hxx> #include <component/CPreparedStatement.hxx> #include <component/CStatement.hxx> #include <unotools/pathoptions.hxx> diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx index d721bc40d3f4..cad61b502730 100644 --- a/connectivity/source/drivers/writer/WTable.cxx +++ b/connectivity/source/drivers/writer/WTable.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <writer/WConnection.hxx> #include <connectivity/sdbcx/VColumn.hxx> +#include <sal/log.hxx> namespace com { diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index dbf203f814a1..a93f3401cabc 100644 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -45,6 +45,7 @@ #include "connectivity/dbconversion.hxx" #include <rtl/ustrbuf.hxx> #include <sal/macros.h> +#include <sal/log.hxx> #if defined _MSC_VER #pragma warning(push) diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 49fa68d587d3..5ba5c11325be 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -37,6 +37,7 @@ #include <comphelper/types.hxx> #include <connectivity/dbmetadata.hxx> #include <com/sun/star/sdb/SQLFilterOperator.hpp> +#include <sal/log.hxx> #include <iterator> #include <memory> diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx index adc48a446a2e..5b0007f24011 100644 --- a/connectivity/source/parse/sqlnode.cxx +++ b/connectivity/source/parse/sqlnode.cxx @@ -56,6 +56,7 @@ #include <functional> #include <memory> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::util; diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx index 2667d957e605..f1e432d410e5 100644 --- a/connectivity/workben/iniParser/main.cxx +++ b/connectivity/workben/iniParser/main.cxx @@ -18,6 +18,7 @@ */ #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <com/sun/star/io/IOException.hpp> #include <osl/process.h> |