[Libreoffice-commits] core.git: sfx2/source shell/source slideshow/source slideshow/test sot/source starmath/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 31 14:46:30 UTC 2018


 sfx2/source/appl/app.cxx                                            |    1 +
 sfx2/source/appl/appcfg.cxx                                         |    1 +
 sfx2/source/appl/appdde.cxx                                         |    1 +
 sfx2/source/appl/appreg.cxx                                         |    1 +
 sfx2/source/appl/appserv.cxx                                        |    1 +
 sfx2/source/appl/appuno.cxx                                         |    1 +
 sfx2/source/appl/childwin.cxx                                       |    1 +
 sfx2/source/appl/fileobj.cxx                                        |    1 +
 sfx2/source/appl/newhelp.cxx                                        |    1 +
 sfx2/source/appl/sfxhelp.cxx                                        |    1 +
 sfx2/source/appl/shutdownicon.cxx                                   |    1 +
 sfx2/source/appl/shutdowniconw32.cxx                                |    1 +
 sfx2/source/bastyp/fltfnc.cxx                                       |    1 +
 sfx2/source/bastyp/frmhtmlw.cxx                                     |    1 +
 sfx2/source/bastyp/helper.cxx                                       |    1 +
 sfx2/source/bastyp/progress.cxx                                     |    1 +
 sfx2/source/config/evntconf.cxx                                     |    1 +
 sfx2/source/control/ctrlitem.cxx                                    |    1 +
 sfx2/source/control/dispatch.cxx                                    |    1 +
 sfx2/source/control/emojiview.cxx                                   |    1 +
 sfx2/source/control/minfitem.cxx                                    |    1 +
 sfx2/source/control/msgpool.cxx                                     |    1 +
 sfx2/source/control/recentdocsview.cxx                              |    1 +
 sfx2/source/control/request.cxx                                     |    1 +
 sfx2/source/control/thumbnailview.cxx                               |    1 +
 sfx2/source/control/thumbnailviewacc.cxx                            |    1 +
 sfx2/source/dialog/backingwindow.cxx                                |    1 +
 sfx2/source/dialog/dinfdlg.cxx                                      |    1 +
 sfx2/source/dialog/filedlghelper.cxx                                |    1 +
 sfx2/source/dialog/filtergrouping.cxx                               |    1 +
 sfx2/source/dialog/splitwin.cxx                                     |    1 +
 sfx2/source/dialog/tabdlg.cxx                                       |    1 +
 sfx2/source/dialog/templdlg.cxx                                     |    1 +
 sfx2/source/doc/DocumentMetadataAccess.cxx                          |    1 +
 sfx2/source/doc/Metadatable.cxx                                     |    1 +
 sfx2/source/doc/SfxDocumentMetaData.cxx                             |    1 +
 sfx2/source/doc/docfac.cxx                                          |    1 +
 sfx2/source/doc/docfile.cxx                                         |    1 +
 sfx2/source/doc/docinf.cxx                                          |    1 +
 sfx2/source/doc/doctempl.cxx                                        |    1 +
 sfx2/source/doc/doctemplates.cxx                                    |    1 +
 sfx2/source/doc/guisaveas.cxx                                       |    1 +
 sfx2/source/doc/objcont.cxx                                         |    1 +
 sfx2/source/doc/objmisc.cxx                                         |    1 +
 sfx2/source/doc/objserv.cxx                                         |    1 +
 sfx2/source/doc/objstor.cxx                                         |    1 +
 sfx2/source/doc/objxtor.cxx                                         |    1 +
 sfx2/source/doc/oleprops.cxx                                        |    1 +
 sfx2/source/doc/sfxbasemodel.cxx                                    |    1 +
 sfx2/source/notify/eventsupplier.cxx                                |    1 +
 sfx2/source/sidebar/Deck.cxx                                        |    1 +
 sfx2/source/sidebar/ResourceManager.cxx                             |    1 +
 sfx2/source/sidebar/SidebarController.cxx                           |    1 +
 sfx2/source/view/classificationhelper.cxx                           |    1 +
 sfx2/source/view/frame2.cxx                                         |    1 +
 sfx2/source/view/frmload.cxx                                        |    1 +
 sfx2/source/view/ipclient.cxx                                       |    1 +
 sfx2/source/view/viewfrm.cxx                                        |    1 +
 sfx2/source/view/viewprn.cxx                                        |    1 +
 sfx2/source/view/viewsh.cxx                                         |    1 +
 shell/source/backends/desktopbe/desktopbackend.cxx                  |    1 +
 shell/source/backends/localebe/localebackend.cxx                    |    1 +
 shell/source/backends/wininetbe/wininetbackend.cxx                  |    1 +
 shell/source/cmdmail/cmdmailsuppl.cxx                               |    1 +
 shell/source/unix/exec/shellexec.cxx                                |    1 +
 shell/source/unix/sysshell/recently_used_file.cxx                   |    1 +
 shell/source/win32/SysShExec.cxx                                    |    1 +
 slideshow/source/engine/activities/simplecontinuousactivitybase.cxx |    1 +
 slideshow/source/engine/activitiesqueue.cxx                         |    1 +
 slideshow/source/engine/animationfactory.cxx                        |    1 +
 slideshow/source/engine/animationnodes/animationbasenode.cxx        |    1 +
 slideshow/source/engine/animationnodes/animationnodefactory.cxx     |    1 +
 slideshow/source/engine/animationnodes/basecontainernode.cxx        |    1 +
 slideshow/source/engine/animationnodes/basenode.cxx                 |    2 ++
 slideshow/source/engine/attributemap.cxx                            |    1 +
 slideshow/source/engine/eventqueue.cxx                              |    1 +
 slideshow/source/engine/opengl/TransitionImpl.cxx                   |    1 +
 slideshow/source/engine/opengl/TransitionerImpl.cxx                 |    1 +
 slideshow/source/engine/pointersymbol.cxx                           |    1 +
 slideshow/source/engine/rehearsetimingsactivity.cxx                 |    1 +
 slideshow/source/engine/shapes/backgroundshape.cxx                  |    1 +
 slideshow/source/engine/shapes/drawinglayeranimation.cxx            |    1 +
 slideshow/source/engine/shapes/drawshape.cxx                        |    1 +
 slideshow/source/engine/shapes/drawshapesubsetting.cxx              |    1 +
 slideshow/source/engine/shapes/externalshapebase.cxx                |    1 +
 slideshow/source/engine/shapes/gdimtftools.cxx                      |    1 +
 slideshow/source/engine/shapes/viewappletshape.cxx                  |    1 +
 slideshow/source/engine/shapes/viewbackgroundshape.cxx              |    1 +
 slideshow/source/engine/shapes/viewmediashape.cxx                   |    1 +
 slideshow/source/engine/shapes/viewshape.cxx                        |    1 +
 slideshow/source/engine/shapesubset.cxx                             |    1 +
 slideshow/source/engine/slide/layermanager.cxx                      |    1 +
 slideshow/source/engine/slide/slideanimations.cxx                   |    1 +
 slideshow/source/engine/slide/slideimpl.cxx                         |    1 +
 slideshow/source/engine/slide/userpaintoverlay.cxx                  |    1 +
 slideshow/source/engine/slidebitmap.cxx                             |    1 +
 slideshow/source/engine/slideshowimpl.cxx                           |    1 +
 slideshow/source/engine/smilfunctionparser.cxx                      |    1 +
 slideshow/source/engine/soundplayer.cxx                             |    1 +
 slideshow/source/engine/transitions/fanwipe.cxx                     |    1 +
 slideshow/source/engine/transitions/shapetransitionfactory.cxx      |    1 +
 slideshow/source/engine/transitions/slidetransitionfactory.cxx      |    1 +
 slideshow/source/engine/usereventqueue.cxx                          |    1 +
 slideshow/source/engine/waitsymbol.cxx                              |    1 +
 slideshow/test/demoshow.cxx                                         |    1 +
 sot/source/sdstor/stgio.cxx                                         |    1 +
 sot/source/sdstor/storage.cxx                                       |    1 +
 sot/source/sdstor/ucbstorage.cxx                                    |    1 +
 starmath/source/accessibility.cxx                                   |    1 +
 starmath/source/cfgitem.cxx                                         |    1 +
 starmath/source/dialog.cxx                                          |    1 +
 starmath/source/document.cxx                                        |    1 +
 starmath/source/mathmlexport.cxx                                    |    1 +
 starmath/source/mathmlimport.cxx                                    |    1 +
 starmath/source/mathtype.cxx                                        |    1 +
 starmath/source/node.cxx                                            |    1 +
 starmath/source/ooxmlexport.cxx                                     |    1 +
 starmath/source/ooxmlimport.cxx                                     |    1 +
 starmath/source/parse.cxx                                           |    1 +
 starmath/source/rect.cxx                                            |    1 +
 starmath/source/rtfexport.cxx                                       |    1 +
 starmath/source/smdetect.cxx                                        |    1 +
 starmath/source/symbol.cxx                                          |    1 +
 starmath/source/tmpdevice.cxx                                       |    1 +
 starmath/source/unomodel.cxx                                        |    1 +
 starmath/source/view.cxx                                            |    1 +
 starmath/source/visitors.cxx                                        |    1 +
 starmath/source/wordexportbase.cxx                                  |    1 +
 128 files changed, 129 insertions(+)

