[Libreoffice-commits] core.git: avmedia/source basebmp/source binaryurp/source bridges/source comphelper/source configmgr/source cppuhelper/source cppu/source dbaccess/source desktop/inc desktop/source extensions/source fpicker/source framework/inc i18npool/source i18nutil/source include/oox include/svl include/svx include/unotools include/vcl jvmfwk/plugins opencl/source registry/source rsc/source sal/osl sal/textenc sax/source sfx2/source sot/source starmath/inc stoc/source stoc/test store/source svl/source sw/inc sw/source tools/source ucbhelper/source unoidl/source unotools/source vcl/inc xmlscript/source

Stephan Bergmann sbergman at redhat.com
Wed Apr 22 01:03:12 PDT 2015


 avmedia/source/vlc/wrapper/SymbolLoader.hxx                   |    1 +
 basebmp/source/bitmapdevice.cxx                               |    1 +
 binaryurp/source/bridgefactory.cxx                            |    1 +
 binaryurp/source/reader.cxx                                   |    1 +
 bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx         |    1 +
 bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx          |    1 +
 bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx          |    1 +
 bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx             |    1 +
 bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx            |    1 +
 bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx            |    1 +
 bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx            |    1 +
 bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx            |    1 +
 bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx         |    1 +
 bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx       |    1 +
 bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx            |    1 +
 bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx          |    1 +
 bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx             |    1 +
 bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx         |    1 +
 bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx         |    1 +
 bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx         |    1 +
 bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx                |    1 +
 bridges/source/cpp_uno/mingw_x86-64/cpp2uno.cxx               |    1 +
 bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx           |    1 +
 bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx          |    1 +
 bridges/source/jni_uno/jni_base.h                             |    1 +
 comphelper/source/container/embeddedobjectcontainer.cxx       |    2 ++
 comphelper/source/misc/configuration.cxx                      |    1 +
 comphelper/source/misc/namedvaluecollection.cxx               |    1 +
 comphelper/source/misc/synchronousdispatch.cxx                |    3 +--
 comphelper/source/property/ChainablePropertySetInfo.cxx       |    1 +
 comphelper/source/property/MasterPropertySetInfo.cxx          |    1 +
 configmgr/source/access.cxx                                   |    1 +
 configmgr/source/parsemanager.cxx                             |    1 +
 configmgr/source/winreg.cxx                                   |    1 +
 cppu/source/LogBridge/LogBridge.cxx                           |    1 +
 cppu/source/UnsafeBridge/UnsafeBridge.cxx                     |    1 +
 cppu/source/uno/data.cxx                                      |    1 +
 cppu/source/uno/lbmap.cxx                                     |    1 +
 cppuhelper/source/component_context.cxx                       |    1 +
 cppuhelper/source/implbase_ex.cxx                             |    1 +
 cppuhelper/source/propshlp.cxx                                |    1 +
 cppuhelper/source/shlib.cxx                                   |    1 +
 cppuhelper/source/typemanager.cxx                             |    1 +
 dbaccess/source/ui/inc/directsql.hxx                          |    3 +++
 desktop/inc/app.hxx                                           |    1 +
 desktop/source/app/app.cxx                                    |    1 +
 desktop/source/app/appinit.cxx                                |    1 +
 desktop/source/app/check_ext_deps.cxx                         |    1 +
 desktop/source/app/dispatchwatcher.cxx                        |    2 ++
 desktop/source/app/officeipcthread.cxx                        |    1 +
 desktop/source/app/sofficemain.cxx                            |    1 +
 desktop/source/deployment/manager/dp_informationprovider.cxx  |    1 +
 desktop/source/deployment/manager/dp_manager.cxx              |    1 +
 desktop/source/deployment/misc/dp_misc.cxx                    |    1 +
 desktop/source/deployment/registry/component/dp_component.cxx |    1 +
 desktop/source/deployment/registry/dp_backend.cxx             |    1 +
 desktop/source/deployment/registry/package/dp_package.cxx     |    1 +
 desktop/source/lib/init.cxx                                   |    1 +
 desktop/source/migration/migration.cxx                        |    1 +
 desktop/source/migration/services/oo3extensionmigration.cxx   |    1 +
 desktop/source/offacc/acceptor.cxx                            |    1 +
 desktop/source/splash/splash.cxx                              |    1 +
 extensions/source/bibliography/datman.cxx                     |    1 +
 extensions/source/dbpilots/gridwizard.cxx                     |    1 +
 extensions/source/ole/olethread.cxx                           |    1 +
 extensions/source/plugin/base/xplugin.cxx                     |    1 +
 extensions/source/plugin/unx/npnapi.cxx                       |    1 +
 extensions/source/plugin/unx/nppapi.cxx                       |    1 +
 extensions/source/plugin/unx/npwrap.cxx                       |    1 +
 extensions/source/plugin/unx/plugcon.cxx                      |    2 ++
 extensions/source/plugin/unx/sysplug.cxx                      |    1 +
 extensions/source/plugin/win/sysplug.cxx                      |    2 ++
 extensions/source/propctrlr/formlinkdialog.cxx                |    1 +
 extensions/source/scanner/sane.cxx                            |    1 +
 extensions/source/update/feed/updatefeed.cxx                  |    1 +
 fpicker/source/win32/folderpicker/MtaFop.hxx                  |    3 +++
 framework/inc/classes/checkediterator.hxx                     |    3 +++
 i18npool/source/calendar/calendar_gregorian.cxx               |    1 +
 i18npool/source/localedata/localedata.cxx                     |    1 +
 i18npool/source/ordinalsuffix/ordinalsuffix.cxx               |    1 +
 i18npool/source/search/textsearch.cxx                         |    1 +
 i18nutil/source/utility/unicode.cxx                           |    1 +
 include/oox/token/tokenmap.hxx                                |    1 +
 include/svl/filerec.hxx                                       |    3 +++
 include/svx/svdtrans.hxx                                      |    1 +
 include/unotools/digitgroupingiterator.hxx                    |    1 +
 include/vcl/builder.hxx                                       |    1 +
 jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h               |    1 +
 opencl/source/openclconfig.cxx                                |    1 +
 opencl/source/openclwrapper.cxx                               |    1 +
 registry/source/keyimpl.cxx                                   |    1 +
 registry/source/reflread.cxx                                  |    1 +
 rsc/source/tools/rsctools.cxx                                 |    1 +
 sal/osl/unx/file_path_helper.cxx                              |    1 +
 sal/osl/unx/process_impl.cxx                                  |    1 +
 sal/textenc/textenc.cxx                                       |    1 +
 sax/source/expatwrap/sax_expat.cxx                            |    1 +
 sax/source/fastparser/fastparser.cxx                          |    1 +
 sax/source/tools/converter.cxx                                |    1 +
 sax/source/tools/fastserializer.cxx                           |    1 +
 sfx2/source/inc/sfxtypes.hxx                                  |    3 +++
 sot/source/sdstor/stgdir.cxx                                  |    1 +
 starmath/inc/caret.hxx                                        |    4 ++++
 starmath/inc/rect.hxx                                         |    1 +
 starmath/inc/utility.hxx                                      |    3 +++
 starmath/inc/visitors.hxx                                     |    4 ++++
 stoc/source/inspect/introspection.cxx                         |    1 +
 stoc/source/invocation_adapterfactory/iafactory.cxx           |    1 +
 stoc/source/javaloader/javaloader.cxx                         |    1 +
 stoc/test/testcorefl.cxx                                      |    3 +++
 store/source/lockbyte.cxx                                     |    1 +
 svl/source/filerec/filerec.cxx                                |    3 +++
 svl/source/items/grabbagitem.cxx                              |    3 +++
 svl/source/items/itempool.cxx                                 |    1 +
 svl/source/items/itemset.cxx                                  |    1 +
 svl/source/items/macitem.cxx                                  |    3 +++
 svl/source/items/rngitem.cxx                                  |    3 +++
 svl/source/items/srchitem.cxx                                 |    3 +++
 svl/source/items/style.cxx                                    |    1 +
 svl/source/numbers/zforfind.cxx                               |    1 +
 svl/source/numbers/zforlist.cxx                               |    3 +++
 svl/source/numbers/zformat.cxx                                |    1 +
 svl/source/numbers/zforscan.cxx                               |    1 +
 svl/source/undo/undo.cxx                                      |    1 +
 sw/inc/PostItMgr.hxx                                          |    1 +
 sw/inc/authfld.hxx                                            |    1 +
 sw/inc/tox.hxx                                                |    1 +
 sw/inc/unobaseclass.hxx                                       |    1 +
 sw/source/core/text/inftxt.hxx                                |    1 +
 tools/source/datetime/ttime.cxx                               |    3 ++-
 tools/source/fsys/urlobj.cxx                                  |    1 +
 tools/source/generic/color.cxx                                |    3 +++
 tools/source/generic/config.cxx                               |    1 +
 tools/source/generic/fract.cxx                                |    1 +
 tools/source/generic/gen.cxx                                  |    4 ++++
 tools/source/generic/poly.cxx                                 |    1 +
 tools/source/generic/poly2.cxx                                |    1 +
 tools/source/inet/inetstrm.cxx                                |    1 +
 tools/source/stream/stream.cxx                                |    1 +
 tools/source/stream/strmunx.cxx                               |    1 +
 ucbhelper/source/client/content.cxx                           |    1 +
 ucbhelper/source/provider/fd_inputstream.cxx                  |    1 +
 ucbhelper/source/provider/std_inputstream.cxx                 |    4 ++++
 ucbhelper/source/provider/std_outputstream.cxx                |    4 ++++
 unoidl/source/sourceprovider-parser.y                         |    1 +
 unotools/source/config/bootstrap.cxx                          |    1 +
 unotools/source/config/cmdoptions.cxx                         |    3 +++
 unotools/source/config/configitem.cxx                         |    3 +++
 unotools/source/config/configvaluecontainer.cxx               |    3 +++
 unotools/source/config/defaultoptions.cxx                     |    3 +++
 unotools/source/config/dynamicmenuoptions.cxx                 |    3 +++
 unotools/source/config/extendedsecurityoptions.cxx            |    3 +++
 unotools/source/config/historyoptions.cxx                     |    1 +
 unotools/source/config/lingucfg.cxx                           |    1 +
 unotools/source/config/pathoptions.cxx                        |    3 +++
 unotools/source/config/saveopt.cxx                            |    3 +++
 unotools/source/config/syslocaleoptions.cxx                   |    1 +
 unotools/source/config/useroptions.cxx                        |    3 +++
 unotools/source/i18n/calendarwrapper.cxx                      |    1 +
 unotools/source/i18n/charclass.cxx                            |    1 +
 unotools/source/i18n/collatorwrapper.cxx                      |    3 +++
 unotools/source/i18n/localedatawrapper.cxx                    |    1 +
 unotools/source/i18n/nativenumberwrapper.cxx                  |    3 +++
 unotools/source/i18n/numberformatcodewrapper.cxx              |    3 +++
 unotools/source/i18n/textsearch.cxx                           |    1 +
 unotools/source/i18n/transliterationwrapper.cxx               |    3 +++
 unotools/source/misc/fontcvt.cxx                              |    3 +++
 unotools/source/misc/mediadescriptor.cxx                      |    1 +
 unotools/source/misc/syslocale.cxx                            |    3 +++
 unotools/source/ucbhelper/localfilehelper.cxx                 |    1 +
 vcl/inc/outfont.hxx                                           |    1 +
 vcl/inc/sallayout.hxx                                         |    1 +
 xmlscript/source/xml_helper/xml_impctx.cxx                    |    2 ++
 xmlscript/source/xmldlg_imexp/xmldlg_export.cxx               |    1 +
 xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx            |    1 +
 xmlscript/source/xmldlg_imexp/xmldlg_import.cxx               |    1 +
 xmlscript/source/xmlflat_imexp/xmlbas_export.cxx              |    1 +
 xmlscript/source/xmlflat_imexp/xmlbas_import.cxx              |    1 +
 xmlscript/source/xmllib_imexp/xmllib_import.cxx               |    4 ++++
 xmlscript/source/xmlmod_imexp/xmlmod_import.cxx               |    4 ++++
 187 files changed, 272 insertions(+), 3 deletions(-)

