summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-27 09:42:16 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-01 09:49:07 +0200
commit3fb5f7181dc30425e31653e48ac1de9d4d20a3df (patch)
treef2b6ce893d65d2843a9e8d304ddc96be7a75806a
parentpdfium: replace FPDFTextObj_GetColor() patch with backport (diff)
downloadcore-3fb5f7181dc30425e31653e48ac1de9d4d20a3df.tar.gz
core-3fb5f7181dc30425e31653e48ac1de9d4d20a3df.zip
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 dbaccess to extensions Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59 Reviewed-on: https://gerrit.libreoffice.org/58165 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--dbaccess/source/core/api/CacheSet.cxx1
-rw-r--r--dbaccess/source/core/api/FilteredContainer.cxx1
-rw-r--r--dbaccess/source/core/api/KeySet.cxx1
-rw-r--r--dbaccess/source/core/api/RowSet.cxx1
-rw-r--r--dbaccess/source/core/api/RowSetBase.cxx1
-rw-r--r--dbaccess/source/core/api/RowSetCache.cxx1
-rw-r--r--dbaccess/source/core/api/SingleSelectQueryComposer.cxx1
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx1
-rw-r--r--dbaccess/source/core/api/resultset.cxx1
-rw-r--r--dbaccess/source/core/api/tablecontainer.cxx1
-rw-r--r--dbaccess/source/core/dataaccess/databasecontext.cxx1
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx1
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx1
-rw-r--r--dbaccess/source/core/misc/apitools.cxx1
-rw-r--r--dbaccess/source/core/recovery/dbdocrecovery.cxx1
-rw-r--r--dbaccess/source/core/recovery/settingsimport.cxx1
-rw-r--r--dbaccess/source/core/recovery/subcomponentrecovery.cxx1
-rw-r--r--dbaccess/source/filter/hsqldb/alterparser.cxx1
-rw-r--r--dbaccess/source/filter/hsqldb/createparser.cxx1
-rw-r--r--dbaccess/source/filter/hsqldb/fbalterparser.cxx1
-rw-r--r--dbaccess/source/filter/hsqldb/hsqlimport.cxx1
-rw-r--r--dbaccess/source/filter/hsqldb/parseschema.cxx1
-rw-r--r--dbaccess/source/filter/xml/xmlDataSourceSetting.cxx1
-rw-r--r--dbaccess/source/filter/xml/xmlExport.cxx1
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx1
-rw-r--r--dbaccess/source/ui/app/AppControllerDnD.cxx1
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx1
-rw-r--r--dbaccess/source/ui/browser/exsrcbrw.cxx1
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx1
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx1
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx1
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx1
-rw-r--r--dbaccess/source/ui/dlg/dsselect.cxx1
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx1
-rw-r--r--dbaccess/source/ui/misc/DExport.cxx1
-rw-r--r--dbaccess/source/ui/misc/RowSetDrop.cxx1
-rw-r--r--dbaccess/source/ui/misc/TableCopyHelper.cxx1
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx1
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx1
-rw-r--r--dbaccess/source/ui/misc/WCopyTable.cxx1
-rw-r--r--dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx1
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx1
-rw-r--r--desktop/source/app/cmdlineargs.cxx1
-rw-r--r--desktop/source/app/opencl.cxx1
-rw-r--r--desktop/source/app/updater.cxx1
-rw-r--r--desktop/source/deployment/dp_log.cxx1
-rw-r--r--desktop/source/deployment/dp_persmap.cxx1
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx1
-rw-r--r--desktop/source/deployment/gui/dp_gui_theextmgr.cxx1
-rw-r--r--desktop/source/deployment/misc/dp_update.cxx1
-rw-r--r--desktop/source/deployment/registry/dp_registry.cxx1
-rw-r--r--desktop/source/migration/services/basicmigration.cxx1
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx1
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx1
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx1
-rw-r--r--desktop/source/splash/unxsplash.cxx1
-rw-r--r--drawinglayer/source/processor2d/vclhelperbufferdevice.cxx1
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx1
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx1
-rw-r--r--drawinglayer/source/texture/texture3d.cxx2
-rw-r--r--drawinglayer/source/tools/emfpbrush.cxx1
-rw-r--r--drawinglayer/source/tools/emfpcustomlinecap.cxx1
-rw-r--r--drawinglayer/source/tools/emfpfont.cxx1
-rw-r--r--drawinglayer/source/tools/emfphelperdata.cxx1
-rw-r--r--drawinglayer/source/tools/emfpimage.cxx1
-rw-r--r--drawinglayer/source/tools/emfppath.cxx1
-rw-r--r--drawinglayer/source/tools/emfppen.cxx1
-rw-r--r--drawinglayer/source/tools/emfpregion.cxx1
-rw-r--r--drawinglayer/source/tools/emfpstringformat.cxx1
-rw-r--r--drawinglayer/source/tools/wmfemfhelper.cxx1
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx1
-rw-r--r--editeng/source/accessibility/AccessibleParaManager.cxx1
-rw-r--r--editeng/source/editeng/editdoc.cxx1
-rw-r--r--editeng/source/editeng/editeng.cxx1
-rw-r--r--editeng/source/editeng/editobj.cxx1
-rw-r--r--editeng/source/editeng/edtspell.cxx1
-rw-r--r--editeng/source/editeng/impedit.cxx1
-rw-r--r--editeng/source/editeng/impedit2.cxx1
-rw-r--r--editeng/source/editeng/impedit3.cxx1
-rw-r--r--editeng/source/editeng/impedit4.cxx1
-rw-r--r--editeng/source/items/numitem.cxx1
-rw-r--r--editeng/source/items/paraitem.cxx1
-rw-r--r--editeng/source/items/svxfont.cxx1
-rw-r--r--editeng/source/items/textitem.cxx1
-rw-r--r--editeng/source/misc/hangulhanja.cxx1
-rw-r--r--editeng/source/misc/svxacorr.cxx1
-rw-r--r--editeng/source/misc/unolingu.cxx1
-rw-r--r--editeng/source/outliner/outliner.cxx1
-rw-r--r--editeng/source/outliner/outlobj.cxx1
-rw-r--r--editeng/source/outliner/outlvw.cxx1
-rw-r--r--editeng/source/outliner/overflowingtxt.cxx1
-rw-r--r--editeng/source/outliner/paralist.cxx1
-rw-r--r--editeng/source/rtf/rtfitem.cxx1
-rw-r--r--editeng/source/uno/unofield.cxx1
-rw-r--r--editeng/source/uno/unoipset.cxx1
-rw-r--r--editeng/source/xml/xmltxtexp.cxx1
-rw-r--r--embeddedobj/source/commonembedding/embedobj.cxx1
-rw-r--r--embeddedobj/source/commonembedding/persistence.cxx1
-rw-r--r--embeddedobj/source/commonembedding/visobj.cxx1
-rw-r--r--embeddedobj/source/msole/oleembed.cxx1
-rw-r--r--embeddedobj/source/msole/olepersist.cxx1
-rw-r--r--embeddedobj/source/msole/olevisual.cxx1
-rw-r--r--embeddedobj/source/msole/ownview.cxx1
-rw-r--r--embedserv/source/embed/servprov.cxx1
-rw-r--r--emfio/source/reader/emfreader.cxx1
-rw-r--r--emfio/source/reader/mtftools.cxx1
-rw-r--r--emfio/source/reader/wmfreader.cxx1
-rw-r--r--extensions/source/abpilot/fieldmappingimpl.cxx1
-rw-r--r--extensions/source/bibliography/formcontrolcontainer.cxx1
-rw-r--r--extensions/source/config/WinUserInfo/WinUserInfoBe.cxx1
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.cxx1
-rw-r--r--extensions/source/dbpilots/listcombowizard.cxx1
-rw-r--r--extensions/source/logging/filehandler.cxx1
-rw-r--r--extensions/source/ole/oleobjw.cxx1
-rw-r--r--extensions/source/ole/servprov.cxx1
-rw-r--r--extensions/source/ole/unoobjw.cxx1
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx1
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx1
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx1
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx1
-rw-r--r--extensions/source/propctrlr/stringrepresentation.cxx1
-rw-r--r--extensions/source/scanner/sanedlg.cxx1
-rw-r--r--extensions/source/scanner/scanunx.cxx1
-rw-r--r--extensions/source/update/check/updatecheck.cxx1
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx1
-rw-r--r--extensions/source/update/feed/test/updatefeedtest.cxx1
126 files changed, 126 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/CacheSet.cxx b/dbaccess/source/core/api/CacheSet.cxx
index ddd7d0575d79..bf547d6a53c1 100644
--- a/dbaccess/source/core/api/CacheSet.cxx
+++ b/dbaccess/source/core/api/CacheSet.cxx
@@ -39,6 +39,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <comphelper/types.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
using namespace comphelper;
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx
index ae9cf694e891..5f47da9e9da9 100644
--- a/dbaccess/source/core/api/FilteredContainer.cxx
+++ b/dbaccess/source/core/api/FilteredContainer.cxx
@@ -28,6 +28,7 @@
#include <tools/wldcrd.hxx>
#include <tools/diagnose_ex.h>
#include <boost/optional.hpp>
+#include <sal/log.hxx>
namespace dbaccess
{
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 84cd83a3a43e..eb866c82bad2 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include "KeySet.hxx"
+#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 69414a73b34f..0564532cba9e 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <map>
#include <utility>
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 8a973b48cbf9..e1afe5d21a54 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -22,6 +22,7 @@
#include <connectivity/sdbcx/VCollection.hxx>
#include "RowSetCache.hxx"
#include <stringconstants.hxx>
+#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index 4c3f5706935b..12f6e245e514 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -27,6 +27,7 @@
#include "RowSetCache.hxx"
#include "StaticSet.hxx"
#include "WrappedResultSet.hxx"
+#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index 6e0797e55f84..06a4dcfc4285 100644
--- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -18,6 +18,7 @@
*/
#include <string.h>
+#include <sal/log.hxx>
#include <composertools.hxx>
#include <strings.hrc>
#include <core_resource.hxx>
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index be1b8512ee73..982f4177947f 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -25,6 +25,7 @@
#include <core_resource.hxx>
#include <strings.hrc>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/property.hxx>
diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx
index ae663eaf5c84..67ab680ebb68 100644
--- a/dbaccess/source/core/api/resultset.cxx
+++ b/dbaccess/source/core/api/resultset.cxx
@@ -18,6 +18,7 @@
*/
#include "resultset.hxx"
+#include <sal/log.hxx>
#include <stringconstants.hxx>
#include <apitools.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx
index ad83c8a866fa..40d520cea975 100644
--- a/dbaccess/source/core/api/tablecontainer.cxx
+++ b/dbaccess/source/core/api/tablecontainer.cxx
@@ -20,6 +20,7 @@
#include <tablecontainer.hxx>
#include <stringconstants.hxx>
#include <table.hxx>
+#include <sal/log.hxx>
#include <comphelper/property.hxx>
#include <comphelper/processfactory.hxx>
#include <tools/debug.hxx>
diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx
index 85683e6a5367..afa0d2ce9756 100644
--- a/dbaccess/source/core/dataaccess/databasecontext.cxx
+++ b/dbaccess/source/core/dataaccess/databasecontext.cxx
@@ -59,6 +59,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <rtl/uri.hxx>
+#include <sal/log.hxx>
#include <svl/filenotation.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index 44e43b9b2435..af654d1e81be 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -79,6 +79,7 @@
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <vcl/errcode.hxx>
+#include <sal/log.hxx>
#include <list>
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 597c5a6d560b..708bd917cb86 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -62,6 +62,7 @@
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <osl/process.h>
+#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <typelib/typedescription.hxx>
#include <unotools/confignode.hxx>
diff --git a/dbaccess/source/core/misc/apitools.cxx b/dbaccess/source/core/misc/apitools.cxx
index b6392d5dea40..c22c30d95209 100644
--- a/dbaccess/source/core/misc/apitools.cxx
+++ b/dbaccess/source/core/misc/apitools.cxx
@@ -21,6 +21,7 @@
#include <stringconstants.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx
index 8ad356b80b36..55ef8b4e5466 100644
--- a/dbaccess/source/core/recovery/dbdocrecovery.cxx
+++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/util/XModifiable.hpp>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
#include <algorithm>
diff --git a/dbaccess/source/core/recovery/settingsimport.cxx b/dbaccess/source/core/recovery/settingsimport.cxx
index d4b06a90ad01..1c46b8b0717a 100644
--- a/dbaccess/source/core/recovery/settingsimport.cxx
+++ b/dbaccess/source/core/recovery/settingsimport.cxx
@@ -20,6 +20,7 @@
#include "settingsimport.hxx"
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
index 2c78afa25447..fcfb56d3e5ef 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
@@ -37,6 +37,7 @@
#include <cppuhelper/implbase.hxx>
#include <connectivity/dbtools.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <xmloff/XMLSettingsExportContext.hxx>
#include <xmloff/SettingsExportHelper.hxx>
diff --git a/dbaccess/source/filter/hsqldb/alterparser.cxx b/dbaccess/source/filter/hsqldb/alterparser.cxx
index 20d035152579..1dd770b1fc73 100644
--- a/dbaccess/source/filter/hsqldb/alterparser.cxx
+++ b/dbaccess/source/filter/hsqldb/alterparser.cxx
@@ -18,6 +18,7 @@
*/
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
#include "alterparser.hxx"
#include "utils.hxx"
diff --git a/dbaccess/source/filter/hsqldb/createparser.cxx b/dbaccess/source/filter/hsqldb/createparser.cxx
index 32abe25a8521..d8a3fdb583f3 100644
--- a/dbaccess/source/filter/hsqldb/createparser.cxx
+++ b/dbaccess/source/filter/hsqldb/createparser.cxx
@@ -18,6 +18,7 @@
*/
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
#include "createparser.hxx"
#include "utils.hxx"
#include <com/sun/star/sdbc/DataType.hpp>
diff --git a/dbaccess/source/filter/hsqldb/fbalterparser.cxx b/dbaccess/source/filter/hsqldb/fbalterparser.cxx
index d0b0db3de7a5..818673cbdaf3 100644
--- a/dbaccess/source/filter/hsqldb/fbalterparser.cxx
+++ b/dbaccess/source/filter/hsqldb/fbalterparser.cxx
@@ -19,6 +19,7 @@
#include "fbalterparser.hxx"
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
namespace dbahsql
{
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.cxx b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
index 260ec8665d0a..3ef8d7f099ac 100644
--- a/dbaccess/source/filter/hsqldb/hsqlimport.cxx
+++ b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/sdbc/SQLException.hpp>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/dbexception.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/dbaccess/source/filter/hsqldb/parseschema.cxx b/dbaccess/source/filter/hsqldb/parseschema.cxx
index 038793a797e5..beca3c24e17e 100644
--- a/dbaccess/source/filter/hsqldb/parseschema.cxx
+++ b/dbaccess/source/filter/hsqldb/parseschema.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/embed/ElementModes.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
namespace
{
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
index 354af2a76cc1..107cbe700390 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <map>
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index 394e01ecb96e..a2d09c768271 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -33,6 +33,7 @@
#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>
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index 37bcd43fb4dd..a57dc9477bf7 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/errinf.hxx>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index 39e470259e2b..6bc4a784ab5a 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -48,6 +48,7 @@
#include <connectivity/dbexception.hxx>
#include <vcl/waitobj.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include "AppView.hxx"
#include <svx/dataaccessdescriptor.hxx>
#include <svx/dbaobjectex.hxx>
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 2aba6826d7dc..4108eb78db34 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -78,6 +78,7 @@
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <sfx2/app.hxx>
#include <svx/fmsearch.hxx>
#include <svx/svxdlg.hxx>
diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx
index bbd2a7e0cb6d..72451bb431e7 100644
--- a/dbaccess/source/ui/browser/exsrcbrw.cxx
+++ b/dbaccess/source/ui/browser/exsrcbrw.cxx
@@ -32,6 +32,7 @@
#include <o3tl/any.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sdb;
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 8a667865f4c0..588f38e81c5a 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -55,6 +55,7 @@
#include <com/sun/star/frame/status/Visibility.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <o3tl/functional.hxx>
#include <limits>
#include <unordered_map>
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 0f83166db4e1..5f86a96ef6d7 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -52,6 +52,7 @@
#include <com/sun/star/sdbc/XResultSetUpdate.hpp>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <svl/intitem.hxx>
#include <svx/algitem.hxx>
#include <tools/multisel.hxx>
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 178b37c4f59b..2fea1658a8f5 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -116,6 +116,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <tools/multisel.hxx>
#include <tools/urlobj.hxx>
#include <unotools/confignode.hxx>
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index f113f15f50ee..bc0f8b4813ee 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -59,6 +59,7 @@
#include <osl/file.hxx>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <typelib/typedescription.hxx>
#include <vcl/svapp.hxx>
#include <vcl/stdtext.hxx>
diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx
index 2f049502c6e8..d6fce6351bf7 100644
--- a/dbaccess/source/ui/dlg/dsselect.cxx
+++ b/dbaccess/source/ui/dlg/dsselect.cxx
@@ -31,6 +31,7 @@
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
#include <svl/itemset.hxx>
+#include <sal/log.hxx>
namespace dbaui
{
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index df4af30d4894..770ef2af7e3b 100644
--- a/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/dbaccess/source/ui/dlg/generalpage.cxx
@@ -42,6 +42,7 @@
#include <unotools/confignode.hxx>
#include <osl/diagnose.h>
#include <svtools/miscopt.hxx>
+#include <sal/log.hxx>
namespace dbaui
{
diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx
index 8cb191f8da8f..fec63a5630f3 100644
--- a/dbaccess/source/ui/misc/DExport.cxx
+++ b/dbaccess/source/ui/misc/DExport.cxx
@@ -38,6 +38,7 @@
#include <strings.hxx>
#include <connectivity/dbconversion.hxx>
#include <osl/thread.h>
+#include <sal/log.hxx>
#include <sfx2/sfxhtml.hxx>
#include <svl/numuno.hxx>
#include <connectivity/dbtools.hxx>
diff --git a/dbaccess/source/ui/misc/RowSetDrop.cxx b/dbaccess/source/ui/misc/RowSetDrop.cxx
index cdf4ecbb7d35..b4e605f2754e 100644
--- a/dbaccess/source/ui/misc/RowSetDrop.cxx
+++ b/dbaccess/source/ui/misc/RowSetDrop.cxx
@@ -21,6 +21,7 @@
#include <TokenWriter.hxx>
#include <com/sun/star/sdbc/XColumnLocate.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
+#include <sal/log.hxx>
#include <core_resource.hxx>
#include <strings.hrc>
#include <strings.hxx>
diff --git a/dbaccess/source/ui/misc/TableCopyHelper.cxx b/dbaccess/source/ui/misc/TableCopyHelper.cxx
index 1c9f5118fe62..473aec22de63 100644
--- a/dbaccess/source/ui/misc/TableCopyHelper.cxx
+++ b/dbaccess/source/ui/misc/TableCopyHelper.cxx
@@ -41,6 +41,7 @@
#include <unotools/ucbhelper.hxx>
#include <tools/urlobj.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/XViewsSupplier.hpp>
#include <com/sun/star/sdb/XQueryDefinitionsSupplier.hpp>
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index b1a60f2e6646..351f3e54acf6 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -22,6 +22,7 @@
#include <tools/diagnose_ex.h>
#include <tools/stream.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <RtfReader.hxx>
#include <HtmlReader.hxx>
#include <stringconstants.hxx>
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 0ab2ec4c0614..24210c560bda 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -74,6 +74,7 @@
#include <svx/svxids.hrc>
+#include <sal/log.hxx>
#include <svl/itempool.hxx>
#include <helpids.h>
#include <svl/itemset.hxx>
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 35b9df1de937..f602ed3abcfc 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -53,6 +53,7 @@
#include <connectivity/dbexception.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/lstbox.hxx>
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
index d3003aa2aac9..de0c42044f0f 100644
--- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
+++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
@@ -43,6 +43,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index f338f7b1de54..53685f07f2c1 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -66,6 +66,7 @@
#include <cppuhelper/implbase.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <svtools/genericunodialog.hxx>
#include <tools/diagnose_ex.h>
#include <unotools/sharedunocomponent.hxx>
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index e67f204866e9..bbe3bcbeb5ee 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -40,6 +40,7 @@
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star::lang;
using namespace com::sun::star::uri;
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx
index cb00a8720989..ed58733e8ab6 100644
--- a/desktop/source/app/opencl.cxx
+++ b/desktop/source/app/opencl.cxx
@@ -19,6 +19,7 @@
#include <config_folders.h>
#include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Office/Common.hxx>
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index e90cf3bd1991..adcc130751e7 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -30,6 +30,7 @@
#include <unotools/configmgr.hxx>
#include <osl/file.hxx>
#include <rtl/process.h>
+#include <sal/log.hxx>
#include <curl/curl.h>
diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx
index 4f9453ff3a3b..fbf08fb0dc12 100644
--- a/desktop/source/deployment/dp_log.cxx
+++ b/desktop/source/deployment/dp_log.cxx
@@ -21,6 +21,7 @@
#include <dp_misc.h>
#include <dp_services.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <osl/time.h>
#include <osl/thread.h>
#include <cppuhelper/compbase.hxx>
diff --git a/desktop/source/deployment/dp_persmap.cxx b/desktop/source/deployment/dp_persmap.cxx
index c06c63656e6f..63d02f51d41a 100644
--- a/desktop/source/deployment/dp_persmap.cxx
+++ b/desktop/source/deployment/dp_persmap.cxx
@@ -21,6 +21,7 @@
#include <dp_persmap.h>
#include <rtl/byteseq.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
using namespace ::rtl;
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 5dabafb1ba3d..6d60fdf5d36f 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -43,6 +43,7 @@
#include <vcl/builderfactory.hxx>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <svtools/extensionlistbox.hxx>
#include <svtools/restartdialog.hxx>
diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
index fb883e15b82e..ae743357aa7f 100644
--- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <comphelper/propertysequence.hxx>
#include <cppuhelper/exc_hlp.hxx>
+#include <sal/log.hxx>
#include "dp_gui_dialog2.hxx"
#include "dp_gui_extensioncmdqueue.hxx"
diff --git a/desktop/source/deployment/misc/dp_update.cxx b/desktop/source/deployment/misc/dp_update.cxx
index 05b23c9cd3f5..05f1f0e6b991 100644
--- a/desktop/source/deployment/misc/dp_update.cxx
+++ b/desktop/source/deployment/misc/dp_update.cxx
@@ -28,6 +28,7 @@
#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <osl/diagnose.h>
#include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx
index a56a59b61920..54d84f2ad106 100644
--- a/desktop/source/deployment/registry/dp_registry.cxx
+++ b/desktop/source/deployment/registry/dp_registry.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <dp_shared.hxx>
#include <dp_package.hxx>
diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx
index a3f266d4f88b..515a847cef1b 100644
--- a/desktop/source/migration/services/basicmigration.cxx
+++ b/desktop/source/migration/services/basicmigration.cxx
@@ -21,6 +21,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <tools/urlobj.hxx>
#include <unotools/bootstrap.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index 683813a9df48..114e36e55325 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -22,6 +22,7 @@
#include <tools/urlobj.hxx>
#include <unotools/bootstrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
index 6ed4cd3cd3a7..22489894bba3 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
@@ -22,6 +22,7 @@
#include <dp_shared.hxx>
#include "unopkg_shared.h"
#include <osl/thread.h>
+#include <sal/log.hxx>
#include <unotools/resmgr.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/exc_hlp.hxx>
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
index b303248050f0..9fb377f2aef0 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
@@ -26,6 +26,7 @@
#include <rtl/bootstrap.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <osl/process.h>
#include <osl/file.hxx>
#include <osl/thread.hxx>
diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx
index c735f59fa30c..88f1aef5090b 100644
--- a/desktop/source/splash/unxsplash.cxx
+++ b/desktop/source/splash/unxsplash.cxx
@@ -24,6 +24,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star;
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index c5f806c5bb0b..d84cda7360b9 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <algorithm>
#include <map>
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index bc234adc8337..b1c974de028c 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -44,6 +44,7 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/hatch.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <com/sun/star/awt/PosSize.hpp>
#include <drawinglayer/primitive2d/invertprimitive2d.hxx>
#include <cstdio>
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index df0b95b7cdec..206ff787b40a 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -43,6 +43,7 @@
#include <drawinglayer/primitive2d/pagepreviewprimitive2d.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <vcl/metric.hxx>
#include <drawinglayer/primitive2d/textenumsprimitive2d.hxx>
#include <drawinglayer/primitive2d/epsprimitive2d.hxx>
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index fc6232022692..c021c336bb2c 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -20,7 +20,7 @@
#include <drawinglayer/texture/texture3d.hxx>
#include <vcl/bitmapaccess.hxx>
#include <drawinglayer/primitive3d/hatchtextureprimitive3d.hxx>
-
+#include <sal/log.hxx>
namespace drawinglayer
{
diff --git a/drawinglayer/source/tools/emfpbrush.cxx b/drawinglayer/source/tools/emfpbrush.cxx
index c454c940dc03..ce53d5933222 100644
--- a/drawinglayer/source/tools/emfpbrush.cxx
+++ b/drawinglayer/source/tools/emfpbrush.cxx
@@ -34,6 +34,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <sal/log.hxx>
#include <vcl/canvastools.hxx>
#include "emfpbrush.hxx"
#include "emfppath.hxx"
diff --git a/drawinglayer/source/tools/emfpcustomlinecap.cxx b/drawinglayer/source/tools/emfpcustomlinecap.cxx
index 91eeb4ea8c52..e72d3a1c5561 100644
--- a/drawinglayer/source/tools/emfpcustomlinecap.cxx
+++ b/drawinglayer/source/tools/emfpcustomlinecap.cxx
@@ -35,6 +35,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/canvastools.hxx>
+#include <sal/log.hxx>
#include "emfpcustomlinecap.hxx"
#include "emfppath.hxx"
#include "emfppen.hxx"
diff --git a/drawinglayer/source/tools/emfpfont.cxx b/drawinglayer/source/tools/emfpfont.cxx
index 4c6d162dac11..a8fec3ca3618 100644
--- a/drawinglayer/source/tools/emfpfont.cxx
+++ b/drawinglayer/source/tools/emfpfont.cxx
@@ -35,6 +35,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vcl/canvastools.hxx>
+#include <sal/log.hxx>
#include "emfpfont.hxx"
namespace emfplushelper
diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx
index c529c255beb1..79b48c8bdf9b 100644
--- a/drawinglayer/source/tools/emfphelperdata.cxx
+++ b/drawinglayer/source/tools/emfphelperdata.cxx
@@ -38,6 +38,7 @@
#include <basegfx/polygon/b2dpolygonclipper.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
+#include <sal/log.hxx>
#include <o3tl/make_unique.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/drawinglayer/source/tools/emfpimage.cxx b/drawinglayer/source/tools/emfpimage.cxx
index a2f6b2f12b69..502eb2b74f0f 100644
--- a/drawinglayer/source/tools/emfpimage.cxx
+++ b/drawinglayer/source/tools/emfpimage.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/graphicfilter.hxx>
+#include <sal/log.hxx>
#include "emfpimage.hxx"
namespace emfplushelper
diff --git a/drawinglayer/source/tools/emfppath.cxx b/drawinglayer/source/tools/emfppath.cxx
index b3f63bc26e14..52f22393f3c7 100644
--- a/drawinglayer/source/tools/emfppath.cxx
+++ b/drawinglayer/source/tools/emfppath.cxx
@@ -20,6 +20,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <sal/log.hxx>
#include "emfppath.hxx"
namespace emfplushelper
diff --git a/drawinglayer/source/tools/emfppen.cxx b/drawinglayer/source/tools/emfppen.cxx
index 314fdf3f5f31..571525a4ab01 100644
--- a/drawinglayer/source/tools/emfppen.cxx
+++ b/drawinglayer/source/tools/emfppen.cxx
@@ -34,6 +34,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <sal/log.hxx>
#include <vcl/canvastools.hxx>
#include "emfppen.hxx"
#include "emfpcustomlinecap.hxx"
diff --git a/drawinglayer/source/tools/emfpregion.cxx b/drawinglayer/source/tools/emfpregion.cxx
index 940723617ead..e5a9ed9e81e3 100644
--- a/drawinglayer/source/tools/emfpregion.cxx
+++ b/drawinglayer/source/tools/emfpregion.cxx
@@ -24,6 +24,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <sal/log.hxx>
#include "emfpregion.hxx"
#include "emfppath.hxx"
diff --git a/drawinglayer/source/tools/emfpstringformat.cxx b/drawinglayer/source/tools/emfpstringformat.cxx
index 79696b7c3c47..fbf76df02fd9 100644
--- a/drawinglayer/source/tools/emfpstringformat.cxx
+++ b/drawinglayer/source/tools/emfpstringformat.cxx
@@ -19,6 +19,7 @@
#include <com/sun/star/rendering/XCanvas.hpp>
#include <vcl/canvastools.hxx>
+#include <sal/log.hxx>
#include "emfpstringformat.hxx"
namespace emfplushelper
diff --git a/drawinglayer/source/tools/wmfemfhelper.cxx b/drawinglayer/source/tools/wmfemfhelper.cxx
index 2cd0d2d230fd..2576bfdf510c 100644
--- a/drawinglayer/source/tools/wmfemfhelper.cxx
+++ b/drawinglayer/source/tools/wmfemfhelper.cxx
@@ -44,6 +44,7 @@
#include <drawinglayer/primitive2d/textstrikeoutprimitive2d.hxx>
#include <drawinglayer/primitive2d/epsprimitive2d.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <tools/fract.hxx>
#include <vcl/gradient.hxx>
#include <vcl/hatch.hxx>
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 145212939f2c..085f7b3062e6 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -27,6 +27,7 @@
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <editeng/flditem.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index 0601217bc71e..548d94b2beb2 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 9c70eff997ec..373ee7b5158a 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -57,6 +57,7 @@
#include "impedit.hxx"
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <svl/grabbagitem.hxx>
#include <tools/stream.hxx>
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 5699c920878a..85bfbfb44a76 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -74,6 +74,7 @@
#include <linguistic/lngprops.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <vcl/help.hxx>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/i18n/InputSequenceCheckMode.hpp>
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index aca013ad748b..8166f84c6a11 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/dialog.hxx>
#include <vcl/svapp.hxx>
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 61ca57ae0d81..ed437c5df7c5 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -23,6 +23,7 @@
#include <vcl/svapp.hxx>
#include "impedit.hxx"
+#include <sal/log.hxx>
#include <editeng/editview.hxx>
#include <editeng/editeng.hxx>
#include <edtspell.hxx>
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 99d49c1eeae4..4580a573ed19 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -23,6 +23,7 @@
#include <vcl/settings.hxx>
#include "impedit.hxx"
+#include <sal/log.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <editeng/outliner.hxx>
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index af0565f76df5..38d99f120830 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -58,6 +58,7 @@
#include <com/sun/star/i18n/InputSequenceCheckMode.hpp>
+#include <sal/log.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <svl/asiancfg.hxx>
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 7cc6dfddb695..d10c8ff26feb 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -75,6 +75,7 @@
#include <comphelper/processfactory.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <comphelper/string.hxx>
#include <comphelper/lok.hxx>
#include <memory>
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index e619351963f9..14449b19fb5e 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -34,6 +34,7 @@
#include "eehtml.hxx"
#include "editobj2.hxx"
#include <i18nlangtag/lang.h>
+#include <sal/log.hxx>
#include <editxml.hxx>
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 8e483d66ca51..ae2c584ff83e 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -45,6 +45,7 @@
#include <unotools/configmgr.hxx>
#include <libxml/xmlwriter.h>
#include <editeng/unonrule.hxx>
+#include <sal/log.hxx>
#define DEF_WRITER_LSPACE 500 //Standard Indentation
#define DEF_DRAW_LSPACE 800 //Standard Indentation
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index 2941aabcdc09..b1c1105f58b7 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -43,6 +43,7 @@
#include <editeng/paravertalignitem.hxx>
#include <editeng/pgrditem.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <editeng/memberids.h>
#include <editeng/editids.hrc>
#include <editeng/itemtype.hxx>
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index 9e20c30cc4ce..3f4807869aee 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/i18n/KCharacterType.hpp>
#include <editeng/svxfont.hxx>
#include <editeng/escapementitem.hxx>
+#include <sal/log.hxx>
SvxFont::SvxFont()
{
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 7ef82e39ec98..36cf5ca8967e 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -25,6 +25,7 @@
#include <tools/stream.hxx>
#include <math.h>
#include <rtl/math.hxx>
+#include <sal/log.hxx>
#include <unotools/fontdefs.hxx>
#include <vcl/outdev.hxx>
#include <vcl/unohelp.hxx>
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index f5e549ff8f43..a3999205d579 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/i18n/WordType.hpp>
#include <vcl/stdtext.hxx>
#include <unotools/charclass.hxx>
+#include <sal/log.hxx>
#include <editeng/edtdlg.hxx>
#include <editeng/unolingu.hxx>
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index cf56f2a4552f..2166d323a082 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -26,6 +26,7 @@
#include <tools/urlobj.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nutil/transliteration.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <sot/storinfo.hxx>
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 25e7268a93e0..4d21c60a0ab2 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -51,6 +51,7 @@
#include <editeng/editrids.hrc>
#include <svtools/strings.hrc>
#include <unotools/resmgr.hxx>
+#include <sal/log.hxx>
using namespace ::comphelper;
using namespace ::linguistic;
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 2f60f3daca1d..09397d45f6b6 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -51,6 +51,7 @@
#include <editeng/brushitem.hxx>
#include <svl/itempool.hxx>
#include <libxml/xmlwriter.h>
+#include <sal/log.hxx>
// calculate if it's RTL or not
#include <unicode/ubidi.h>
diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx
index 8002419cc37d..181aa114709f 100644
--- a/editeng/source/outliner/outlobj.cxx
+++ b/editeng/source/outliner/outlobj.cxx
@@ -30,6 +30,7 @@
#include <editeng/editobj.hxx>
#include <vcl/bitmap.hxx>
#include <tools/stream.hxx>
+#include <sal/log.hxx>
#include <o3tl/cow_wrapper.hxx>
#include <libxml/xmlwriter.h>
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 82c3da7f4d96..b51cbbbbfb40 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -44,6 +44,7 @@
#include <svl/itemset.hxx>
#include <svl/eitem.hxx>
#include <editeng/editstat.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx
index e5bc3097e82b..0181d93b2249 100644
--- a/editeng/source/outliner/overflowingtxt.cxx
+++ b/editeng/source/outliner/overflowingtxt.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <editeng/overflowingtxt.hxx>
#include <editeng/outliner.hxx>
diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx
index f4c178ac0ec2..2dd6a56f8798 100644
--- a/editeng/source/outliner/paralist.cxx
+++ b/editeng/source/outliner/paralist.cxx
@@ -24,6 +24,7 @@
#include <editeng/numdef.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <libxml/xmlwriter.h>
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 449877044175..7130793ef8b5 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -73,6 +73,7 @@
#include <svtools/rtftoken.h>
#include <svl/itempool.hxx>
#include <svl/itemiter.hxx>
+#include <sal/log.hxx>
#include <editeng/svxrtf.hxx>
#include <editeng/editids.hrc>
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index 6cc201e93725..7dacb0625390 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -31,6 +31,7 @@
#include <editeng/unotext.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <editeng/unonames.hxx>
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index c0f5b02d64cf..320ccc5a9916 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -27,6 +27,7 @@
#include <svl/itempool.hxx>
#include <o3tl/any.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <algorithm>
using namespace ::com::sun::star;
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx
index 0f4e59ebefcb..035081d7da43 100644
--- a/editeng/source/xml/xmltxtexp.cxx
+++ b/editeng/source/xml/xmltxtexp.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <sot/storage.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/nmspmap.hxx>
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx
index 8ec68838800f..14e7246b7b42 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -41,6 +41,7 @@
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <comphelper/lok.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index 999ccd28955d..e3693cb06c18 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -55,6 +55,7 @@
#include <comphelper/namedvaluecollection.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <unotools/configmgr.hxx>
#include "persistence.hxx"
diff --git a/embeddedobj/source/commonembedding/visobj.cxx b/embeddedobj/source/commonembedding/visobj.cxx
index 968d3a584808..6306ecfad0cf 100644
--- a/embeddedobj/source/commonembedding/visobj.cxx
+++ b/embeddedobj/source/commonembedding/visobj.cxx
@@ -26,6 +26,7 @@
#include <commonembobj.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx
index b9854a076f58..0a51bdd7253e 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -48,6 +48,7 @@
#include <cppuhelper/interfacecontainer.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/mimeconfighelper.hxx>
+#include <sal/log.hxx>
#include <targetstatecontrol.hxx>
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 73434da6092b..d9c2e3024fab 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -46,6 +46,7 @@
#include <comphelper/classids.hxx>
#include <osl/diagnose.h>
#include <osl/thread.hxx>
+#include <sal/log.hxx>
#include <closepreventer.hxx>
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx
index 8e1d7bc8d6e7..6fe1bc40bb8c 100644
--- a/embeddedobj/source/msole/olevisual.cxx
+++ b/embeddedobj/source/msole/olevisual.cxx
@@ -30,6 +30,7 @@
#include <comphelper/mimeconfighelper.hxx>
#include <comphelper/seqstream.hxx>
#include <filter/msfilter/classids.hxx>
+#include <sal/log.hxx>
#if defined(_WIN32)
#include "olecomponent.hxx"
diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx
index 9ab6cc0f1654..0685bba77a37 100644
--- a/embeddedobj/source/msole/ownview.cxx
+++ b/embeddedobj/source/msole/ownview.cxx
@@ -40,6 +40,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/mimeconfighelper.hxx>
+#include <sal/log.hxx>
#include "olepersist.hxx"
#include "ownview.hxx"
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx
index ff56b7ec69d8..a78a7c9278fc 100644
--- a/embedserv/source/embed/servprov.cxx
+++ b/embedserv/source/embed/servprov.cxx
@@ -25,6 +25,7 @@
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <osl/thread.h>
+#include <sal/log.hxx>
using namespace com::sun::star;
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 5164450bcece..f4a0bd300947 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -19,6 +19,7 @@
#include <emfreader.hxx>
#include <osl/endian.h>
+#include <sal/log.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <vcl/dibtools.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 89ca286a9501..1b76907cd8ff 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -31,6 +31,7 @@
#include <tools/fract.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/tencinfo.h>
+#include <sal/log.hxx>
#include <vcl/virdev.hxx>
#include <o3tl/make_unique.hxx>
#include <o3tl/safeint.hxx>
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index f93eb0cbc31a..ec813e645447 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -24,6 +24,7 @@
#include <boost/optional.hpp>
#include <rtl/crc.h>
#include <rtl/tencinfo.h>
+#include <sal/log.hxx>
#include <osl/endian.h>
#include <vcl/gdimtf.hxx>
#include <vcl/svapp.hxx>
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx
index fda8c194103c..50a1ee30b402 100644
--- a/extensions/source/abpilot/fieldmappingimpl.cxx
+++ b/extensions/source/abpilot/fieldmappingimpl.cxx
@@ -33,6 +33,7 @@
#include <componentmodule.hxx>
#include <unotools/confignode.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
namespace abp
diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx
index fbe31d20e318..2fc1f1e1018b 100644
--- a/extensions/source/bibliography/formcontrolcontainer.cxx
+++ b/extensions/source/bibliography/formcontrolcontainer.cxx
@@ -19,6 +19,7 @@
#include "formcontrolcontainer.hxx"
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
index 0f39a39b9a27..5a63f7294906 100644
--- a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
+++ b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
@@ -19,6 +19,7 @@
#include <map>
#include <o3tl/make_unique.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
+#include <sal/log.hxx>
#include <Iads.h>
#include <Adshlp.h>
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index a1208f4bd578..cbf04fd6b027 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -25,6 +25,7 @@
#include <osl/process.h>
#include <rtl/ustrbuf.hxx>
#include <rtl/byteseq.h>
+#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx
index c114135cfcca..44006083ee29 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -27,6 +27,7 @@
#include <tools/debug.hxx>
#include <connectivity/dbtools.hxx>
#include <helpids.h>
+#include <sal/log.hxx>
namespace dbp
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index 733742e0a4c6..94e5898d8b08 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include "methodguard.hxx"
#include "loghandler.hxx"
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 4d6180f09797..00885662c659 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -19,6 +19,7 @@
#include "ole2uno.hxx"
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <osl/diagnose.h>
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index 729f858d191a..b5ec6b886a22 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -34,6 +34,7 @@
#include <o3tl/any.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <ooo/vba/XHelperInterface.hpp>
+#include <sal/log.hxx>
using namespace cppu;
using namespace osl;
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 4165fbfbac83..f45b9b5b0000 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -56,6 +56,7 @@
#include <osl/diagnose.h>
#include <salhelper/simplereferenceobject.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/beans/MethodConcept.hpp>
#include <com/sun/star/beans/PropertyConcept.hpp>
#include <com/sun/star/lang/NoSuchMethodException.hpp>
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index bb333a15454f..be7e94dbdc89 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -24,6 +24,7 @@
#include "linedescriptor.hxx"
#include "inspectorhelpwindow.hxx"
+#include <sal/log.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/inspection/PropertyControlType.hpp>
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 99eb2076d118..60ae7318cf09 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/inspection/PropertyControlType.hpp>
#include <com/sun/star/inspection/XObjectInspectorUI.hpp>
#include <tools/debug.hxx>
+#include <sal/log.hxx>
#include <functional>
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index e26537d69dac..0db2e8be590a 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -53,6 +53,7 @@
#include <algorithm>
#include <functional>
#include <sal/macros.h>
+#include <sal/log.hxx>
// !!! outside the namespace !!!
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 82262284d70e..9c4f51efdd93 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -31,6 +31,7 @@
#include <comphelper/property.hxx>
#include <comphelper/types.hxx>
#include <svtools/treelistentry.hxx>
+#include <sal/log.hxx>
namespace pcr
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx
index 40cc301bc8ed..0a45bb54e831 100644
--- a/extensions/source/propctrlr/stringrepresentation.cxx
+++ b/extensions/source/propctrlr/stringrepresentation.cxx
@@ -37,6 +37,7 @@
#include <connectivity/dbconversion.hxx>
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <strings.hrc>
#include <yesno.hrc>
#include "pcrservices.hxx"
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index ff4e7db39e14..3df7b4b40e08 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -30,6 +30,7 @@
#include "grid.hxx"
#include <math.h>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <rtl/strbuf.hxx>
#include <memory>
#include <strings.hrc>
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx
index 20fdb2b52e70..37b7b2999ac2 100644
--- a/extensions/source/scanner/scanunx.cxx
+++ b/extensions/source/scanner/scanunx.cxx
@@ -20,6 +20,7 @@
#include "scanner.hxx"
#include "sanedlg.hxx"
#include <osl/thread.hxx>
+#include <sal/log.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <memory>
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index ecb36ecaf28a..1120643ba3bc 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -39,6 +39,7 @@
#include <osl/module.hxx>
#include <osl/file.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
#ifdef _WIN32
#include <objbase.h>
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index b8eda1da01c6..32f3b4875423 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
diff --git a/extensions/source/update/feed/test/updatefeedtest.cxx b/extensions/source/update/feed/test/updatefeedtest.cxx
index d3194c6a68d0..e443cd1a9473 100644
--- a/extensions/source/update/feed/test/updatefeedtest.cxx
+++ b/extensions/source/update/feed/test/updatefeedtest.cxx
@@ -28,6 +28,7 @@
#include <sal/main.h>
#include <osl/process.h>
+#include <sal/log.hxx>
#include <stdio.h>
namespace deployment = ::com::sun::star::deployment;