New commits:
commit b5867945d67dba505d0629e5e41fdc52bc78bfee
Author:     Gabor Kelemen <kelemeng at ubuntu.com>
AuthorDate: Sat Jul 28 17:23:50 2018 +0200
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Tue Jul 31 16:45:58 2018 +0200

    Add missing sal/log.hxx headers
    
    rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it.
    This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes.
    
    This commit adds missing headers to every file found by:
    grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG')
    to directories from sfx2 to starmath
    
    Change-Id: I40ee7bfae6efdadd862319b7b693ad22c648e1c4
    Reviewed-on: https://gerrit.libreoffice.org/58222
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index aa3b29329cef..605de4d76195 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <config_features.h>
+#include <sal/log.hxx>
 
 #include <sfx2/app.hxx>
 #include <sfx2/frame.hxx>
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index e9a7c76efca6..05d3224c921c 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -51,6 +51,7 @@
 #include <vcl/toolbox.hxx>
 #include <rtl/strbuf.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <vcl/idle.hxx>
 
 #include <sfx2/app.hxx>
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 31adc8acfc2d..7a572c94236d 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -19,6 +19,7 @@
 
 #include <config_features.h>
 #include <rtl/character.hxx>
+#include <sal/log.hxx>
 #include <vcl/wrkwin.hxx>
 #include <svl/rectitem.hxx>
 #include <svl/eitem.hxx>
diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx
index 7462a41f40f1..614a92ca79fd 100644
--- a/sfx2/source/appl/appreg.cxx
+++ b/sfx2/source/appl/appreg.cxx
@@ -18,6 +18,7 @@
  */
 
 
+#include <sal/log.hxx>
 #include <vcl/toolbox.hxx>
 
 #include <sfx2/app.hxx>
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 519bcf1d89f5..3b7c6fe3549d 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -72,6 +72,7 @@
 #include <vcl/help.hxx>
 #include <vcl/stdtext.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <osl/file.hxx>
 #include <vcl/EnumContext.hxx>
 
diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx
index bfb3d651458d..2ce0f060184a 100644
--- a/sfx2/source/appl/appuno.cxx
+++ b/sfx2/source/appl/appuno.cxx
@@ -38,6 +38,7 @@
 #include <sfxtypes.hxx>
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 #include <basic/basmgr.hxx>
 #include <basic/sberrors.hxx>
 #include <basic/sbmeth.hxx>
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 7ae103c9c74a..afdf5b21f548 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -26,6 +26,7 @@
 #include <com/sun/star/util/XCloseable.hpp>
 #include <comphelper/string.hxx>
 #include <cppuhelper/implbase.hxx>
+#include <sal/log.hxx>
 
 #include <sfx2/childwin.hxx>
 #include <sfx2/app.hxx>
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index 31951ce7d9a3..239614444688 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -21,6 +21,7 @@
 #include <tools/urlobj.hxx>
 #include <tools/stream.hxx>
 #include <sot/formats.hxx>
+#include <sal/log.hxx>
 #include <vcl/graphicfilter.hxx>
 #include <sfx2/lnkbase.hxx>
 #include <sfx2/app.hxx>
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index eebd30f46362..f72a03149d32 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -30,6 +30,7 @@
 #include <srchdlg.hxx>
 #include <sfx2/sfxhelp.hxx>
 #include <svtools/treelistentry.hxx>
+#include <sal/log.hxx>
 
 #include <sfx2/strings.hrc>
 #include <helpids.h>
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 4e4a09ec1310..c418887f95d5 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -22,6 +22,7 @@
 
 #include <set>
 #include <algorithm>
+#include <sal/log.hxx>
 #include <com/sun/star/uno/Reference.h>
 #include <com/sun/star/frame/Desktop.hpp>
 #include <com/sun/star/frame/UnknownModuleException.hpp>
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index ef452582d980..bdde99c9eccc 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <cassert>
 
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index f96968186948..8ff9c621009d 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -21,6 +21,7 @@
 #endif
 
 #include <sal/macros.h>