New commits:
commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 22 09:42:28 2015 +0200

    Various #include <sal/log.hxx> fixups
    
    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.  Cleaned up some, but something like
    
      grep -FwL sal/log.hxx $(git grep -Elw \
        'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx)
    
    shows lots more files that potentially need fixing before the include can be
    removed from rtl/string.hxx and rtl/ustring.hxx.
    
    Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90

diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
index dce28f6..a3c2aa3 100644
--- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx
+++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
@@ -15,6 +15,7 @@
 #endif
 #include <osl/module.h>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 
 #define SYM_MAP(a) { #a, reinterpret_cast<SymbolFunc *>(&a) }
 
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index e9bdf9c..04d4892 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -52,6 +52,7 @@
 #include "intconversion.hxx"
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 
 #include <basegfx/tools/tools.hxx>
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index c9d0a04..8f079f0 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -33,6 +33,7 @@
 #include "cppuhelper/implementationentry.hxx"
 #include <cppuhelper/supportsservice.hxx>
 #include "rtl/ref.hxx"
+#include "sal/log.hxx"
 #include "sal/types.h"
 
 #include "bridge.hxx"
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index 99ad7c4..4c0ba37 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -37,6 +37,7 @@
 #include "cppu/unotype.hxx"
 #include "rtl/byteseq.h"
 #include "rtl/ustring.hxx"
+#include "sal/log.hxx"
 #include "sal/types.h"
 #include "typelib/typeclass.h"
 #include "typelib/typedescription.h"
diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
index 8fb27d2..af45838 100644
--- a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
index a5757ae..9bd110a 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
@@ -35,6 +35,7 @@
 // future unification easier.
 
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
index ee9fb30..98ac517 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm64.cxx
@@ -28,6 +28,7 @@
 // full of copy/paste. So I continue in that tradition...
 
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
index e10a444..5eb4141 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
@@ -31,6 +31,7 @@
 // copy/paste. So I continue in that tradition...
 
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
index 29db017..718bc98 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
@@ -29,6 +29,7 @@
 // as possible, to make future unification easier.
 
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 
 #include "bridges/cpp_uno/shared/bridge.hxx"
 #include "bridges/cpp_uno/shared/types.hxx"
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
index 0231c46..54af31e 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
@@ -24,6 +24,7 @@
 // changes.
 
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 
 #include "bridges/cpp_uno/shared/bridge.hxx"
 #include "bridges/cpp_uno/shared/types.hxx"
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
index e95a7b0..f132d7e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx
@@ -19,6 +19,7 @@
 
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
index 0c77697..c7b5fd9 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx
@@ -20,6 +20,7 @@
 #include <malloc.h>
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 
 #include <com/sun/star/uno/genfunc.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
index c664f28..d20cc0b 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx
@@ -24,6 +24,7 @@
 
 #include <com/sun/star/uno/genfunc.hxx>
 #include "com/sun/star/uno/RuntimeException.hpp"
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
index 6efcd06..ec333fd 100644
--- a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx
@@ -19,6 +19,7 @@
 
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
index 88fc904..7078412 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx
@@ -20,6 +20,7 @@
 
 #include <com/sun/star/uno/genfunc.hxx>
 #include "com/sun/star/uno/RuntimeException.hpp"
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
index 18efddb..d961a38 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx
@@ -20,6 +20,7 @@
 #include <malloc.h>
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 
 #include <com/sun/star/uno/genfunc.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
index bba1ce6..167b4ad 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <typelib/typedescription.hxx>
 #include <uno/data.h>
 #include <osl/endian.h>
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
index b49cab4..69a590c 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx
@@ -21,6 +21,7 @@
 #include <string.h>
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
index f2e5174..0748d24 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
@@ -19,6 +19,7 @@
 
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 #include <osl/endian.h>
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
index b0f4f7e..a14021e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx
@@ -19,6 +19,7 @@
 
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
index b21d4f9..82fd472 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx
@@ -19,6 +19,7 @@
 
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
index fb475cf..93b10de 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <typelib/typedescription.hxx>
 #include <uno/data.h>
 #include "bridges/cpp_uno/shared/bridge.hxx"
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 5151cc5..735bb97 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 
 #include <com/sun/star/uno/genfunc.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
index 08cd765..575e432 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
@@ -31,6 +31,7 @@
 #include <rtl/instance.hxx>
 #include <rtl/strbuf.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <typelib/typedescription.h>
 
 #include <rtti.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
index 22e38bc..f08e9a7 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 
 #include <com/sun/star/uno/genfunc.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
index 5ef0fdc..aee85cc 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx
@@ -23,6 +23,7 @@
 
 #include <com/sun/star/uno/genfunc.hxx>
 #include "com/sun/star/uno/RuntimeException.hpp"
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
index f5fe6e7..8742b72 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <typelib/typedescription.hxx>
 #include <uno/data.h>
 #include "bridges/cpp_uno/shared/bridge.hxx"
diff --git a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
index 0d376e6..abe666f 100644
--- a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx
@@ -23,6 +23,7 @@
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 #include <sal/alloca.h>
+#include <sal/log.hxx>
 
 #include "bridges/cpp_uno/shared/bridge.hxx"
 #include "bridges/cpp_uno/shared/cppinterfaceproxy.hxx"
diff --git a/bridges/source/cpp_uno/mingw_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/mingw_x86-64/cpp2uno.cxx
index dcbf8fe..08c7b7b 100644
--- a/bridges/source/cpp_uno/mingw_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/mingw_x86-64/cpp2uno.cxx
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 
 #include <com/sun/star/uno/genfunc.hxx>
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
index 78d4bcc..58e4d64 100644
--- a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
@@ -21,6 +21,7 @@
 #include <malloc.h>
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index 1cd29f7..d7f534d 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -21,6 +21,7 @@
 #include <malloc.h>
 
 #include <com/sun/star/uno/genfunc.hxx>
+#include <sal/log.hxx>
 #include <uno/data.h>
 #include <typelib/typedescription.hxx>
 
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index 1663eea..2b856aa 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -31,6 +31,7 @@
 
 #include "rtl/alloc.h"
 #include "rtl/ustring.hxx"
+#include "sal/log.hxx"
 
 #include "uno/environment.h"
 #include "typelib/typedescription.h"
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 1f3f61b..10a7551 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -42,6 +42,8 @@
 #include <comphelper/sequence.hxx>
 #include <comphelper/propertysequence.hxx>
 #include <cppuhelper/weakref.hxx>
+#include <sal/log.hxx>
+
 #include <algorithm>
 #include <unordered_map>
 
diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx
index ed28d0f..b01bdae 100644
--- a/comphelper/source/misc/configuration.cxx
+++ b/comphelper/source/misc/configuration.cxx
@@ -30,6 +30,7 @@
 #include <rtl/instance.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
 namespace {
diff --git a/comphelper/source/misc/namedvaluecollection.cxx b/comphelper/source/misc/namedvaluecollection.cxx
index e382235..a5670f0 100644
--- a/comphelper/source/misc/namedvaluecollection.cxx
+++ b/comphelper/source/misc/namedvaluecollection.cxx
@@ -25,6 +25,7 @@
 
 #include <rtl/ustrbuf.hxx>
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 
 #include <algorithm>
 #include <functional>
diff --git a/comphelper/source/misc/synchronousdispatch.cxx b/comphelper/source/misc/synchronousdispatch.cxx
index 2bd6d26..9c73ebbc 100644
--- a/comphelper/source/misc/synchronousdispatch.cxx
+++ b/comphelper/source/misc/synchronousdispatch.cxx
@@ -26,8 +26,7 @@
 
 #include <comphelper/synchronousdispatch.hxx>
 #include <comphelper/processfactory.hxx>
-
-
+#include <sal/log.hxx>
 
 namespace comphelper
 {
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index 23a8ae2..4f7868d 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <comphelper/ChainablePropertySetInfo.hxx>
+#include <sal/log.hxx>
 
 using ::comphelper::PropertyInfo;
 using ::comphelper::ChainablePropertySetInfo;
diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx
index afbd849..43f0dcc 100644
--- a/comphelper/source/property/MasterPropertySetInfo.cxx
+++ b/comphelper/source/property/MasterPropertySetInfo.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <comphelper/MasterPropertySetInfo.hxx>
+#include <sal/log.hxx>
 
 using ::comphelper::PropertyInfo;
 using ::comphelper::MasterPropertySetInfo;
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index a97a682..41d86e7 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -80,6 +80,7 @@
 #include <rtl/ustrbuf.hxx>
 #include <rtl/ustring.h>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <sal/types.h>
 
 #include "access.hxx"
diff --git a/configmgr/source/parsemanager.cxx b/configmgr/source/parsemanager.cxx
index dab0c49..48ec737 100644
--- a/configmgr/source/parsemanager.cxx
+++ b/configmgr/source/parsemanager.cxx
@@ -24,6 +24,7 @@
 
 #include <com/sun/star/container/NoSuchElementException.hpp>
 #include <com/sun/star/uno/RuntimeException.hpp>
+#include <sal/log.hxx>
 #include <sal/types.h>
 #include <xmlreader/span.hxx>
 #include <xmlreader/xmlreader.hxx>
diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx
index 7d4e9e9..a5723d7 100644
--- a/configmgr/source/winreg.cxx
+++ b/configmgr/source/winreg.cxx
@@ -25,6 +25,7 @@
 #include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/uno/XInterface.hpp>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <osl/file.h>
 #include <osl/file.hxx>
 #include "winreg.hxx"
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx
index 2948d9b..f79bedc 100644
--- a/cppu/source/LogBridge/LogBridge.cxx
+++ b/cppu/source/LogBridge/LogBridge.cxx
@@ -30,6 +30,7 @@
 #include "cppu/EnvDcp.hxx"
 #include "uno/environment.hxx"
 #include <com/sun/star/uno/Type.hxx>
+#include <sal/log.hxx>
 
 namespace
 {
diff --git a/cppu/source/UnsafeBridge/UnsafeBridge.cxx b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
index 533ff93b..a2e9887 100644
--- a/cppu/source/UnsafeBridge/UnsafeBridge.cxx
+++ b/cppu/source/UnsafeBridge/UnsafeBridge.cxx
@@ -21,6 +21,7 @@
 #include "osl/mutex.hxx"
 #include "osl/thread.h"
 #include "osl/thread.hxx"
+#include "sal/log.hxx"
 
 #include <cppu/Enterable.hxx>
 #include "cppu/helper/purpenv/Environment.hxx"
diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx
index 2f027f0..9ae1115 100644
--- a/cppu/source/uno/data.cxx
+++ b/cppu/source/uno/data.cxx
@@ -23,6 +23,7 @@
 
 #include "cppu/macros.hxx"
 #include "osl/mutex.hxx"
+#include "sal/log.hxx"
 #include "uno/data.h"
 
 #include "constr.hxx"
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index f4cc581..7da528c 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -32,6 +32,7 @@
 #include "osl/diagnose.h"
 #include "osl/mutex.hxx"
 #include "osl/interlck.h"
+#include "sal/log.hxx"
 
 #include "uno/dispatcher.h"
 #include "uno/mapping.h"
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index f44bac2..7451daf 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -35,6 +35,7 @@
 #include <osl/mutex.hxx>
 
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 #include <uno/lbnames.h>
 #include <uno/mapping.hxx>
diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx
index 4d9e04f..ca5e173 100644
--- a/cppuhelper/source/implbase_ex.cxx
+++ b/cppuhelper/source/implbase_ex.cxx
@@ -24,6 +24,7 @@
 #include <rtl/byteseq.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/uuid.h>
+#include <sal/log.hxx>
 #include <cppuhelper/compbase_ex.hxx>
 
 #include <com/sun/star/uno/RuntimeException.hpp>
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 42fdfca..bdeb5f2 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -27,6 +27,7 @@
 #include <com/sun/star/beans/PropertyAttribute.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
 #include <boost/scoped_array.hpp>
+#include <sal/log.hxx>
 
 using namespace osl;
 using namespace com::sun::star::uno;
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 8868d59..dc0c214 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -27,6 +27,7 @@
 #include <cppuhelper/factory.hxx>
 #include <cppuhelper/shlib.hxx>
 #include <osl/module.hxx>
+#include <sal/log.hxx>
 #include <uno/environment.hxx>
 #include <uno/mapping.hxx>
 
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 84c749b..2e32c5b 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -52,6 +52,7 @@
 #include <rtl/ref.hxx>
 #include <rtl/string.h>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <sal/macros.h>
 #include <sal/types.h>
 
diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx
index d27de6c..401b46d 100644
--- a/dbaccess/source/ui/inc/directsql.hxx
+++ b/dbaccess/source/ui/inc/directsql.hxx
@@ -20,6 +20,9 @@
 #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_DIRECTSQL_HXX
 #define INCLUDED_DBACCESS_SOURCE_UI_INC_DIRECTSQL_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <vcl/dialog.hxx>
 #include <svtools/editsyntaxhighlighter.hxx>
 #include <vcl/fixed.hxx>
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 4a98c6e..d5d184d 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -23,6 +23,7 @@
 #include <boost/optional.hpp>
 #include <boost/scoped_ptr.hpp>
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <sal/log.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/timer.hxx>
 #include <tools/resmgr.hxx>
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index d0e5324..f0c5d80 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -75,6 +75,7 @@
 #include <com/sun/star/frame/thePopupMenuControllerFactory.hpp>
 #include <com/sun/star/office/Quickstart.hpp>
 
+#include <sal/log.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
 #include <comphelper/configuration.hxx>
 #include <comphelper/processfactory.hxx>
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index c0f5a2b..d510578 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -43,6 +43,7 @@
 #include <rtl/uri.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 
 #include <tools/rcid.h>
 
diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx
index 8145db1..ab40ec8 100644
--- a/desktop/source/app/check_ext_deps.cxx
+++ b/desktop/source/app/check_ext_deps.cxx
@@ -25,6 +25,7 @@
 
 #include <rtl/bootstrap.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <cppuhelper/compbase3.hxx>
 
 #include <vcl/wrkwin.hxx>
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index b971335..fddfb42 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -17,7 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
 
+#include <sal/log.hxx>
 #include <sfx2/docfile.hxx>
 #include <sfx2/docfilt.hxx>
 #include <sfx2/fcontnr.hxx>
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 1a3cc9f..b3e5330 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -27,6 +27,7 @@
 #include <boost/scoped_ptr.hpp>
 #include <stdio.h>
 #include <osl/process.h>
+#include <sal/log.hxx>
 #include <unotools/bootstrap.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/help.hxx>
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index dea30fd..25da9d8 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -28,6 +28,7 @@
 
 #include <osl/file.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 #include <tools/extendapplicationenvironment.hxx>
 #include <vcl/svmain.hxx>
 
diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx
index 7ff3e91..be26372 100644
--- a/desktop/source/deployment/manager/dp_informationprovider.cxx
+++ b/desktop/source/deployment/manager/dp_informationprovider.cxx
@@ -35,6 +35,7 @@
 
 #include <com/sun/star/uno/Reference.hxx>
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include <rtl/ustring.hxx>
 #include <ucbhelper/content.hxx>
 
diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx
index 8164dd0..3ddc5f8 100644
--- a/desktop/source/deployment/manager/dp_manager.cxx
+++ b/desktop/source/deployment/manager/dp_manager.cxx
@@ -29,6 +29,7 @@
 #include <rtl/string.hxx>
 #include <rtl/uri.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 #include <osl/file.hxx>
 #include <osl/security.hxx>
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index c5b4eec..bae1859 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -27,6 +27,7 @@
 #include <rtl/digest.h>
 #include <rtl/random.h>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 #include <unotools/bootstrap.hxx>
 #include <osl/file.hxx>
 #include <osl/pipe.hxx>
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index d859d04..670994b 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -26,6 +26,7 @@
 #include <rtl/strbuf.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/uri.hxx>
+#include <sal/log.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 #include <ucbhelper/content.hxx>
 #include <comphelper/anytostring.hxx>
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx
index 516aca9..3627a9d 100644
--- a/desktop/source/deployment/registry/dp_backend.cxx
+++ b/desktop/source/deployment/registry/dp_backend.cxx
@@ -26,6 +26,7 @@
 #include <rtl/ustring.hxx>
 #include <rtl/uri.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 #include <osl/file.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 #include <comphelper/servicedecl.hxx>
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx
index a3903d2..b37b1fd 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -28,6 +28,7 @@
 #include "dp_descriptioninfoset.hxx"
 #include "dp_identifier.hxx"
 #include <rtl/uri.hxx>
+#include <sal/log.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 #include <cppuhelper/implbase1.hxx>
 #include <cppuhelper/supportsservice.hxx>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0651480..a1162df 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -20,6 +20,7 @@
 #include <LibreOfficeKit/LibreOfficeKit.h>
 #include <LibreOfficeKit/LibreOfficeKitEnums.h>
 
+#include <sal/log.hxx>
 #include <tools/errinf.hxx>
 #include <osl/file.hxx>
 #include <osl/process.h>
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 93ebeb1..74f6174 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -28,6 +28,7 @@
 #include "migration.hxx"
 #include "migration_impl.hxx"
 
+#include <sal/log.hxx>
 #include <unotools/textsearch.hxx>
 #include <comphelper/processfactory.hxx>
 #include <comphelper/sequence.hxx>
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index 3ace946..ef82a5b 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -20,6 +20,7 @@
 
 #include "oo3extensionmigration.hxx"
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 #include <osl/file.hxx>
 #include <osl/thread.h>
 #include <tools/urlobj.hxx>
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index f60eacc..a7491b8e 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -26,6 +26,7 @@
 #include <comphelper/processfactory.hxx>
 #include <cppuhelper/factory.hxx>
 #include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
 
 using namespace css::bridge;
 using namespace css::connection;
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index f230372..2cfba71 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -20,6 +20,7 @@
 
 #include "splash.hxx"
 #include <stdio.h>
+#include <sal/log.hxx>
 #include <unotools/bootstrap.hxx>
 #include <tools/stream.hxx>
 #include <vcl/svapp.hxx>
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 74715bc..257d08d 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <osl/mutex.hxx>
+#include <sal/log.hxx>
 #include <tools/diagnose_ex.h>
 #include <comphelper/processfactory.hxx>
 #include <com/sun/star/io/XPersistObject.hpp>
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index 0c68df8..882847b 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -27,6 +27,7 @@
 #include <com/sun/star/form/XGridColumnFactory.hpp>
 #include <com/sun/star/awt/MouseWheelBehavior.hpp>
 #include <com/sun/star/container/XNameContainer.hpp>
+#include <sal/log.hxx>
 #include <tools/debug.hxx>
 #include "dbptools.hxx"
 #include "dbpilots.hrc"
diff --git a/extensions/source/ole/olethread.cxx b/extensions/source/ole/olethread.cxx
index 4fa8f58..99d3a33 100644
--- a/extensions/source/ole/olethread.cxx
+++ b/extensions/source/ole/olethread.cxx
@@ -20,6 +20,7 @@
 #include "ole2uno.hxx"
 
 #include <osl/thread.hxx>
+#include <sal/log.hxx>
 
 using namespace std;
 
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index 834b52e..9933739 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -45,6 +45,7 @@
 #include <cppuhelper/queryinterface.hxx>
 #include <comphelper/processfactory.hxx>
 #include <plugin/impl.hxx>
+#include <sal/log.hxx>
 #include <ucbhelper/content.hxx>
 #include <tools/urlobj.hxx>
 #include <vcl/svapp.hxx>
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx
index 16329c9..c56f37b 100644
--- a/extensions/source/plugin/unx/npnapi.cxx
+++ b/extensions/source/plugin/unx/npnapi.cxx
@@ -39,6 +39,7 @@
 #include <dlfcn.h>
 
 #include <osl/module.h>
+#include <sal/log.hxx>
 
 #include <config_vclplug.h>
 
diff --git a/extensions/source/plugin/unx/nppapi.cxx b/extensions/source/plugin/unx/nppapi.cxx
index 6197fcf..d755df1 100644
--- a/extensions/source/plugin/unx/nppapi.cxx
+++ b/extensions/source/plugin/unx/nppapi.cxx
@@ -35,6 +35,7 @@
 
 #include <cstdarg>
 
+#include <sal/log.hxx>
 #include <vcl/svapp.hxx>
 
 #include <plugin/unx/plugcon.hxx>
diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx
index 6f4b58b..cec4fe7 100644
--- a/extensions/source/plugin/unx/npwrap.cxx
+++ b/extensions/source/plugin/unx/npwrap.cxx
@@ -42,6 +42,7 @@
 
 #include <osl/file.h>
 #include <osl/module.h>
+#include <sal/log.hxx>
 
 #include <config_vclplug.h>
 
diff --git a/extensions/source/plugin/unx/plugcon.cxx b/extensions/source/plugin/unx/plugcon.cxx
index c54f7f2..fe0bd5d 100644
--- a/extensions/source/plugin/unx/plugcon.cxx
+++ b/extensions/source/plugin/unx/plugcon.cxx
@@ -33,6 +33,8 @@
 #undef _LINUX_SOURCE_COMPAT
 #endif
 
+#include <sal/log.hxx>
+
 #include <plugin/unx/plugcon.hxx>
 
 #include <cstdarg>
diff --git a/extensions/source/plugin/unx/sysplug.cxx b/extensions/source/plugin/unx/sysplug.cxx
index b19c017..e8a1af9 100644
--- a/extensions/source/plugin/unx/sysplug.cxx
+++ b/extensions/source/plugin/unx/sysplug.cxx
@@ -40,6 +40,7 @@
 #include <osl/file.hxx>
 #include <osl/thread.h>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 
 #include <plugin/impl.hxx>
 
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx
index 7d94acf..d34c800 100644
--- a/extensions/source/plugin/win/sysplug.cxx
+++ b/extensions/source/plugin/win/sysplug.cxx
@@ -30,6 +30,8 @@
 #include <prewin.h>
 #include <postwin.h>
 
+#include <sal/log.hxx>
+
 #include <plugin/impl.hxx>
 
 #if defined _MSC_VER
diff --git a/extensions/source/propctrlr/formlinkdialog.cxx b/extensions/source/propctrlr/formlinkdialog.cxx
index c7fda6b..81716b2 100644
--- a/extensions/source/propctrlr/formlinkdialog.cxx
+++ b/extensions/source/propctrlr/formlinkdialog.cxx
@@ -23,6 +23,7 @@
 #include "modulepcr.hxx"
 #include "formresid.hrc"
 #include "formstrings.hxx"
+#include <sal/log.hxx>
 #include <vcl/combobox.hxx>
 #include <vcl/msgbox.hxx>
 #include <vcl/waitobj.hxx>
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index fe150b9..023aa85 100644
--- a/extensions/source/scanner/sane.cxx
+++ b/extensions/source/scanner/sane.cxx
@@ -20,6 +20,7 @@
 #include <cstdarg>
 #include <math.h>
 #include <osl/file.h>
+#include <sal/log.hxx>
 #include <tools/stream.hxx>
 #include <unotools/tempfile.hxx>
 #include <sane.hxx>
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 61f0761..c04ed46 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -51,6 +51,7 @@
 #include <rtl/ref.hxx>
 #include <rtl/bootstrap.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 #include <osl/process.h>
 #include <osl/conditn.hxx>
diff --git a/fpicker/source/win32/folderpicker/MtaFop.hxx b/fpicker/source/win32/folderpicker/MtaFop.hxx
index 4e2fb2c..62a01df 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.hxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.hxx
@@ -20,6 +20,9 @@
 #ifndef INCLUDED_FPICKER_SOURCE_WIN32_FOLDERPICKER_MTAFOP_HXX
 #define INCLUDED_FPICKER_SOURCE_WIN32_FOLDERPICKER_MTAFOP_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <sal/types.h>
 #include <rtl/ustring.hxx>
 #include <osl/diagnose.h>
diff --git a/framework/inc/classes/checkediterator.hxx b/framework/inc/classes/checkediterator.hxx
index 727624e..6e82ed7 100644
--- a/framework/inc/classes/checkediterator.hxx
+++ b/framework/inc/classes/checkediterator.hxx
@@ -20,6 +20,9 @@
 #ifndef INCLUDED_FRAMEWORK_INC_CLASSES_CHECKEDITERATOR_HXX
 #define INCLUDED_FRAMEWORK_INC_CLASSES_CHECKEDITERATOR_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <sal/types.h>
 
 #include <iterator>
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index eb6331d..5b4a9b7 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -29,6 +29,7 @@
 #include <comphelper/processfactory.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 
 #include <stdio.h>
 #include <string.h>
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 54e7bb2..56d8fc8 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -22,6 +22,7 @@
 #include <i18nlangtag/mslangid.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 #include <string.h>
 #include <stdio.h>
diff --git a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
index 3f874c2..17546ef 100644
--- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
@@ -21,6 +21,7 @@
 #include <boost/scoped_ptr.hpp>
 #include <i18nlangtag/languagetag.hxx>
 #include <i18nlangtag/languagetagicu.hxx>
+#include <sal/log.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <string.h>
 #include "ordinalsuffix.hxx"
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 9c21735..b8005fb 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -35,6 +35,7 @@
 #include <cppuhelper/factory.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <cppuhelper/weak.hxx>
+#include <sal/log.hxx>
 
 #ifdef _MSC_VER
 // get rid of that dumb compiler warning
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index a3c953c..458a417 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -24,6 +24,7 @@
 #include <i18nlangtag/languagetag.hxx>
 #include <i18nlangtag/languagetagicu.hxx>
 #include <i18nutil/unicode.hxx>
+#include <sal/log.hxx>
 #include <unicode/numfmt.h>
 #include "unicode_data.h"
 
diff --git a/include/oox/token/tokenmap.hxx b/include/oox/token/tokenmap.hxx
index 50984e7..9de4ece 100644
--- a/include/oox/token/tokenmap.hxx
+++ b/include/oox/token/tokenmap.hxx
@@ -24,6 +24,7 @@
 #include <oox/token/tokens.hxx>
 #include <rtl/instance.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
 
 namespace oox {
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index 413e209..9dfc586 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -20,6 +20,9 @@
 #ifndef INCLUDED_SVL_FILEREC_HXX
 #define INCLUDED_SVL_FILEREC_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <svl/svldllapi.h>
 #include <tools/debug.hxx>
 #include <tools/stream.hxx>
diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx
index dd4945f..7ce7b8d 100644
--- a/include/svx/svdtrans.hxx
+++ b/include/svx/svdtrans.hxx
@@ -21,6 +21,7 @@
 #define INCLUDED_SVX_SVDTRANS_HXX
 
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <svx/svxdllapi.h>
 #include <tools/fract.hxx>
 #include <tools/gen.hxx>
diff --git a/include/unotools/digitgroupingiterator.hxx b/include/unotools/digitgroupingiterator.hxx
index c2ad320..5746b96 100644
--- a/include/unotools/digitgroupingiterator.hxx
+++ b/include/unotools/digitgroupingiterator.hxx
@@ -21,6 +21,7 @@
 #define INCLUDED_UNOTOOLS_DIGITGROUPINGITERATOR_HXX
 
 #include <com/sun/star/uno/Sequence.hxx>
+#include <sal/log.hxx>
 
 namespace utl {
 
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 179ca33..011d45e 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -12,6 +12,7 @@
 
 #include <typeinfo>
 #include <osl/module.hxx>
+#include <sal/log.hxx>
 #include <tools/resmgr.hxx>
 #include <tools/fldunit.hxx>
 #include <vcl/dllapi.h>
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h b/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h
index a536cad..59f8501 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h
+++ b/jvmfwk/plugins/sunmajor/pluginlib/diagnostics.h
@@ -23,6 +23,7 @@
 #include "sal/config.h"
 
 #include "rtl/ustring.hxx"
+#include <sal/log.hxx>
 
 #define JFW_ENSURE(c, m) SAL_WARN_IF(!(c), "jfw", m)
 
diff --git a/opencl/source/openclconfig.cxx b/opencl/source/openclconfig.cxx
index 085a33e..688dab1 100644
--- a/opencl/source/openclconfig.cxx
+++ b/opencl/source/openclconfig.cxx
@@ -15,6 +15,7 @@
 #include <opencl/openclconfig.hxx>
 #include <opencl/platforminfo.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <sal/types.h>
 
 OpenCLConfig::OpenCLConfig() :
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index ad3ead8..5574d2c 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -20,6 +20,7 @@
 #include <rtl/strbuf.hxx>
 #include <rtl/ustring.hxx>
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <boost/scoped_array.hpp>
 #include <unicode/regex.h>
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx
index 2df14b5..c5b3a1b 100644
--- a/registry/source/keyimpl.cxx
+++ b/registry/source/keyimpl.cxx
@@ -26,6 +26,7 @@
 #include "rtl/alloc.h"
 #include "rtl/ustrbuf.hxx"
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 
 using namespace store;
 
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index fe09dda..346fce0 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -28,6 +28,7 @@
 #include <osl/endian.h>
 #include <osl/diagnose.h>
 #include <registry/reflread.hxx>
+#include <sal/log.hxx>
 
 #include "registry/typereg_reader.hxx"
 #include "registry/version.h"
diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx
index 7b25510..5a486e0 100644
--- a/rsc/source/tools/rsctools.cxx
+++ b/rsc/source/tools/rsctools.cxx
@@ -31,6 +31,7 @@
 
 #include <osl/file.h>
 #include <rtl/alloc.h>
+#include <sal/log.hxx>
 
 /* case insensitive compare of two strings up to a given length */
 int rsc_strnicmp( const char *string1, const char *string2, size_t count )
diff --git a/sal/osl/unx/file_path_helper.cxx b/sal/osl/unx/file_path_helper.cxx
index 1ccd9be..7f9e2fb 100644
--- a/sal/osl/unx/file_path_helper.cxx
+++ b/sal/osl/unx/file_path_helper.cxx
@@ -23,6 +23,7 @@
 #include <boost/noncopyable.hpp>
 #include <osl/diagnose.h>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 
 const sal_Unicode FPH_CHAR_PATH_SEPARATOR = (sal_Unicode)'/';
 const sal_Unicode FPH_CHAR_DOT            = (sal_Unicode)'.';
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 9a1ebd0..20cda83 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -30,6 +30,7 @@
 #include "osl/thread.h"
 #include "rtl/ustring.hxx"
 #include "rtl/strbuf.h"
+#include "sal/log.hxx"
 
 #include "file_path_helper.hxx"
 
diff --git a/sal/textenc/textenc.cxx b/sal/textenc/textenc.cxx
index 94fe67d..99b3dbb 100644
--- a/sal/textenc/textenc.cxx
+++ b/sal/textenc/textenc.cxx
@@ -33,6 +33,7 @@
 #include "rtl/textenc.h"
 #include "rtl/ustring.h"
 #include "rtl/ustring.hxx"
+#include "sal/log.hxx"
 #include "sal/macros.h"
 #include "sal/types.h"
 
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index aca68c0..bbf608f 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -37,6 +37,7 @@
 #include <cppuhelper/implbase3.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <rtl/ref.hxx>
+#include <sal/log.hxx>
 
 #include <expat.h>
 
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 8768281..f118a5d 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -34,6 +34,7 @@
 #include <osl/diagnose.h>
 #include <rtl/ref.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <salhelper/thread.hxx>
 
 #include <boost/optional.hpp>
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index e4d3c96..3ef609e 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -30,6 +30,7 @@
 
 #include <rtl/ustrbuf.hxx>
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 #include <osl/time.h>
 #include <osl/diagnose.h>
 
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 85c9694..10e7ab3 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -21,6 +21,7 @@
 
 #include <com/sun/star/xml/sax/FastTokenHandler.hpp>
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 #include <comphelper/processfactory.hxx>
 #include <comphelper/sequence.hxx>
 
diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx
index 3eaafa4..258f829 100644
--- a/sfx2/source/inc/sfxtypes.hxx
+++ b/sfx2/source/inc/sfxtypes.hxx
@@ -19,6 +19,9 @@
 #ifndef INCLUDED_SFX2_SOURCE_INC_SFXTYPES_HXX
 #define INCLUDED_SFX2_SOURCE_INC_SFXTYPES_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <tools/rc.hxx>
 #include <tools/rcid.h>
 #include <tools/resid.hxx>
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index 4aa8354..653e10a 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -28,6 +28,7 @@
 #include "stgio.hxx"
 
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 
 #include <boost/scoped_array.hpp>
 
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx
index 762df16..3872b16 100644
--- a/starmath/inc/caret.hxx
+++ b/starmath/inc/caret.hxx
@@ -9,6 +9,10 @@
 #ifndef INCLUDED_STARMATH_INC_CARET_HXX
 #define INCLUDED_STARMATH_INC_CARET_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "node.hxx"
 
 /** Representation of caret position with an equation */
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 480bb7c..074ae4c 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -23,6 +23,7 @@
 #include <new>
 
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <tools/gen.hxx>
 #include <vcl/outdev.hxx>
 #include <vcl/metric.hxx>
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index 304c10c..ccd83f7 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -19,6 +19,9 @@
 #ifndef INCLUDED_STARMATH_INC_UTILITY_HXX
 #define INCLUDED_STARMATH_INC_UTILITY_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <vcl/font.hxx>
 #include <vcl/fixed.hxx>
 #include <vcl/combobox.hxx>
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx
index 2544d95..adbab3b 100644
--- a/starmath/inc/visitors.hxx
+++ b/starmath/inc/visitors.hxx
@@ -9,6 +9,10 @@
 #ifndef INCLUDED_STARMATH_INC_VISITORS_HXX
 #define INCLUDED_STARMATH_INC_VISITORS_HXX
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "node.hxx"
 #include "caret.hxx"
 #include <memory>
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 67a6100..86b2a38 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -28,6 +28,7 @@
 #include <osl/diagnose.h>
 #include <osl/mutex.hxx>
 #include <osl/thread.h>
+#include <sal/log.hxx>
 #include <cppuhelper/basemutex.hxx>
 #include <cppuhelper/compbase2.hxx>
 #include <cppuhelper/queryinterface.hxx>
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 8bd1b3d..2894fb2 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -21,6 +21,7 @@
 #include <osl/diagnose.h>
 #include <osl/interlck.h>
 #include <osl/mutex.hxx>
+#include <sal/log.hxx>
 
 #include <uno/dispatcher.h>
 #include <uno/data.h>
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx
index 8c8a0a5..ea09b30 100644
--- a/stoc/source/javaloader/javaloader.cxx
+++ b/stoc/source/javaloader/javaloader.cxx
@@ -24,6 +24,7 @@
 
 #include <rtl/process.h>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 #include <uno/environment.h>
 #include <uno/lbnames.h>
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 63ab8ca..54fab3b 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <sal/main.h>
 #include <osl/diagnose.h>
 
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx
index 25d481f..0992540 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -26,6 +26,7 @@
 #include "osl/process.h"
 #include "rtl/alloc.h"
 #include "rtl/ustring.hxx"
+#include "sal/log.hxx"
 
 #include "object.hxx"
 #include "storbase.hxx"
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index e6ef653..172f61f 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <svl/filerec.hxx>
 #include <osl/endian.h>
 
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx
index 77558f2..8ca9e2c 100644
--- a/svl/source/items/grabbagitem.cxx
+++ b/svl/source/items/grabbagitem.cxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <svl/grabbagitem.hxx>
 #include <comphelper/sequence.hxx>
 #include <com/sun/star/beans/PropertyValue.hpp>
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index b92e0ba..62c4aaf 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -23,6 +23,7 @@
 #include <stdio.h>
 
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include "whassert.hxx"
 #include <svl/SfxBroadcaster.hxx>
 #include <svl/smplhint.hxx>
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 018a6ae..04c92fc 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -23,6 +23,7 @@
 #include <cstdarg>
 #include <libxml/xmlwriter.h>
 
+#include <sal/log.hxx>
 #include <svl/itemset.hxx>
 #include <svl/itempool.hxx>
 #include <svl/itemiter.hxx>
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 73bd878..e36c79d 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <tools/stream.hxx>
 
 #include <svl/macitem.hxx>
diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx
index 71e278f..83728de 100644
--- a/svl/source/items/rngitem.cxx
+++ b/svl/source/items/rngitem.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <tools/stream.hxx>
 #include <svl/rngitem.hxx>
 
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx
index 5c0808f..4a1f981 100644
--- a/svl/source/items/srchitem.cxx
+++ b/svl/source/items/srchitem.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <svl/srchitem.hxx>
 #include <sal/macros.h>
 #include <osl/diagnose.h>
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index f336920..9eabf2f 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -21,6 +21,7 @@
 
 #include <com/sun/star/lang/XComponent.hpp>
 
+#include <sal/log.hxx>
 #include <tools/tenccvt.hxx>
 #include <osl/diagnose.h>
 #include <comphelper/processfactory.hxx>
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index c5e1e87..740e8d1 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -22,6 +22,7 @@
 #include <float.h>
 #include <errno.h>
 #include <comphelper/string.hxx>
+#include <sal/log.hxx>
 #include <tools/date.hxx>
 #include <rtl/math.hxx>
 #include <unotools/charclass.hxx>
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index c941c67..3419284 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <svl/zforlist.hxx>
 #include <svl/currencytable.hxx>
 
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 9b22cac..5a7d557 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <comphelper/string.hxx>
+#include <sal/log.hxx>
 #include <tools/debug.hxx>
 #include <osl/diagnose.h>
 #include <i18nlangtag/mslangid.hxx>
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index c8835b3..ba94239 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -20,6 +20,7 @@
 
 #include <stdlib.h>
 #include <comphelper/string.hxx>
+#include <sal/log.hxx>
 #include <tools/debug.hxx>
 #include <i18nlangtag/mslangid.hxx>
 #include <unotools/charclass.hxx>
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 41e2c6a..0d967f8 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/uno/Exception.hpp>
 
 #include <osl/mutex.hxx>
+#include <sal/log.hxx>
 #include <comphelper/flagguard.hxx>
 #include <tools/diagnose_ex.h>
 #include <libxml/xmlwriter.h>
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index f880d60..3451510 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -24,6 +24,7 @@
 #include <vector>
 #include <editeng/outlobj.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <tools/link.hxx>
 #include <swrect.hxx>
 #include <unotools/configitem.hxx>
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 6e3926b..11ce33e 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -24,6 +24,7 @@
 #include <toxe.hxx>
 #include <vector>
 #include <boost/ptr_container/ptr_vector.hpp>
+#include <sal/log.hxx>
 
 class SwAuthEntry
 {
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index 50c1c32..6e39474 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -20,6 +20,7 @@
 #define INCLUDED_SW_INC_TOX_HXX
 
 #include <cppuhelper/weakref.hxx>
+#include <sal/log.hxx>
 
 #include <i18nlangtag/lang.h>
 #include <svl/poolitem.hxx>
diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx
index 8db9f33..a4f8abd 100644
--- a/sw/inc/unobaseclass.hxx
+++ b/sw/inc/unobaseclass.hxx
@@ -24,6 +24,7 @@
 #include <com/sun/star/container/XEnumeration.hpp>
 
 #include <cppuhelper/implbase.hxx>
+#include <sal/log.hxx>
 
 class SfxPoolItem;
 class SwClient;
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 4568016..c9dabd6 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -31,6 +31,7 @@
 #include "txtfrm.hxx"
 #include "ndtxt.hxx"
 #include <editeng/paravertalignitem.hxx>
+#include <sal/log.hxx>
 
 namespace vcl { class Font; }
 class OutputDevice;
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index ab1f651..47dd81b 100644
--- a/tools/source/datetime/ttime.cxx
+++ b/tools/source/datetime/ttime.cxx
@@ -35,8 +35,9 @@
 #include <mach/clock.h>
 #include <mach/mach.h>
 #endif
-#include <tools/time.hxx>
 
+#include <sal/log.hxx>
+#include <tools/time.hxx>
 #include <osl/diagnose.h>
 
 #if defined(SOLARIS) && defined(__GNUC__)
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 08c0c6d..2fdb0d0 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -33,6 +33,7 @@
 #include <rtl/string.h>
 #include <rtl/textenc.h>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <sal/types.h>
 
 #include <algorithm>
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx
index cbdc6e4..741cb15 100644
--- a/tools/source/generic/color.cxx
+++ b/tools/source/generic/color.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sstream>
 #include <stdlib.h>
 
 #include <tools/color.hxx>
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index 025db02..257721e 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -32,6 +32,7 @@
 #include <tools/config.hxx>
 #include <osl/security.h>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 
 struct ImplKeyData
 {
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 2c48502..b5db1e0 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -22,6 +22,7 @@
 #include <tools/lineend.hxx>
 #include <tools/stream.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 
 #include <limits.h>
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 925d4d6..cb5b1dc 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -17,6 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sstream>
+
 #include <tools/debug.hxx>
 #include <tools/gen.hxx>
 #include <tools/stream.hxx>
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 5357742..76973f2 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -19,6 +19,7 @@
 
 #include <osl/endian.h>
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include <tools/bigint.hxx>
 #include <tools/debug.hxx>
 #include <tools/helpers.hxx>
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index a800f1f..d390a6e 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -23,6 +23,7 @@
 #define POLY_CLIP_XOR   3
 
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 #include <osl/diagnose.h>
 #include <poly.h>
 #include <tools/poly.hxx>
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 3af2fdd..80d68a0 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <comphelper/string.hxx>
+#include <sal/log.hxx>
 #include <sal/types.h>
 #include <rtl/strbuf.hxx>
 #include <tools/inetmsg.hxx>
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 8e6c4de..16cd342 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -28,6 +28,7 @@
 
 #include <osl/endian.h>
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 
 #include <comphelper/string.hxx>
 
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index c7610b4..c8e5986 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -30,6 +30,7 @@
 
 #include <osl/mutex.hxx>
 #include <osl/thread.h>
+#include <sal/log.hxx>
 
 // class FileBase
 #include <osl/file.hxx>
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index c9887dd..f0f0572 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -23,6 +23,7 @@
 
 #include <osl/diagnose.h>
 #include <osl/mutex.hxx>
+#include <sal/log.hxx>
 #include <salhelper/simplereferenceobject.hxx>
 #include <cppuhelper/weak.hxx>
 
diff --git a/ucbhelper/source/provider/fd_inputstream.cxx b/ucbhelper/source/provider/fd_inputstream.cxx
index d469fb7..26efac0 100644
--- a/ucbhelper/source/provider/fd_inputstream.cxx
+++ b/ucbhelper/source/provider/fd_inputstream.cxx
@@ -21,6 +21,7 @@
 
 #include <rtl/alloc.h>
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include <algorithm>
 
 using namespace com::sun::star::uno;
diff --git a/ucbhelper/source/provider/std_inputstream.cxx b/ucbhelper/source/provider/std_inputstream.cxx
index 172e284..513b9db 100644
--- a/ucbhelper/source/provider/std_inputstream.cxx
+++ b/ucbhelper/source/provider/std_inputstream.cxx
@@ -7,6 +7,10 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "ucbhelper/std_inputstream.hxx"
 
 using namespace std;
diff --git a/ucbhelper/source/provider/std_outputstream.cxx b/ucbhelper/source/provider/std_outputstream.cxx
index 2f6ca99..390ddbe 100644
--- a/ucbhelper/source/provider/std_outputstream.cxx
+++ b/ucbhelper/source/provider/std_outputstream.cxx
@@ -7,6 +7,10 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "ucbhelper/std_outputstream.hxx"
 
 using namespace std;
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index de3f8e9..ad6c657 100644
--- a/unoidl/source/sourceprovider-parser.y
+++ b/unoidl/source/sourceprovider-parser.y
@@ -54,6 +54,7 @@
 
 #include "osl/file.h"
 #include "osl/thread.h"
+#include "sal/log.hxx"
 
 #include "sourceprovider-scanner.hxx"
 
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index 9a1a898..020c8463 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -25,6 +25,7 @@
 
 #include <rtl/ustring.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <osl/file.hxx>
 #include <osl/mutex.hxx>
 #include <osl/diagnose.h>
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx
index b55d8a8..17aca7f 100644
--- a/unotools/source/config/cmdoptions.cxx
+++ b/unotools/source/config/cmdoptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/cmdoptions.hxx>
 #include <unotools/configmgr.hxx>
 #include <unotools/configitem.hxx>
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index f445565..97c4fab 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/configitem.hxx>
 #include <unotools/configmgr.hxx>
 #include <unotools/configpaths.hxx>
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index cf22ae9..57ed057 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/configvaluecontainer.hxx>
 #include <unotools/confignode.hxx>
 #include <uno/data.h>
diff --git a/unotools/source/config/defaultoptions.cxx b/unotools/source/config/defaultoptions.cxx
index fffd629..b937a10 100644
--- a/unotools/source/config/defaultoptions.cxx
+++ b/unotools/source/config/defaultoptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/defaultoptions.hxx>
 #include <unotools/pathoptions.hxx>
 #include <unotools/configitem.hxx>
diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx
index f9f835b..cf706c4 100644
--- a/unotools/source/config/dynamicmenuoptions.cxx
+++ b/unotools/source/config/dynamicmenuoptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/dynamicmenuoptions.hxx>
 #include <unotools/moduleoptions.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx
index 1443c73..7ca01f3 100644
--- a/unotools/source/config/extendedsecurityoptions.cxx
+++ b/unotools/source/config/extendedsecurityoptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/extendedsecurityoptions.hxx>
 #include <unotools/configmgr.hxx>
 #include <unotools/configitem.hxx>
diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx
index a9acd9a..94d87bd 100644
--- a/unotools/source/config/historyoptions.cxx
+++ b/unotools/source/config/historyoptions.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <osl/file.hxx>
+#include <sal/log.hxx>
 #include <unotools/historyoptions.hxx>
 #include <unotools/configmgr.hxx>
 #include <unotools/configitem.hxx>
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 0849409..8052d41 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -27,6 +27,7 @@
 #include <com/sun/star/container/XNameContainer.hpp>
 #include <com/sun/star/container/XNameReplace.hpp>
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 #include <osl/mutex.hxx>
 #include <i18nlangtag/mslangid.hxx>
 #include <i18nlangtag/languagetag.hxx>
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index e107e44..23f062c 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/pathoptions.hxx>
 #include <unotools/configitem.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index f0b4a32..ccea2c5 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/saveopt.hxx>
 #include <rtl/instance.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 3ce1851..ad5a61f 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -20,6 +20,7 @@
 #include <com/sun/star/uno/Sequence.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 #include <i18nlangtag/mslangid.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <tools/debug.hxx>
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx
index fca5296..7dd5de2 100644
--- a/unotools/source/config/useroptions.cxx
+++ b/unotools/source/config/useroptions.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/useroptions.hxx>
 #include <unotools/syslocale.hxx>
 #include <unotools/configmgr.hxx>
diff --git a/unotools/source/i18n/calendarwrapper.cxx b/unotools/source/i18n/calendarwrapper.cxx
index 56695ab..647e705 100644
--- a/unotools/source/i18n/calendarwrapper.cxx
+++ b/unotools/source/i18n/calendarwrapper.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <unotools/calendarwrapper.hxx>
 #include <com/sun/star/i18n/CalendarFieldIndex.hpp>
 #include <com/sun/star/i18n/LocaleCalendar2.hpp>
diff --git a/unotools/source/i18n/charclass.cxx b/unotools/source/i18n/charclass.cxx
index 452332a..a83b5f7 100644
--- a/unotools/source/i18n/charclass.cxx
+++ b/unotools/source/i18n/charclass.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <comphelper/processfactory.hxx>
+#include <sal/log.hxx>
 #include <unotools/charclass.hxx>
 #include <rtl/character.hxx>
 
diff --git a/unotools/source/i18n/collatorwrapper.cxx b/unotools/source/i18n/collatorwrapper.cxx
index 44c01ee..ac3033e 100644
--- a/unotools/source/i18n/collatorwrapper.cxx
+++ b/unotools/source/i18n/collatorwrapper.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/collatorwrapper.hxx>
 #include <com/sun/star/i18n/Collator.hpp>
 
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 1e77321..45c96ba 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string>
 
+#include <sal/log.hxx>
 #include <unotools/localedatawrapper.hxx>
 #include <unotools/numberformatcodewrapper.hxx>
 #include <unotools/calendarwrapper.hxx>
diff --git a/unotools/source/i18n/nativenumberwrapper.cxx b/unotools/source/i18n/nativenumberwrapper.cxx
index 34867ba..8597ee0 100644
--- a/unotools/source/i18n/nativenumberwrapper.cxx
+++ b/unotools/source/i18n/nativenumberwrapper.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/nativenumberwrapper.hxx>
 #include <com/sun/star/i18n/NativeNumberSupplier.hpp>
 
diff --git a/unotools/source/i18n/numberformatcodewrapper.cxx b/unotools/source/i18n/numberformatcodewrapper.cxx
index d71c04a..ff27654 100644
--- a/unotools/source/i18n/numberformatcodewrapper.cxx
+++ b/unotools/source/i18n/numberformatcodewrapper.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/numberformatcodewrapper.hxx>
 #include <com/sun/star/i18n/NumberFormatMapper.hpp>
 
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 17f8fe8..046c581 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/util/TextSearch.hpp>
 #include <com/sun/star/util/SearchFlags.hpp>
 #include <com/sun/star/i18n/TransliterationModules.hpp>
+#include <sal/log.hxx>
 #include <unotools/charclass.hxx>
 #include <comphelper/processfactory.hxx>
 #include <unotools/textsearch.hxx>
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx
index a8b92a4..533655c 100644
--- a/unotools/source/i18n/transliterationwrapper.cxx
+++ b/unotools/source/i18n/transliterationwrapper.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/transliterationwrapper.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index cdc99a8..e1db618d 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/fontcvt.hxx>
 #include <unotools/fontdefs.hxx>
 #include <sal/macros.h>
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index c6aa46e..c85194b 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <comphelper/docpasswordhelper.hxx>
+#include <sal/log.hxx>
 #include <unotools/mediadescriptor.hxx>
 #include <unotools/securityoptions.hxx>
 #include <comphelper/namedvaluecollection.hxx>
diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx
index 3a0c451..1790520 100644
--- a/unotools/source/misc/syslocale.cxx
+++ b/unotools/source/misc/syslocale.cxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
 #include <unotools/syslocale.hxx>
 #include <unotools/syslocaleoptions.hxx>
 #include <comphelper/processfactory.hxx>
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx
index d602452..b459769 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/ucb/CommandAbortedException.hpp>
 #include <com/sun/star/ucb/UniversalContentBroker.hpp>
 #include <comphelper/processfactory.hxx>
+#include <sal/log.hxx>
 #include <unotools/localfilehelper.hxx>
 #include <ucbhelper/fileidentifierconverter.hxx>
 #include <rtl/ustring.hxx>
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 4533be7..6e03bf80 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -21,6 +21,7 @@
 #define INCLUDED_VCL_INC_OUTFONT_HXX
 
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <sal/types.h>
 #include <i18nlangtag/lang.h>
 #include <tools/solar.h>
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index 990e9d8..0e38ad1 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -27,6 +27,7 @@
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <tools/gen.hxx>
+#include <sal/log.hxx>
 #include <vcl/dllapi.h>
 #include <vcl/vclenum.hxx> // for typedef sal_UCS4
 #include <vcl/devicecoordinate.hxx>
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index 886b076..06f279b 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -31,6 +31,8 @@
 #include <com/sun/star/lang/XInitialization.hpp>
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
+#include <sal/log.hxx>
+
 #include <memory>
 #include <unordered_map>
 #include <vector>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index 5763d71..129d87b 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -20,6 +20,7 @@
 #include "exp_share.hxx"
 
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <tools/diagnose_ex.h>
 
 #include <com/sun/star/awt/CharSet.hpp>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index 7a317e8..315c08f 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -31,6 +31,7 @@
 #include <com/sun/star/script/vba/XVBACompatibility.hpp>
 
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include <comphelper/processfactory.hxx>
 #include <i18nlangtag/languagetag.hxx>
 
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index df0b155..4619050 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -37,6 +37,7 @@
 #include <com/sun/star/style/VerticalAlignment.hpp>
 #include <com/sun/star/util/Date.hpp>
 #include <com/sun/star/util/Time.hpp>
+#include <sal/log.hxx>
 #include <tools/date.hxx>
 #include <tools/time.hxx>
 #include <osl/diagnose.h>
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
index dd77b33..79d4255 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
@@ -21,6 +21,7 @@
 
 #include "unoservices.hxx"
 #include "xmlbas_export.hxx"
+#include <sal/log.hxx>
 #include <xmlscript/xmlns.h>
 #include <xmlscript/xml_helper.hxx>
 #include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
index 5359bde7..9926fbe 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
@@ -21,6 +21,7 @@
 
 #include "unoservices.hxx"
 #include "xmlbas_import.hxx"
+#include <sal/log.hxx>
 #include <xmlscript/xmlns.h>
 #include <xmlscript/xml_helper.hxx>
 #include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
index 4aaec1fd..f65ac55 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
@@ -17,6 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "imp_share.hxx"
 #include "xml_import.hxx"
 
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
index 797af99..a14e7a2 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
@@ -17,6 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
 #include "imp_share.hxx"
 #include "xml_import.hxx"
 


More information about the Libreoffice-commits mailing list