+#include <sal/log.hxx>
 
 #include <unotools/moduleoptions.hxx>
 #include <unotools/dynamicmenuoptions.hxx>
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 58ec1f7ac2a5..bc005a0da152 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -39,6 +39,7 @@
 #include <vcl/weld.hxx>
 #include <rtl/ustring.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <svl/eitem.hxx>
 #include <svl/intitem.hxx>
 #include <svl/stritem.hxx>
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx
index 970c9ced8938..bfcb263306af 100644
--- a/sfx2/source/bastyp/frmhtmlw.cxx
+++ b/sfx2/source/bastyp/frmhtmlw.cxx
@@ -20,6 +20,7 @@
 #include <svtools/htmlkywd.hxx>
 
 #include <rtl/tencinfo.h>
+#include <sal/log.hxx>
 
 #include <unotools/configmgr.hxx>
 #include <svl/urihelper.hxx>
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index 549f1d16d87a..2cc201acface 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -37,6 +37,7 @@
 #include <com/sun/star/io/XInputStream.hpp>
 #include <unotools/localedatawrapper.hxx>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 
 #include <tools/debug.hxx>
 #include <tools/urlobj.hxx>
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index 1b86be6d8ee6..91f24110e3c9 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -26,6 +26,7 @@
 
 #include <svl/eitem.hxx>
 #include <tools/time.hxx>
+#include <sal/log.hxx>
 
 #include <appdata.hxx>
 #include <sfx2/request.hxx>
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index e612c6156fef..72fa2f92652f 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -28,6 +28,7 @@
 #include <unotools/securityoptions.hxx>
 
 #include <rtl/ustring.h>
+#include <sal/log.hxx>
 #include <com/sun/star/uno/Any.hxx>
 #include <comphelper/processfactory.hxx>
 #include <sfx2/evntconf.hxx>
diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx
index 32d417c7e5a9..832725089e26 100644
--- a/sfx2/source/control/ctrlitem.cxx
+++ b/sfx2/source/control/ctrlitem.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/log.hxx>
 #include <svl/itempool.hxx>
 
 #include <sfx2/ctrlitem.hxx>
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index d3e403d70e9c..f590aae6f8ca 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -38,6 +38,7 @@
 #include <comphelper/processfactory.hxx>
 #include <comphelper/propertyvalue.hxx>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <sfx2/app.hxx>
 #include <sfx2/bindings.hxx>
 #include <sfx2/childwin.hxx>
diff --git a/sfx2/source/control/emojiview.cxx b/sfx2/source/control/emojiview.cxx
index b3de652b2c5c..2175d42c37b3 100644
--- a/sfx2/source/control/emojiview.cxx
+++ b/sfx2/source/control/emojiview.cxx
@@ -13,6 +13,7 @@
 #include <tools/urlobj.hxx>
 #include <vcl/layout.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 #include <config_folders.h>
 #include <officecfg/Office/Common.hxx>
 #include <comphelper/processfactory.hxx>
diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx
index f7b04998da92..179e78668b60 100644
--- a/sfx2/source/control/minfitem.cxx
+++ b/sfx2/source/control/minfitem.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sfx2/minfitem.hxx>
+#include <sal/log.hxx>
 
 SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx", "No SfxMacroInfItem factory available"); return nullptr; }
 
diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx
index 5563a300e7d4..f82c47c1ee6c 100644
--- a/sfx2/source/control/msgpool.cxx
+++ b/sfx2/source/control/msgpool.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/log.hxx>
 #include <tools/stream.hxx>
 #include <svl/style.hxx>
 
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index cecebe60a496..d8d2a833e9c6 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <sal/log.hxx>
 #include <comphelper/base64.hxx>
 #include <sax/tools/converter.hxx>
 #include <sfx2/recentdocsview.hxx>
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 42fe49edf3ea..ece383994c26 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -27,6 +27,7 @@
 #include <com/sun/star/util/XURLTransformer.hpp>
 #include <com/sun/star/frame/XDispatchRecorderSupplier.hpp>
 #include <svl/itemiter.hxx>
+#include <sal/log.hxx>
 
 #include <svl/itempool.hxx>
 #include <itemdel.hxx>
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 5cd33e453a58..81a5021c2766 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -30,6 +30,7 @@
 #include <drawinglayer/processor2d/baseprocessor2d.hxx>
 #include <drawinglayer/processor2d/processorfromoutputdevice.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <svtools/optionsdrawinglayer.hxx>
 #include <unotools/ucbstreamhelper.hxx>
 #include <vcl/decoview.hxx>
diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx
index 04a7435ccb54..01451c3d47f6 100644
--- a/sfx2/source/control/thumbnailviewacc.cxx
+++ b/sfx2/source/control/thumbnailviewacc.cxx
@@ -25,6 +25,7 @@
 #include <unotools/accessiblestatesethelper.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/accessibility/AccessibleEventId.hpp>
 #include <com/sun/star/accessibility/AccessibleRole.hpp>
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 17700cb67628..3c911017306e 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -20,6 +20,7 @@
 #include "backingwindow.hxx"
 #include <sfx2/inputdlg.hxx>
 
+#include <sal/log.hxx>
 #include <vcl/settings.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/virdev.hxx>
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index ba621833781e..96cf828f4042 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -31,6 +31,7 @@
 #include <svtools/controldims.hxx>
 #include <svtools/imagemgr.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
+#include <sal/log.hxx>
 
 #include <memory>
 
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 8b73bd03d52f..b5f132aae9fe 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -91,6 +91,7 @@
 #include <helpids.h>
 #include <sfx2/strings.hrc>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <comphelper/sequence.hxx>
 
 #ifdef UNX
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index 471bf35ee942..ba4aea583691 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -25,6 +25,7 @@
 #include <sfx2/sfxresid.hxx>
 #include <osl/thread.h>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <com/sun/star/ui/dialogs/XFilterGroupManager.hpp>
 #include <com/sun/star/beans/StringPair.hpp>
 #include <com/sun/star/uno/Sequence.hxx>
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 12b3e74fbe34..ac0530433bdf 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -25,6 +25,7 @@
 
 #include <vcl/wrkwin.hxx>
 #include <unotools/viewoptions.hxx>
+#include <sal/log.hxx>
 
 #include <vcl/menu.hxx>
 #include <vcl/timer.hxx>
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index c337e0b8d465..0ac617cd7a84 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -38,6 +38,7 @@
 #include <unotools/viewoptions.hxx>
 #include <vcl/builder.hxx>
 #include <vcl/IDialogRenderable.hxx>
+#include <sal/log.hxx>
 
 #include <sfx2/strings.hrc>
 #include <helpids.h>
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 4b68f20dd4e6..e72d920bd8c0 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -35,6 +35,7 @@
 #include <com/sun/star/frame/UnknownModuleException.hpp>
 #include <officecfg/Office/Common.hxx>
 
+#include <sal/log.hxx>
 #include <sfx2/sfxhelp.hxx>
 #include <sfx2/app.hxx>
 #include <sfx2/dispatch.hxx>
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index b24edf6e184c..6ef5a029b3d6 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -39,6 +39,7 @@
 #include <rtl/ustrbuf.hxx>
 #include <rtl/uri.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 
 #include <comphelper/interaction.hxx>
 #include <unotools/mediadescriptor.hxx>
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 11f43e088e83..55d73c46bbb9 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <osl/diagnose.h>
 #include <sfx2/Metadatable.hxx>
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index f61f2a09e682..6de2cf153da3 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <cppuhelper/compbase.hxx>
 #include <cppuhelper/exc_hlp.hxx>
diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx
index bba209e2f960..94205215ea51 100644
--- a/sfx2/source/doc/docfac.cxx
+++ b/sfx2/source/doc/docfac.cxx
@@ -44,6 +44,7 @@
 #include <osl/security.hxx>
 
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <tools/globname.hxx>
 
 #include <assert.h>
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index a7ff1009de71..d532ede31a0b 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -93,6 +93,7 @@
 #include <svl/intitem.hxx>
 #include <svtools/svparser.hxx>
 #include <cppuhelper/weakref.hxx>
+#include <sal/log.hxx>
 
 #include <unotools/streamwrap.hxx>
 
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx
index 41d4c380254f..37c20eaf0ebb 100644
--- a/sfx2/source/doc/docinf.cxx
+++ b/sfx2/source/doc/docinf.cxx
@@ -26,6 +26,7 @@
 #include <com/sun/star/document/XCompatWriterDocProperties.hpp>
 #include <com/sun/star/uno/Exception.hpp>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <tools/debug.hxx>
 #include <comphelper/string.hxx>
 #include <sot/storage.hxx>
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index c4b00b5229b5..37c54bdbf397 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/uno/Any.h>
 #include <osl/mutex.hxx>
 #include <osl/thread.hxx>
+#include <sal/log.hxx>
 
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index fe2cea50168b..b30844eb346b 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -22,6 +22,7 @@
 #include <tools/urlobj.hxx>
 #include <rtl/ustring.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/wrkwin.hxx>
 #include <unotools/pathoptions.hxx>
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index e01b51576d98..f4427d0f2035 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -52,6 +52,7 @@
 
 #include <guisaveas.hxx>
 
+#include <sal/log.hxx>
 #include <unotools/pathoptions.hxx>
 #include <svl/itemset.hxx>
 #include <svl/eitem.hxx>
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 37326b7e6115..d163a5dcbf42 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -42,6 +42,7 @@
 #include <tools/datetime.hxx>
 #include <rtl/uri.hxx>
 #include <math.h>
+#include <sal/log.hxx>
 
 #include <unotools/saveopt.hxx>
 #include <unotools/useroptions.hxx>
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 01064386a81f..202790988e62 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -27,6 +27,7 @@
 #include <svl/intitem.hxx>
 #include <svtools/svparser.hxx>
 #include <cppuhelper/exc_hlp.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/container/XChild.hpp>
 #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 69b933c7fbdc..22e61ec98aad 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -53,6 +53,7 @@
 #include <vcl/wrkwin.hxx>
 #include <svtools/sfxecode.hxx>
 #include <svtools/ehdl.hxx>
+#include <sal/log.hxx>
 
 #include <comphelper/string.hxx>
 #include <basic/sbx.hxx>
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 26d0de770931..2779a5a9b9d9 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -20,6 +20,7 @@
 #include <config_features.h>
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <cassert>
 
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index f5fab3249fc0..6c557f541ea5 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -34,6 +34,7 @@
 #include <com/sun/star/frame/XTitle.hpp>
 #include <osl/file.hxx>
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 #include <vcl/weld.hxx>
 #include <vcl/wrkwin.hxx>
 #include <vcl/svapp.hxx>
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index bdbf7d8dac65..2ba0b2f1be4c 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -26,6 +26,7 @@
 #include <tools/datetime.hxx>
 #include <rtl/tencinfo.h>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 
 
 #define STREAM_BUFFER_SIZE 2048
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index e9b12b34621a..09fa01d8f6de 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -83,6 +83,7 @@
 #include <svtools/ehdl.hxx>
 #include <svtools/sfxecode.hxx>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include <framework/configimporter.hxx>
 #include <framework/interaction.hxx>
 #include <framework/titlehelper.hxx>
diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx
index 78667a1d8036..261ce2db54aa 100644
--- a/sfx2/source/notify/eventsupplier.cxx
+++ b/sfx2/source/notify/eventsupplier.cxx
@@ -31,6 +31,7 @@
 #include <sfx2/sfxbasemodel.hxx>
 #include <sfx2/evntconf.hxx>
 #include <unotools/eventcfg.hxx>
+#include <sal/log.hxx>
 
 #include <unotools/securityoptions.hxx>
 #include <comphelper/processfactory.hxx>
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index ca6dd192f581..ff481013bfa8 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -31,6 +31,7 @@
 #include <vcl/dockwin.hxx>
 #include <vcl/scrbar.hxx>
 #include <tools/svborder.hxx>
+#include <sal/log.hxx>
 
 using namespace css;
 using namespace css::uno;
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 079ae1bf4ce3..4596fef559b4 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -29,6 +29,7 @@
 
 #include <rtl/ustrbuf.hxx>
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <com/sun/star/frame/ModuleManager.hpp>
 #include <com/sun/star/ui/XUpdateModel.hpp>
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index b7b604869213..ba7b12167a30 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -45,6 +45,7 @@
 #include <comphelper/processfactory.hxx>
 #include <comphelper/namedvaluecollection.hxx>
 #include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/lang/XInitialization.hpp>
 #include <com/sun/star/ui/ContextChangeEventMultiplexer.hpp>
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 49020b28e086..d2e6f02d88fb 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -20,6 +20,7 @@
 #include <com/sun/star/xml/sax/SAXParseException.hpp>
 #include <com/sun/star/beans/PropertyAttribute.hpp>
 
+#include <sal/log.hxx>
 #include <sfx2/infobar.hxx>
 #include <sfx2/objsh.hxx>
 #include <o3tl/make_unique.hxx>
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx
index 0f6c1af16799..8e62ca2c4a38 100644
--- a/sfx2/source/view/frame2.cxx
+++ b/sfx2/source/view/frame2.cxx
@@ -49,6 +49,7 @@
 #include <toolkit/helper/vclunohelper.hxx>
 #include <tools/diagnose_ex.h>
 #include <vcl/syswin.hxx>
+#include <sal/log.hxx>
 
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index 4b67458c34bc..dd65222696ab 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -58,6 +58,7 @@
 #include <framework/interaction.hxx>
 #include <rtl/ref.hxx>
 #include <rtl/ustring.h>
+#include <sal/log.hxx>
 #include <sot/storinfo.hxx>
 #include <svtools/ehdl.hxx>
 #include <svl/eitem.hxx>
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index a02377b05428..650dd05a7989 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -53,6 +53,7 @@
 #include <guisaveas.hxx>
 #include <cppuhelper/implbase.hxx>
 #include <svtools/ehdl.hxx>
+#include <sal/log.hxx>
 
 #include <vcl/timer.hxx>
 #include <vcl/window.hxx>
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 24f25b86f663..645ed2668094 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -66,6 +66,7 @@
 #include <com/sun/star/container/XIndexContainer.hpp>
 #include <com/sun/star/task/InteractionHandler.hpp>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 #include <unotools/ucbhelper.hxx>
 #include <comphelper/lok.hxx>
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 19534cb129e1..2d29c7b378e6 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/document/XDocumentProperties.hpp>
 #include <com/sun/star/view/XRenderable.hpp>
 
+#include <sal/log.hxx>
 #include <svl/itempool.hxx>
 #include <vcl/weld.hxx>
 #include <svtools/prnsetup.hxx>
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index fe494ae1c522..cb0bdebc7cb3 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -19,6 +19,7 @@
 
 #include <config_features.h>
 
+#include <sal/log.hxx>
 #include <svl/stritem.hxx>
 #include <svl/eitem.hxx>
 #include <svl/whiter.hxx>
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index 369de240859a..b5d77eed9f49 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <com/sun/star/beans/Optional.hpp>
 #include <com/sun/star/beans/PropertyVetoException.hpp>
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index 218b17212451..0e0f53c10e4f 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <cassert>
 #include <limits>
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx
index 5334877d3451..dde01c74fd9c 100644
--- a/shell/source/backends/wininetbe/wininetbackend.cxx
+++ b/shell/source/backends/wininetbe/wininetbackend.cxx
@@ -19,6 +19,7 @@
 
 #include <cppuhelper/supportsservice.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 #include "wininetbackend.hxx"
 
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index 1173bac1ced7..7589cc014ee3 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -25,6 +25,7 @@
 
 #include <osl/file.hxx>
 #include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
 #include "cmdmailsuppl.hxx"
 #include "cmdmailmsg.hxx"
 #include <com/sun/star/system/SimpleMailClientFlags.hpp>
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 34861674de96..7deeb5caa8a7 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -24,6 +24,7 @@
 #include <osl/file.hxx>
 #include <rtl/strbuf.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 #include <rtl/uri.hxx>
 #include "shellexec.hxx"
diff --git a/shell/source/unix/sysshell/recently_used_file.cxx b/shell/source/unix/sysshell/recently_used_file.cxx
index 9068e96b0b55..458a6da2fe79 100644
--- a/shell/source/unix/sysshell/recently_used_file.cxx
+++ b/shell/source/unix/sysshell/recently_used_file.cxx
@@ -19,6 +19,7 @@
 
 #include "recently_used_file.hxx"
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <osl/process.h>
 #include <osl/security.hxx>
 #include <osl/thread.h>
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index 44cfed4876f0..e9e5909991c5 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -20,6 +20,7 @@
 #include <algorithm>
 
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 #include "SysShExec.hxx"
 #include <osl/file.hxx>
 #include <sal/macros.h>
diff --git a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
index ea85bbac535b..5566b5883f78 100644
--- a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
+++ b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx
@@ -22,6 +22,7 @@
 
 #include "simplecontinuousactivitybase.hxx"
 
+#include <sal/log.hxx>
 
 namespace slideshow
 {
diff --git a/slideshow/source/engine/activitiesqueue.cxx b/slideshow/source/engine/activitiesqueue.cxx
index 49996f8809a0..8eadd83428e8 100644
--- a/slideshow/source/engine/activitiesqueue.cxx
+++ b/slideshow/source/engine/activitiesqueue.cxx
@@ -21,6 +21,7 @@
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 #include <osl/diagnose.h>
+#include <sal/log.hxx>
 
 #include <slideshowexceptions.hxx>
 #include <activity.hxx>
diff --git a/slideshow/source/engine/animationfactory.cxx b/slideshow/source/engine/animationfactory.cxx
index 1d666629302c..6ce8ee14a2ba 100644
--- a/slideshow/source/engine/animationfactory.cxx
+++ b/slideshow/source/engine/animationfactory.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <animationfactory.hxx>
 #include <attributemap.hxx>
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.cxx b/slideshow/source/engine/animationnodes/animationbasenode.cxx
index 6c7eebed0ad1..74bd447f7808 100644
--- a/slideshow/source/engine/animationnodes/animationbasenode.cxx
+++ b/slideshow/source/engine/animationnodes/animationbasenode.cxx
@@ -20,6 +20,7 @@
 
 #include <cppuhelper/exc_hlp.hxx>
 #include <comphelper/anytostring.hxx>
+#include <sal/log.hxx>
 #include <com/sun/star/presentation/ParagraphTarget.hpp>
 #include <com/sun/star/animations/Timing.hpp>
 #include <com/sun/star/animations/AnimationAdditiveMode.hpp>
diff --git a/slideshow/source/engine/animationnodes/animationnodefactory.cxx b/slideshow/source/engine/animationnodes/animationnodefactory.cxx
index 1d0edaa2e683..a02feb9bb085 100644
--- a/slideshow/source/engine/animationnodes/animationnodefactory.cxx
+++ b/slideshow/source/engine/animationnodes/animationnodefactory.cxx
@@ -26,6 +26,7 @@
 #include <com/sun/star/presentation/ParagraphTarget.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <basegfx/numeric/ftools.hxx>
+#include <sal/log.hxx>
 
 #include <animationnodefactory.hxx>
 #include "paralleltimecontainer.hxx"
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index c19165f72cbf..bb3c7e3739a7 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -23,6 +23,7 @@
 #include <tools.hxx>
 #include "nodetools.hxx"
 #include <delayevent.hxx>
+#include <sal/log.hxx>
 
 #include <functional>
 #include <algorithm>
diff --git a/slideshow/source/engine/animationnodes/basenode.cxx b/slideshow/source/engine/animationnodes/basenode.cxx
index 16dec389d38d..bfe066e5b5a9 100644
--- a/slideshow/source/engine/animationnodes/basenode.cxx
+++ b/slideshow/source/engine/animationnodes/basenode.cxx
@@ -34,6 +34,8 @@
 #include "nodetools.hxx"
 #include "generateevent.hxx"
 
+#include <sal/log.hxx>
+
 #include <vector>
 #include <algorithm>
 #include <iterator>
diff --git a/slideshow/source/engine/attributemap.cxx b/slideshow/source/engine/attributemap.cxx
index 3b5da058404e..905e5d8cba35 100644
--- a/slideshow/source/engine/attributemap.cxx
+++ b/slideshow/source/engine/attributemap.cxx
@@ -22,6 +22,7 @@
 
 #include <attributemap.hxx>
 #include <tools.hxx>
+#include <sal/log.hxx>
 
 
 namespace slideshow
diff --git a/slideshow/source/engine/eventqueue.cxx b/slideshow/source/engine/eventqueue.cxx
index 8fc545ee5b09..e1c53c4da4f6 100644
--- a/slideshow/source/engine/eventqueue.cxx
+++ b/slideshow/source/engine/eventqueue.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
diff --git a/slideshow/source/engine/opengl/TransitionImpl.cxx b/slideshow/source/engine/opengl/TransitionImpl.cxx
index 927e0d72130d..3cb49ea23061 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.cxx
@@ -30,6 +30,7 @@
 #include <glm/gtc/type_ptr.hpp>
 #include <vcl/opengl/OpenGLHelper.hxx>
 #include <vcl/opengl/OpenGLContext.hxx>
+#include <sal/log.hxx>
 
 #include <algorithm>
 #include <array>
diff --git a/slideshow/source/engine/opengl/TransitionerImpl.cxx b/slideshow/source/engine/opengl/TransitionerImpl.cxx
index b0ceabef524b..663efa8a8710 100644
--- a/slideshow/source/engine/opengl/TransitionerImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionerImpl.cxx
@@ -53,6 +53,7 @@
 #include <cppuhelper/basemutex.hxx>
 #include <cppuhelper/factory.hxx>
 #include <rtl/ref.hxx>
+#include <sal/log.hxx>
 
 #include <comphelper/servicedecl.hxx>
 
diff --git a/slideshow/source/engine/pointersymbol.cxx b/slideshow/source/engine/pointersymbol.cxx
index 14c5bdea0b08..52c453e3eea6 100644
--- a/slideshow/source/engine/pointersymbol.cxx
+++ b/slideshow/source/engine/pointersymbol.cxx
@@ -22,6 +22,7 @@
 
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
+#include <sal/log.hxx>
 
 #include <basegfx/point/b2dpoint.hxx>
 #include <basegfx/vector/b2dvector.hxx>
diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx b/slideshow/source/engine/rehearsetimingsactivity.cxx
index e02d8fc8ab3c..c4c3dc4ee9ea 100644
--- a/slideshow/source/engine/rehearsetimingsactivity.cxx
+++ b/slideshow/source/engine/rehearsetimingsactivity.cxx
@@ -28,6 +28,7 @@
 #include <cppcanvas/vclfactory.hxx>
 #include <cppcanvas/basegfxfactory.hxx>
 #include <basegfx/range/b2drange.hxx>
+#include <sal/log.hxx>
 
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/shapes/backgroundshape.cxx b/slideshow/source/engine/shapes/backgroundshape.cxx
index 75ff09d55f7a..12d7f8a61736 100644
--- a/slideshow/source/engine/shapes/backgroundshape.cxx
+++ b/slideshow/source/engine/shapes/backgroundshape.cxx
@@ -26,6 +26,7 @@
 #include <vcl/gdimtf.hxx>
 
 #include <basegfx/numeric/ftools.hxx>
+#include <sal/log.hxx>
 
 #include <cmath>
 #include <algorithm>
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
index 2a642b1a230d..05bd61f61f27 100644
--- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx
+++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
@@ -27,6 +27,7 @@
 #include <cppuhelper/exc_hlp.hxx>
 
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 #include <vcl/metric.hxx>
 #include <vcl/canvastools.hxx>
 #include <vcl/metaact.hxx>
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx
index 8a8ebffd0783..0aecb7d14949 100644
--- a/slideshow/source/engine/shapes/drawshape.cxx
+++ b/slideshow/source/engine/shapes/drawshape.cxx
@@ -20,6 +20,7 @@
 #include <tools/diagnose_ex.h>
 
 #include <osl/diagnose.hxx>
+#include <sal/log.hxx>
 #include <com/sun/star/awt/Rectangle.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/awt/FontWeight.hpp>
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
index 849df8d9897c..308e0502ab7a 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
@@ -22,6 +22,7 @@
 
 #include <rtl/math.hxx>
 
+#include <sal/log.hxx>
 #include <vcl/metaact.hxx>
 #include <vcl/gdimtf.hxx>
 #include <basegfx/numeric/ftools.hxx>
diff --git a/slideshow/source/engine/shapes/externalshapebase.cxx b/slideshow/source/engine/shapes/externalshapebase.cxx
index 148ed3a6de39..fc7b00ead6d1 100644
--- a/slideshow/source/engine/shapes/externalshapebase.cxx
+++ b/slideshow/source/engine/shapes/externalshapebase.cxx
@@ -20,6 +20,7 @@
 
 // must be first
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index 77ff57810ec9..c9b0583fad23 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 #include "gdimtftools.hxx"
 
 #include <com/sun/star/document/XExporter.hpp>
diff --git a/slideshow/source/engine/shapes/viewappletshape.cxx b/slideshow/source/engine/shapes/viewappletshape.cxx
index eb7e739f0fbe..1b6e787009fd 100644
--- a/slideshow/source/engine/shapes/viewappletshape.cxx
+++ b/slideshow/source/engine/shapes/viewappletshape.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/shapes/viewbackgroundshape.cxx b/slideshow/source/engine/shapes/viewbackgroundshape.cxx
index 9888976973d2..029c2a52fbc2 100644
--- a/slideshow/source/engine/shapes/viewbackgroundshape.cxx
+++ b/slideshow/source/engine/shapes/viewbackgroundshape.cxx
@@ -20,6 +20,7 @@
 
 // must be first
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include "viewbackgroundshape.hxx"
 #include <tools.hxx>
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index dd7b2b039a95..d8dcb2bbf4d6 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -26,6 +26,7 @@
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 
+#include <sal/log.hxx>
 #include <vcl/canvastools.hxx>
 #include <vcl/syschild.hxx>
 #include <vcl/sysdata.hxx>
diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx
index d34388568e4d..9fb337a2967a 100644
--- a/slideshow/source/engine/shapes/viewshape.cxx
+++ b/slideshow/source/engine/shapes/viewshape.cxx
@@ -23,6 +23,7 @@
 #include <math.h>
 
 #include <rtl/math.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/rendering/XCanvas.hpp>
 #include <com/sun/star/rendering/XIntegerBitmap.hpp>
diff --git a/slideshow/source/engine/shapesubset.cxx b/slideshow/source/engine/shapesubset.cxx
index b21266947441..cae844363cf5 100644
--- a/slideshow/source/engine/shapesubset.cxx
+++ b/slideshow/source/engine/shapesubset.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/slide/layermanager.cxx b/slideshow/source/engine/slide/layermanager.cxx
index 09c80f2208c1..fd1fbfb5d87e 100644
--- a/slideshow/source/engine/slide/layermanager.cxx
+++ b/slideshow/source/engine/slide/layermanager.cxx
@@ -22,6 +22,7 @@
 #include <basegfx/range/b1drange.hxx>
 #include <basegfx/matrix/b2dhommatrix.hxx>
 
+#include <sal/log.hxx>
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/slide/slideanimations.cxx b/slideshow/source/engine/slide/slideanimations.cxx
index f10f6633a464..43ac2f89e369 100644
--- a/slideshow/source/engine/slide/slideanimations.cxx
+++ b/slideshow/source/engine/slide/slideanimations.cxx
@@ -20,6 +20,7 @@
 
 #include <tools/diagnose_ex.h>
 
+#include <sal/log.hxx>
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index ab1214538af3..9fa0ba900ab6 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -20,6 +20,7 @@
 
 #include <osl/diagnose.hxx>
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 #include <canvas/canvastools.hxx>
 #include <cppcanvas/basegfxfactory.hxx>
 
diff --git a/slideshow/source/engine/slide/userpaintoverlay.cxx b/slideshow/source/engine/slide/userpaintoverlay.cxx
index ebe4d43e5ff3..2f866e32ece1 100644
--- a/slideshow/source/engine/slide/userpaintoverlay.cxx
+++ b/slideshow/source/engine/slide/userpaintoverlay.cxx
@@ -23,6 +23,7 @@
 #include <com/sun/star/awt/MouseButton.hpp>
 #include <com/sun/star/awt/MouseEvent.hpp>
 
+#include <sal/log.hxx>
 #include <basegfx/point/b2dpoint.hxx>
 #include <basegfx/polygon/b2dpolygon.hxx>
 #include <cppcanvas/basegfxfactory.hxx>
diff --git a/slideshow/source/engine/slidebitmap.cxx b/slideshow/source/engine/slidebitmap.cxx
index 2accdd74dcb2..4cf61b727678 100644
--- a/slideshow/source/engine/slidebitmap.cxx
+++ b/slideshow/source/engine/slidebitmap.cxx
@@ -20,6 +20,7 @@
 
 #include <tools/diagnose_ex.h>
 #include <slidebitmap.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/rendering/XCanvas.hpp>
 #include <com/sun/star/rendering/XBitmap.hpp>
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index fda1adf503de..1d21ec44512d 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -46,6 +46,7 @@
 
 #include <vcl/font.hxx>
 #include <rtl/ref.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/util/XModifyListener.hpp>
diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx
index 3755a7cb1a16..a406590fb8ee 100644
--- a/slideshow/source/engine/smilfunctionparser.cxx
+++ b/slideshow/source/engine/smilfunctionparser.cxx
@@ -26,6 +26,7 @@
 #include <expressionnodefactory.hxx>
 
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/point/b2dpoint.hxx>
diff --git a/slideshow/source/engine/soundplayer.cxx b/slideshow/source/engine/soundplayer.cxx
index 9dfffa60fa60..2f19fca124b9 100644
--- a/slideshow/source/engine/soundplayer.cxx
+++ b/slideshow/source/engine/soundplayer.cxx
@@ -22,6 +22,7 @@
 
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/lang/XMultiComponentFactory.hpp>
 #include <com/sun/star/lang/NoSupportException.hpp>
diff --git a/slideshow/source/engine/transitions/fanwipe.cxx b/slideshow/source/engine/transitions/fanwipe.cxx
index 2ddca66b0647..b6720d916ed5 100644
--- a/slideshow/source/engine/transitions/fanwipe.cxx
+++ b/slideshow/source/engine/transitions/fanwipe.cxx
@@ -20,6 +20,7 @@
 
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/matrix/b2dhommatrixtools.hxx>
+#include <sal/log.hxx>
 #include "transitiontools.hxx"
 #include "clockwipe.hxx"
 #include "fanwipe.hxx"
diff --git a/slideshow/source/engine/transitions/shapetransitionfactory.cxx b/slideshow/source/engine/transitions/shapetransitionfactory.cxx
index aba709c87c6f..c32ca07d0e25 100644
--- a/slideshow/source/engine/transitions/shapetransitionfactory.cxx
+++ b/slideshow/source/engine/transitions/shapetransitionfactory.cxx
@@ -24,6 +24,7 @@
 #include <basegfx/numeric/ftools.hxx>
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <sal/log.hxx>
 
 #include <com/sun/star/animations/TransitionType.hpp>
 #include <com/sun/star/animations/TransitionSubType.hpp>
diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
index f310f17c07df..b1ae953e4c01 100644
--- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx
+++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <basegfx/matrix/b2dhommatrix.hxx>
 #include <basegfx/utils/canvastools.hxx>
diff --git a/slideshow/source/engine/usereventqueue.cxx b/slideshow/source/engine/usereventqueue.cxx
index f32eaf500564..6ae688351a48 100644
--- a/slideshow/source/engine/usereventqueue.cxx
+++ b/slideshow/source/engine/usereventqueue.cxx
@@ -19,6 +19,7 @@
 
 
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <cppuhelper/exc_hlp.hxx>
 
diff --git a/slideshow/source/engine/waitsymbol.cxx b/slideshow/source/engine/waitsymbol.cxx
index d99de0052402..b232f42aa5b5 100644
--- a/slideshow/source/engine/waitsymbol.cxx
+++ b/slideshow/source/engine/waitsymbol.cxx
@@ -22,6 +22,7 @@
 
 #include <comphelper/anytostring.hxx>
 #include <cppuhelper/exc_hlp.hxx>
+#include <sal/log.hxx>
 
 #include <basegfx/point/b2dpoint.hxx>
 #include <basegfx/vector/b2dvector.hxx>
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index cef4ab9b46b3..fe3d29363942 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -19,6 +19,7 @@
 
 #include <rtl/ref.hxx>
 #include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
 
 #include <cppuhelper/bootstrap.hxx>
 #include <cppuhelper/servicefactory.hxx>
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index e05460f4ae39..bcfff0d51118 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -26,6 +26,7 @@
 #include "stgio.hxx"
 #include <o3tl/safeint.hxx>
 #include <rtl/instance.hxx>
+#include <sal/log.hxx>
 
 #include <memory>
 
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 85279dec46cc..93215f6ccd0b 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <com/sun/star/embed/XStorage.hpp>
 #include <com/sun/star/embed/ElementModes.hpp>
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index dfca9d6b9211..a943f2d8272f 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -47,6 +47,7 @@
 #include <rtl/digest.h>
 #include <osl/diagnose.h>
 #include <osl/file.hxx>
+#include <sal/log.hxx>
 #include <tools/ref.hxx>
 #include <tools/debug.hxx>
 #include <unotools/streamhelper.hxx>
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index b55b264182a4..6477e6095357 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <memory>
 
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 950c6ca23ce9..29688315f17e 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -29,6 +29,7 @@
 #include <vcl/outdev.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <sal/log.hxx>
 
 #include <officecfg/Office/Math.hxx>
 #include "cfgitem.hxx"
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 1dabf0abd0b3..27860ce1ec65 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <cassert>
 
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 5e8504a52db6..7a443b998014 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -25,6 +25,7 @@
 #include <o3tl/make_unique.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 #include <unotools/eventcfg.hxx>
 #include <sfx2/event.hxx>
 #include <sfx2/app.hxx>
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 14964b100260..1ba6adce7c30 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -49,6 +49,7 @@
 #include <comphelper/genericpropertyset.hxx>
 #include <comphelper/servicehelper.hxx>
 #include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
 
 #include <memory>
 #include <stack>
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index dae1fc20ed30..eff9032df3e7 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -40,6 +40,7 @@ one go*/
 #include <comphelper/servicehelper.hxx>
 #include <o3tl/make_unique.hxx>
 #include <rtl/character.hxx>
+#include <sal/log.hxx>
 #include <sfx2/frame.hxx>
 #include <sfx2/docfile.hxx>
 #include <sfx2/sfxsids.hrc>
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index af59301b8f80..14f6ce75e016 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -23,6 +23,7 @@
 #include <osl/diagnose.h>
 #include <sfx2/docfile.hxx>
 #include <sot/storage.hxx>
+#include <sal/log.hxx>
 
 #include "eqnolefilehdr.hxx"
 #include <node.hxx>
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 226e813d0120..c9672e22e942 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -32,6 +32,7 @@
 #include <tools/fract.hxx>
 #include <tools/gen.hxx>
 #include <vcl/outdev.hxx>
+#include <sal/log.hxx>
 
 #include <cassert>
 #include <math.h>
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx
index 74f5ef77c45f..b73068ee8ccf 100644
--- a/starmath/source/ooxmlexport.cxx
+++ b/starmath/source/ooxmlexport.cxx
@@ -12,6 +12,7 @@
 
 #include <oox/token/tokens.hxx>
 #include <rtl/ustring.hxx>
+#include <sal/log.hxx>
 
 using namespace oox;
 using namespace oox::core;
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx
index 6cfefc210569..7efa01d6740e 100644
--- a/starmath/source/ooxmlimport.cxx
+++ b/starmath/source/ooxmlimport.cxx
@@ -16,6 +16,7 @@
 #include <oox/token/namespaces.hxx>
 #include <rtl/ustring.hxx>
 #include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
 
 using namespace oox::formulaimport;
 
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 232a5273f3bc..051c62d5de8d 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -24,6 +24,7 @@
 #include <unotools/configmgr.hxx>
 #include <unotools/syslocale.hxx>
 #include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
 #include <parse.hxx>
 #include <strings.hrc>
 #include <smmod.hxx>
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx
index 1ec45fbeb10d..c59e43dd7c45 100644
--- a/starmath/source/rect.cxx
+++ b/starmath/source/rect.cxx
@@ -20,6 +20,7 @@
 #include <osl/diagnose.h>
 #include <vcl/svapp.hxx>
 #include <vcl/virdev.hxx>
+#include <sal/log.hxx>
 
 #include <rect.hxx>
 #include <types.hxx>
diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx
index 9835ffbf9f4a..2ffbd1a83b13 100644
--- a/starmath/source/rtfexport.cxx
+++ b/starmath/source/rtfexport.cxx
@@ -12,6 +12,7 @@
 
 #include <svtools/rtfkeywd.hxx>
 #include <filter/msfilter/rtfutil.hxx>
+#include <sal/log.hxx>
 
 SmRtfExport::SmRtfExport(const SmNode* pIn)
     : SmWordExportBase(pIn)
diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx
index c3e903575111..532cca0d574d 100644
--- a/starmath/source/smdetect.cxx
+++ b/starmath/source/smdetect.cxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/io/XInputStream.hpp>
 #include <sfx2/docfile.hxx>
 #include <unotools/mediadescriptor.hxx>
+#include <sal/log.hxx>
 
 #include "eqnolefilehdr.hxx"
 
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx
index d989595cc14e..a618d2882b77 100644
--- a/starmath/source/symbol.cxx
+++ b/starmath/source/symbol.cxx
@@ -23,6 +23,7 @@
 #include <utility.hxx>
 #include "cfgitem.hxx"
 #include <smmod.hxx>
+#include <sal/log.hxx>
 
 
 SmSym::SmSym() :
diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx
index 231204ea4631..cdfaf41337ba 100644
--- a/starmath/source/tmpdevice.cxx
+++ b/starmath/source/tmpdevice.cxx
@@ -21,6 +21,7 @@
 #include "tmpdevice.hxx"
 
 #include <vcl/window.hxx>
+#include <sal/log.hxx>
 
 // SmTmpDevice
 // Allows for font and color changes. The original settings will be restored
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 1c66e2b44825..e58f9d80b04d 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -18,6 +18,7 @@
  */
 
 #include <sal/config.h>
+#include <sal/log.hxx>
 
 #include <utility>
 
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index a95376d75864..6270bca09777 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -53,6 +53,7 @@
 #include <vcl/decoview.hxx>
 #include <vcl/menu.hxx>
 #include <vcl/settings.hxx>
+#include <sal/log.hxx>
 
 #include <unotools/streamwrap.hxx>
 
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index fdb1e2103de8..3d7d7c7545bc 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -7,6 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include <sal/log.hxx>
 #include <tools/gen.hxx>
 #include <vcl/lineinfo.hxx>
 #include <visitors.hxx>
diff --git a/starmath/source/wordexportbase.cxx b/starmath/source/wordexportbase.cxx
index 02929e438514..2529bc997cd7 100644
--- a/starmath/source/wordexportbase.cxx
+++ b/starmath/source/wordexportbase.cxx
@@ -9,6 +9,7 @@
 
 #include "wordexportbase.hxx"
 #include <node.hxx>
+#include <sal/log.hxx>
 
 SmWordExportBase::SmWordExportBase(const SmNode* pIn)
     : m_pTree(pIn)


More information about the Libreoffice-commits mailing list