summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/IconThemeScanner.cxx1
-rw-r--r--vcl/source/app/help.cxx1
-rw-r--r--vcl/source/app/session.cxx1
-rw-r--r--vcl/source/app/svapp.cxx1
-rw-r--r--vcl/source/app/svdata.cxx1
-rw-r--r--vcl/source/app/svmain.cxx1
-rw-r--r--vcl/source/app/timer.cxx1
-rw-r--r--vcl/source/app/unohelp2.cxx1
-rw-r--r--vcl/source/bitmap/BitmapFastScaleFilter.cxx1
-rw-r--r--vcl/source/bitmap/BitmapScaleSuperFilter.cxx1
-rw-r--r--vcl/source/bitmap/BitmapTools.cxx1
-rw-r--r--vcl/source/bitmap/bitmapfilter.cxx1
-rw-r--r--vcl/source/control/button.cxx1
-rw-r--r--vcl/source/control/combobox.cxx1
-rw-r--r--vcl/source/control/ctrl.cxx1
-rw-r--r--vcl/source/control/edit.cxx1
-rw-r--r--vcl/source/control/field.cxx1
-rw-r--r--vcl/source/control/fixed.cxx1
-rw-r--r--vcl/source/control/imp_listbox.cxx1
-rw-r--r--vcl/source/control/listbox.cxx1
-rw-r--r--vcl/source/control/longcurr.cxx1
-rw-r--r--vcl/source/control/prgsbar.cxx1
-rw-r--r--vcl/source/control/quickselectionengine.cxx1
-rw-r--r--vcl/source/control/scrbar.cxx1
-rw-r--r--vcl/source/control/spinfld.cxx1
-rw-r--r--vcl/source/control/tabctrl.cxx1
-rw-r--r--vcl/source/control/throbber.cxx1
-rw-r--r--vcl/source/edit/textdata.cxx1
-rw-r--r--vcl/source/edit/textdoc.cxx1
-rw-r--r--vcl/source/edit/texteng.cxx1
-rw-r--r--vcl/source/edit/textundo.cxx1
-rw-r--r--vcl/source/edit/textview.cxx1
-rw-r--r--vcl/source/filter/graphicfilter.cxx1
-rw-r--r--vcl/source/filter/igif/gifread.cxx1
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx1
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx1
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx1
-rw-r--r--vcl/source/font/fontcache.cxx1
-rw-r--r--vcl/source/font/fontcharmap.cxx1
-rw-r--r--vcl/source/font/fontmetric.cxx1
-rw-r--r--vcl/source/fontsubset/cff.cxx1
-rw-r--r--vcl/source/fontsubset/fontsubset.cxx1
-rw-r--r--vcl/source/fontsubset/sft.cxx1
-rw-r--r--vcl/source/fontsubset/xlat.cxx1
-rw-r--r--vcl/source/gdi/CommonSalLayout.cxx1
-rw-r--r--vcl/source/gdi/alpha.cxx1
-rw-r--r--vcl/source/gdi/animate.cxx1
-rw-r--r--vcl/source/gdi/bitmap3.cxx1
-rw-r--r--vcl/source/gdi/bitmapex.cxx1
-rw-r--r--vcl/source/gdi/bmpacc.cxx1
-rw-r--r--vcl/source/gdi/bmpfast.cxx1
-rw-r--r--vcl/source/gdi/configsettings.cxx1
-rw-r--r--vcl/source/gdi/dibtools.cxx1
-rw-r--r--vcl/source/gdi/embeddedfontshelper.cxx1
-rw-r--r--vcl/source/gdi/gdimtf.cxx1
-rw-r--r--vcl/source/gdi/gfxlink.cxx1
-rw-r--r--vcl/source/gdi/impgraph.cxx1
-rw-r--r--vcl/source/gdi/impvect.cxx1
-rw-r--r--vcl/source/gdi/jobset.cxx1
-rw-r--r--vcl/source/gdi/metaact.cxx1
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx1
-rw-r--r--vcl/source/gdi/pngread.cxx1
-rw-r--r--vcl/source/gdi/print.cxx1
-rw-r--r--vcl/source/gdi/print2.cxx1
-rw-r--r--vcl/source/gdi/print3.cxx1
-rw-r--r--vcl/source/gdi/regband.cxx1
-rw-r--r--vcl/source/gdi/region.cxx1
-rw-r--r--vcl/source/gdi/regionband.cxx1
-rw-r--r--vcl/source/gdi/salgdilayout.cxx1
-rw-r--r--vcl/source/gdi/sallayout.cxx1
-rw-r--r--vcl/source/gdi/salmisc.cxx1
-rw-r--r--vcl/source/gdi/svmconverter.cxx1
-rw-r--r--vcl/source/gdi/textlayout.cxx1
-rw-r--r--vcl/source/gdi/vectorgraphicdata.cxx1
-rw-r--r--vcl/source/gdi/virdev.cxx1
-rw-r--r--vcl/source/graphic/Manager.cxx1
-rw-r--r--vcl/source/graphic/UnoGraphicProvider.cxx1
-rw-r--r--vcl/source/helper/canvastools.cxx1
-rw-r--r--vcl/source/helper/lazydelete.cxx1
-rw-r--r--vcl/source/image/ImplImageTree.cxx1
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx1
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx1
-rw-r--r--vcl/source/outdev/bitmap.cxx1
-rw-r--r--vcl/source/outdev/font.cxx1
-rw-r--r--vcl/source/outdev/map.cxx1
-rw-r--r--vcl/source/outdev/nativecontrols.cxx1
-rw-r--r--vcl/source/outdev/outdev.cxx1
-rw-r--r--vcl/source/outdev/outdevstate.cxx1
-rw-r--r--vcl/source/outdev/pixel.cxx1
-rw-r--r--vcl/source/outdev/text.cxx1
-rw-r--r--vcl/source/uitest/uiobject.cxx1
-rw-r--r--vcl/source/window/accel.cxx2
-rw-r--r--vcl/source/window/accessibility.cxx1
-rw-r--r--vcl/source/window/debugevent.cxx1
-rw-r--r--vcl/source/window/dlgctrl.cxx1
-rw-r--r--vcl/source/window/dndeventdispatcher.cxx1
-rw-r--r--vcl/source/window/dockmgr.cxx1
-rw-r--r--vcl/source/window/dockwin.cxx1
-rw-r--r--vcl/source/window/errinf.cxx1
-rw-r--r--vcl/source/window/event.cxx1
-rw-r--r--vcl/source/window/floatwin.cxx1
-rw-r--r--vcl/source/window/layout.cxx1
-rw-r--r--vcl/source/window/menu.cxx1
-rw-r--r--vcl/source/window/menubarwindow.cxx1
-rw-r--r--vcl/source/window/menufloatingwindow.cxx1
-rw-r--r--vcl/source/window/paint.cxx1
-rw-r--r--vcl/source/window/printdlg.cxx1
-rw-r--r--vcl/source/window/scrwnd.cxx1
-rw-r--r--vcl/source/window/seleng.cxx1
-rw-r--r--vcl/source/window/splitwin.cxx1
-rw-r--r--vcl/source/window/stacking.cxx1
-rw-r--r--vcl/source/window/status.cxx1
-rw-r--r--vcl/source/window/syswin.cxx1
-rw-r--r--vcl/source/window/toolbox.cxx1
-rw-r--r--vcl/source/window/toolbox2.cxx1
-rw-r--r--vcl/source/window/window.cxx1
-rw-r--r--vcl/source/window/window2.cxx1
-rw-r--r--vcl/source/window/winproc.cxx1
-rw-r--r--vcl/source/window/wrkwin.cxx1
121 files changed, 121 insertions, 1 deletions
diff --git a/vcl/source/app/IconThemeScanner.cxx b/vcl/source/app/IconThemeScanner.cxx
index 86cf5112b15b..9ffc84d9bc12 100644
--- a/vcl/source/app/IconThemeScanner.cxx
+++ b/vcl/source/app/IconThemeScanner.cxx
@@ -8,6 +8,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <deque>
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 35ef7ca2a476..d3ae8f7923f0 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -18,6 +18,7 @@
*/
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
#include <tools/time.hxx>
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 35ec2f8cdb83..5679c7a9fb63 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 33420e5456fc..1bd65ba0570f 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -25,6 +25,7 @@
#include <rtl/tencinfo.h>
#include <rtl/instance.hxx>
+#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/time.hxx>
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index d1f5480a27ed..414182375ce4 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -25,6 +25,7 @@
#include <tools/gen.hxx>
#include <unotools/resmgr.hxx>
#include <uno/current_context.hxx>
+#include <sal/log.hxx>
#include <vcl/button.hxx>
#include <vcl/configsettings.hxx>
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 471abc951ffc..924d94052397 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cassert>
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index 142a9c56b006..4e64c8806500 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/log.hxx>
#include <tools/time.hxx>
#include <vcl/timer.hxx>
#include <vcl/scheduler.hxx>
diff --git a/vcl/source/app/unohelp2.cxx b/vcl/source/app/unohelp2.cxx
index 80d829964819..832156788215 100644
--- a/vcl/source/app/unohelp2.cxx
+++ b/vcl/source/app/unohelp2.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/log.hxx>
#include <vcl/unohelp2.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
diff --git a/vcl/source/bitmap/BitmapFastScaleFilter.cxx b/vcl/source/bitmap/BitmapFastScaleFilter.cxx
index 6bf1700a476f..5d02e5ea32c6 100644
--- a/vcl/source/bitmap/BitmapFastScaleFilter.cxx
+++ b/vcl/source/bitmap/BitmapFastScaleFilter.cxx
@@ -24,6 +24,7 @@
#include <bitmapwriteaccess.hxx>
#include <BitmapFastScaleFilter.hxx>
+#include <sal/log.hxx>
BitmapEx BitmapFastScaleFilter::execute(BitmapEx const& rBitmapEx)
{
diff --git a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
index 01e922a9fa57..10ab46f5214c 100644
--- a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
+++ b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx
@@ -26,6 +26,7 @@
#include <algorithm>
#include <memory>
+#include <sal/log.hxx>
namespace {
diff --git a/vcl/source/bitmap/BitmapTools.cxx b/vcl/source/bitmap/BitmapTools.cxx
index 40f6c3d7258b..4f13511a5fab 100644
--- a/vcl/source/bitmap/BitmapTools.cxx
+++ b/vcl/source/bitmap/BitmapTools.cxx
@@ -10,6 +10,7 @@
#include <vcl/BitmapTools.hxx>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/seqstream.hxx>
#include <vcl/canvastools.hxx>
diff --git a/vcl/source/bitmap/bitmapfilter.cxx b/vcl/source/bitmap/bitmapfilter.cxx
index 4c20a83f0d40..51aae7bd8a0d 100644
--- a/vcl/source/bitmap/bitmapfilter.cxx
+++ b/vcl/source/bitmap/bitmapfilter.cxx
@@ -12,6 +12,7 @@
#include <vcl/animate.hxx>
#include <algorithm>
+#include <sal/log.hxx>
BitmapFilter::BitmapFilter() {}
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 87d7b795e0fc..bfbbd4ab191d 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -43,6 +43,7 @@
#include <window.h>
#include <controldata.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <comphelper/dispatchcommand.hxx>
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 92ae580010f6..1aac3df64063 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -28,6 +28,7 @@
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <listbox.hxx>
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 1d0b0c288858..dc1a66e530f9 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -26,6 +26,7 @@
#include <vcl/salnativewidgets.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/logger.hxx>
+#include <sal/log.hxx>
#include <textlayout.hxx>
#include <svdata.hxx>
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 108ce15a984f..6349df729ffb 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -59,6 +59,7 @@
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/unohelp2.hxx>
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 2efb11938131..c4ce25c48a5e 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <comphelper/string.hxx>
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 2cf897c2fd82..74fb8c407250 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -26,6 +26,7 @@
#include <vcl/settings.hxx>
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
#include <controldata.hxx>
#include <window.h>
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 32a82b1ac2cf..46418d2a1b22 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -38,6 +38,7 @@
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <rtl/instance.hxx>
+#include <sal/log.hxx>
#include <comphelper/string.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index 1d8e256e80e2..d2e419a1a7a6 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -28,6 +28,7 @@
#include <vcl/combobox.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <controldata.hxx>
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index 183782037716..cc5da9b3409c 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -19,6 +19,7 @@
#include <comphelper/string.hxx>
#include <tools/bigint.hxx>
+#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index ac21e7c98ca3..20525ca63efc 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -20,6 +20,7 @@
#include <vcl/status.hxx>
#include <vcl/prgsbar.hxx>
#include <vcl/settings.hxx>
+#include <sal/log.hxx>
#define PROGRESSBAR_OFFSET 3
#define PROGRESSBAR_WIN_OFFSET 2
diff --git a/vcl/source/control/quickselectionengine.cxx b/vcl/source/control/quickselectionengine.cxx
index c04931146d72..2e04cf68e164 100644
--- a/vcl/source/control/quickselectionengine.cxx
+++ b/vcl/source/control/quickselectionengine.cxx
@@ -23,6 +23,7 @@
#include <vcl/i18nhelp.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
+#include <sal/log.hxx>
#include <boost/optional.hpp>
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index 4efc0c807061..61d22c90e3d9 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -26,6 +26,7 @@
#include <svdata.hxx>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
/* #i77549#
HACK: for scrollbars in case of thumb rect, page up and page down rect we
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 99e8703d6bfe..f73ecec535c8 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -22,6 +22,7 @@
#include <vcl/spinfld.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
+#include <sal/log.hxx>
#include <controldata.hxx>
#include <spin.hxx>
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 1b55b832b569..1c42ba9d081a 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/notebookbar.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/control/throbber.cxx b/vcl/source/control/throbber.cxx
index b45e25cec9fb..eae208bf1698 100644
--- a/vcl/source/control/throbber.cxx
+++ b/vcl/source/control/throbber.cxx
@@ -28,6 +28,7 @@
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx
index 95136829cdbe..493cb434e5de 100644
--- a/vcl/source/edit/textdata.cxx
+++ b/vcl/source/edit/textdata.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cstddef>
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx
index d9b540ddf86d..1c77a626dbfd 100644
--- a/vcl/source/edit/textdoc.cxx
+++ b/vcl/source/edit/textdoc.cxx
@@ -21,6 +21,7 @@
#include "textdoc.hxx"
#include <stdlib.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
// compare function called by QuickSort
static bool CompareStart( const std::unique_ptr<TextCharAttrib>& pFirst, const std::unique_ptr<TextCharAttrib>& pSecond )
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 3205651c6f05..1f78eaea55cd 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -29,6 +29,7 @@
#include <vcl/window.hxx>
#include <vcl/settings.hxx>
#include <vcl/edit.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index 724745cf08d0..80e26d34c577 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -21,6 +21,7 @@
#include "textund2.hxx"
#include <strings.hrc>
+#include <sal/log.hxx>
#include <vcl/texteng.hxx>
#include <vcl/textview.hxx>
#include <vcl/textdata.hxx>
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index d18797493341..5eb59e3eac9e 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -35,6 +35,7 @@
#include <vcl/svapp.hxx>
#include <tools/stream.hxx>
+#include <sal/log.hxx>
#include <sot/formats.hxx>
#include <svl/urlbmk.hxx>
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index fbf495aec3af..3a96985879cc 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -19,6 +19,7 @@
#include <config_folders.h>
+#include <sal/log.hxx>
#include <o3tl/make_unique.hxx>
#include <osl/mutex.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index 0000ef1ce61d..8698a2672f3f 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/log.hxx>
#include "decode.hxx"
#include "gifread.hxx"
#include <memory>
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx b/vcl/source/filter/jpeg/JpegWriter.cxx
index c5916a7a992d..49e4c6057858 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include "jpeg.h"
#include <jpeglib.h>
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index c24b23463c21..cd87781ebd4f 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <stdio.h>
#include <stdlib.h>
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index ed02add407cc..17d119f4ee60 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index 333bc8415c08..080521c771c9 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -24,6 +24,7 @@
#include <PhysicalFontCollection.hxx>
#include <PhysicalFontFace.hxx>
#include <PhysicalFontFamily.hxx>
+#include <sal/log.hxx>
size_t ImplFontCache::IFSD_Hash::operator()( const FontSelectPattern& rFSD ) const
{
diff --git a/vcl/source/font/fontcharmap.cxx b/vcl/source/font/fontcharmap.cxx
index bafa613b764d..153d5b62a918 100644
--- a/vcl/source/font/fontcharmap.cxx
+++ b/vcl/source/font/fontcharmap.cxx
@@ -18,6 +18,7 @@
#include <vcl/fontcharmap.hxx>
#include <fontinstance.hxx>
#include <impfontcharmap.hxx>
+#include <sal/log.hxx>
#include <vector>
#include <set>
diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx
index 4ef24c848ade..e6b507b161a6 100644
--- a/vcl/source/font/fontmetric.cxx
+++ b/vcl/source/font/fontmetric.cxx
@@ -22,6 +22,7 @@
#include <unotools/configmgr.hxx>
#include <vcl/fontcharmap.hxx>
#include <vcl/metric.hxx>
+#include <sal/log.hxx>
#include <fontinstance.hxx>
#include <fontselect.hxx>
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index c573c88b5737..02a61e32d0d2 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -25,6 +25,7 @@
#include <fontsubset.hxx>
#include <vcl/strhelper.hxx>
+#include <sal/log.hxx>
typedef sal_uInt8 U8;
typedef sal_uInt16 U16;
diff --git a/vcl/source/fontsubset/fontsubset.cxx b/vcl/source/fontsubset/fontsubset.cxx
index 8d2e1cf14218..2b50ed408a19 100644
--- a/vcl/source/fontsubset/fontsubset.cxx
+++ b/vcl/source/fontsubset/fontsubset.cxx
@@ -19,6 +19,7 @@
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <fontsubset.hxx>
#include <sft.hxx>
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index 20e4f8382eaa..54dacc25152e 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -38,6 +38,7 @@
#include "xlat.hxx"
#include <rtl/crc.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <osl/endian.h>
#include <algorithm>
diff --git a/vcl/source/fontsubset/xlat.cxx b/vcl/source/fontsubset/xlat.cxx
index 2a4e38175030..042d8e79517d 100644
--- a/vcl/source/fontsubset/xlat.cxx
+++ b/vcl/source/fontsubset/xlat.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/textcvt.h>
+#include <sal/log.hxx>
#include "xlat.hxx"
namespace {
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 3d5d235fb601..2ce4e6890789 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -23,6 +23,7 @@
#include <sallayout.hxx>
+#include <sal/log.hxx>
#include <unotools/configmgr.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/font/Feature.hxx>
diff --git a/vcl/source/gdi/alpha.cxx b/vcl/source/gdi/alpha.cxx
index ae385ace0107..16e9c9965556 100644
--- a/vcl/source/gdi/alpha.cxx
+++ b/vcl/source/gdi/alpha.cxx
@@ -21,6 +21,7 @@
#include <tools/color.hxx>
#include <vcl/alpha.hxx>
#include <bitmapwriteaccess.hxx>
+#include <sal/log.hxx>
AlphaMask::AlphaMask() = default;
diff --git a/vcl/source/gdi/animate.cxx b/vcl/source/gdi/animate.cxx
index 6896b1736a48..22519fa5b810 100644
--- a/vcl/source/gdi/animate.cxx
+++ b/vcl/source/gdi/animate.cxx
@@ -19,6 +19,7 @@
#include <tools/stream.hxx>
#include <rtl/crc.h>
+#include <sal/log.hxx>
#include <vcl/animate.hxx>
#include <vcl/virdev.hxx>
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index e178a0c845b3..2994bbc610aa 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -24,6 +24,7 @@
#include <vcl/bitmapex.hxx>
#include <vcl/bitmap.hxx>
#include <config_features.h>
+#include <sal/log.hxx>
#if HAVE_FEATURE_OPENGL
#include <vcl/opengl/OpenGLHelper.hxx>
#endif
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 4f3ac4f0b5da..ae7e5bcd858d 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -19,6 +19,7 @@
#include <rtl/crc.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx
index ae82afd2bc0f..d180d8600d1d 100644
--- a/vcl/source/gdi/bmpacc.cxx
+++ b/vcl/source/gdi/bmpacc.cxx
@@ -27,6 +27,7 @@
#include <salinst.hxx>
#include <string.h>
+#include <sal/log.hxx>
BitmapInfoAccess::BitmapInfoAccess( Bitmap& rBitmap, BitmapAccessMode nMode ) :
mpBuffer ( nullptr ),
diff --git a/vcl/source/gdi/bmpfast.cxx b/vcl/source/gdi/bmpfast.cxx
index be98cf70ee95..3f1d678f9767 100644
--- a/vcl/source/gdi/bmpfast.cxx
+++ b/vcl/source/gdi/bmpfast.cxx
@@ -24,6 +24,7 @@
#define FAST_ARGB_BGRA
#include <stdlib.h>
+#include <sal/log.hxx>
typedef unsigned char PIXBYTE;
diff --git a/vcl/source/gdi/configsettings.cxx b/vcl/source/gdi/configsettings.cxx
index a63fb540a1f6..d4419f52b460 100644
--- a/vcl/source/gdi/configsettings.cxx
+++ b/vcl/source/gdi/configsettings.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <o3tl/any.hxx>
+#include <sal/log.hxx>
using namespace utl;
using namespace vcl;
diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index f3a5456d2c93..62262bae7990 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cassert>
diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx
index 55ff565988b8..30a6ae5b2ee3 100644
--- a/vcl/source/gdi/embeddedfontshelper.cxx
+++ b/vcl/source/gdi/embeddedfontshelper.cxx
@@ -13,6 +13,7 @@
#include <osl/file.hxx>
#include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/embeddedfontshelper.hxx>
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index afad52d2cc3e..2c6a981d1542 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -20,6 +20,7 @@
#include <rtl/crc.h>
#include <cstdlib>
#include <memory>
+#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/fract.hxx>
diff --git a/vcl/source/gdi/gfxlink.cxx b/vcl/source/gdi/gfxlink.cxx
index d37938dba8a0..825823926a0d 100644
--- a/vcl/source/gdi/gfxlink.cxx
+++ b/vcl/source/gdi/gfxlink.cxx
@@ -18,6 +18,7 @@
*/
#include <osl/file.h>
+#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <unotools/tempfile.hxx>
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 467e130c8738..c0767474a01a 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <comphelper/fileformat.h>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx
index 0c6acb105fda..8f80bbb11cf6 100644
--- a/vcl/source/gdi/impvect.cxx
+++ b/vcl/source/gdi/impvect.cxx
@@ -19,6 +19,7 @@
#include <stdlib.h>
+#include <sal/log.hxx>
#include <o3tl/make_unique.hxx>
#include <vcl/bitmapaccess.hxx>
#include <tools/poly.hxx>
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx
index 95c8669a7f97..6326c6703a6b 100644
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@ -19,6 +19,7 @@
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <vcl/jobset.hxx>
#include <jobset.h>
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 013662a7ab5a..f7d39099d624 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string.h>
#include <osl/thread.h>
+#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/helpers.hxx>
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 4384d96e1a47..cd9dbfbc4ac1 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -26,6 +26,7 @@
#include <vcl/graphicfilter.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
+#include <sal/log.hxx>
#include <set>
#include <memory>
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 85d71d4c7844..7fd72ab9a671 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -55,6 +55,7 @@
#include <rtl/crc.h>
#include <rtl/digest.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <svl/urihelper.hxx>
#include <tools/debug.hxx>
#include <tools/fract.hxx>
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 562bec80759b..1551a6e36d67 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -45,6 +45,7 @@
#include <cppuhelper/implbase.hxx>
#include <rtl/digest.h>
+#include <sal/log.hxx>
#include <memory>
using namespace vcl;
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index f4195fd5c352..908dc4c3d460 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cassert>
#include <memory>
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 4760cdff6e90..b11b453395c8 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/types.h>
+#include <sal/log.hxx>
#include <tools/helpers.hxx>
diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx
index e131b061557b..dc72c5533e4b 100644
--- a/vcl/source/gdi/print2.cxx
+++ b/vcl/source/gdi/print2.cxx
@@ -25,6 +25,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
+#include <sal/log.hxx>
#include <vcl/virdev.hxx>
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 64d316bdd4aa..bcffc811fc67 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -27,6 +27,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <printdlg.hxx>
#include <svdata.hxx>
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 5b6d8efd856b..90af8e74da06 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -21,6 +21,7 @@
#include <tools/helpers.hxx>
#include <osl/diagnose.hxx>
+#include <sal/log.hxx>
#include <regband.hxx>
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 3beb8864db6b..abfc5ad55357 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -23,6 +23,7 @@
#include <tools/stream.hxx>
#include <tools/helpers.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <vcl/region.hxx>
#include <regionband.hxx>
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx
index 0cd74fa869a2..50f0cecd6616 100644
--- a/vcl/source/gdi/regionband.cxx
+++ b/vcl/source/gdi/regionband.cxx
@@ -21,6 +21,7 @@
#include <tools/debug.hxx>
#include <regionband.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
RegionBand::RegionBand()
: mpFirstBand(nullptr),
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx
index 47b2f7590321..8a70deeb3a59 100644
--- a/vcl/source/gdi/salgdilayout.cxx
+++ b/vcl/source/gdi/salgdilayout.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <config_features.h>
+#include <sal/log.hxx>
#if HAVE_FEATURE_OPENGL
#include <openglgdiimpl.hxx>
#include <opengl/zone.hxx>
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index d921354879fc..4ab8e9376cb4 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -21,6 +21,7 @@
#include <iomanip>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cstdio>
diff --git a/vcl/source/gdi/salmisc.cxx b/vcl/source/gdi/salmisc.cxx
index 15fef5272b9b..6af3de0fd755 100644
--- a/vcl/source/gdi/salmisc.cxx
+++ b/vcl/source/gdi/salmisc.cxx
@@ -22,6 +22,7 @@
#include <bmpfast.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <memory>
#define IMPL_CASE_GET_FORMAT( Format ) \
diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx
index 4ec0d5df17d7..8393c482e41d 100644
--- a/vcl/source/gdi/svmconverter.cxx
+++ b/vcl/source/gdi/svmconverter.cxx
@@ -29,6 +29,7 @@
#include <vcl/graph.hxx>
#include <vcl/lineinfo.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <svmconverter.hxx>
diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx
index eaecdd275d63..d0b9947aeb30 100644
--- a/vcl/source/gdi/textlayout.cxx
+++ b/vcl/source/gdi/textlayout.cxx
@@ -27,6 +27,7 @@
#include <tools/diagnose_ex.h>
#include <tools/fract.hxx>
+#include <sal/log.hxx>
#if OSL_DEBUG_LEVEL > 1
#include <rtl/strbuf.hxx>
diff --git a/vcl/source/gdi/vectorgraphicdata.cxx b/vcl/source/gdi/vectorgraphicdata.cxx
index 434736526294..3beb9b8aab4e 100644
--- a/vcl/source/gdi/vectorgraphicdata.cxx
+++ b/vcl/source/gdi/vectorgraphicdata.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/stream.hxx>
+#include <sal/log.hxx>
#include <vcl/vectorgraphicdata.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index dad14458705c..4f3b65b58ede 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -24,6 +24,7 @@
#include <PhysicalFontCollection.hxx>
#include <svdata.hxx>
#include <vcl/ITiledRenderable.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
diff --git a/vcl/source/graphic/Manager.cxx b/vcl/source/graphic/Manager.cxx
index c2146a680e8a..83c2dfb73529 100644
--- a/vcl/source/graphic/Manager.cxx
+++ b/vcl/source/graphic/Manager.cxx
@@ -21,6 +21,7 @@
#include <impgraph.hxx>
#include <vcl/lazydelete.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
using namespace css;
diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx b/vcl/source/graphic/UnoGraphicProvider.cxx
index 5b28ed3723c5..82823b8152b1 100644
--- a/vcl/source/graphic/UnoGraphicProvider.cxx
+++ b/vcl/source/graphic/UnoGraphicProvider.cxx
@@ -39,6 +39,7 @@
#include <comphelper/fileformat.h>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <graphic/UnoGraphicDescriptor.hxx>
#include <graphic/UnoGraphic.hxx>
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index 02b0fc338d72..aa3cce22863d 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -48,6 +48,7 @@
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <sal/log.hxx>
#include <tools/poly.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/uuid.h>
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx
index 3fa7be908c92..6ce0c21effd5 100644
--- a/vcl/source/helper/lazydelete.cxx
+++ b/vcl/source/helper/lazydelete.cxx
@@ -21,6 +21,7 @@
#include <vcl/menu.hxx>
#include <vcl/lazydelete.hxx>
#include <svdata.hxx>
+#include <sal/log.hxx>
namespace vcl {
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index d48cd3044b07..fd1025dec240 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -20,6 +20,7 @@
#include <config_folders.h>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <deque>
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 9d3ad9497ccb..ffc1a5f61190 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -19,6 +19,7 @@
#include <vcl/graph.hxx>
#include <osl/thread.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <salgdi.hxx>
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 267c1c58f415..6fb97894df45 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -15,6 +15,7 @@
#include <rtl/digest.h>
#include <rtl/strbuf.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <config_folders.h>
#include <vcl/salbtype.hxx>
#include <vcl/bitmapaccess.hxx>
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index 0ab77a8b578d..ffc1299925d8 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -43,6 +43,7 @@
#include <memory>
#include <comphelper/lok.hxx>
#include <bitmapwriteaccess.hxx>
+#include <sal/log.hxx>
void OutputDevice::DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap )
{
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 17fd97462947..d8015f6de0fa 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -26,6 +26,7 @@
#include <vcl/sysdata.hxx>
#include <vcl/fontcharmap.hxx>
#include <font/FeatureCollector.hxx>
+#include <sal/log.hxx>
#include <sallayout.hxx>
#include <salgdi.hxx>
diff --git a/vcl/source/outdev/map.cxx b/vcl/source/outdev/map.cxx
index bae0162fd387..d88960d9da9b 100644
--- a/vcl/source/outdev/map.cxx
+++ b/vcl/source/outdev/map.cxx
@@ -23,6 +23,7 @@
#include <vcl/metaact.hxx>
#include <vcl/virdev.hxx>
#include <vcl/wrkwin.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <window.h>
diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx
index 81acddfe2f12..b96dc63c13fe 100644
--- a/vcl/source/outdev/nativecontrols.cxx
+++ b/vcl/source/outdev/nativecontrols.cxx
@@ -22,6 +22,7 @@
#include <vcl/outdev.hxx>
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
+#include <sal/log.hxx>
#include <vcl/salnativewidgets.hxx>
#include <vcl/pdfextoutdevdata.hxx>
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index cb902f4fbc86..901b20580fdf 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/metaact.hxx>
diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx
index 24e0b75e3c3e..757ae1fc03e2 100644
--- a/vcl/source/outdev/outdevstate.cxx
+++ b/vcl/source/outdev/outdevstate.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/metaact.hxx>
diff --git a/vcl/source/outdev/pixel.cxx b/vcl/source/outdev/pixel.cxx
index 04f35b41e777..270a50bf6710 100644
--- a/vcl/source/outdev/pixel.cxx
+++ b/vcl/source/outdev/pixel.cxx
@@ -20,6 +20,7 @@
#include <cassert>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <memory>
#include <vcl/gdimtf.hxx>
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 31a19fb3c334..fdcca1565731 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -26,6 +26,7 @@
#include <comphelper/processfactory.hxx>
#include <osl/file.h>
+#include <sal/log.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/metaact.hxx>
#include <vcl/textrectinfo.hxx>
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 0540b9ba0ec4..7962a119fdd9 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -23,6 +23,7 @@
#include <comphelper/string.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <iostream>
#include <memory>
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index d81ea72838ea..69a556e0ecaa 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
+#include <sal/log.hxx>
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
#include <accel.h>
diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx
index 37ff8ddcff82..7500f0507a34 100644
--- a/vcl/source/window/accessibility.cxx
+++ b/vcl/source/window/accessibility.cxx
@@ -83,6 +83,7 @@
#include <sal/macros.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <set>
#include <typeinfo>
diff --git a/vcl/source/window/debugevent.cxx b/vcl/source/window/debugevent.cxx
index 59889e3720a0..25cf8693c867 100644
--- a/vcl/source/window/debugevent.cxx
+++ b/vcl/source/window/debugevent.cxx
@@ -10,6 +10,7 @@
#include <comphelper/random.hxx>
#include <rtl/math.hxx>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
#include <tools/time.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 386abfaeac4f..76adefb1d2a1 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -31,6 +31,7 @@
#include <vcl/button.hxx>
#include <vcl/settings.hxx>
#include <vcl/unohelp.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/i18n/XCharacterClassification.hpp>
diff --git a/vcl/source/window/dndeventdispatcher.cxx b/vcl/source/window/dndeventdispatcher.cxx
index 9a0814052b24..0b0059914259 100644
--- a/vcl/source/window/dndeventdispatcher.cxx
+++ b/vcl/source/window/dndeventdispatcher.cxx
@@ -21,6 +21,7 @@
#include <dndlistenercontainer.hxx>
#include <window.h>
#include <svdata.hxx>
+#include <sal/log.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index eb27e3e18c05..00d49f21a8a2 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/time.hxx>
+#include <sal/log.hxx>
#include <brdwin.hxx>
#include <svdata.hxx>
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index f76a27bd6a1f..dadacee4cecb 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/time.hxx>
+#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/floatwin.hxx>
#include <vcl/dockwin.hxx>
diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx
index f689fbac30b3..0ec0ca504b68 100644
--- a/vcl/source/window/errinf.cxx
+++ b/vcl/source/window/errinf.cxx
@@ -19,6 +19,7 @@
#include <osl/diagnose.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <vcl/errinf.hxx>
#include <vcl/window.hxx>
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index b344d7104fc6..81a0558e3321 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -22,6 +22,7 @@
#include <vcl/dockwin.hxx>
#include <vcl/layout.hxx>
#include <vcl/opengl/OpenGLWrapper.hxx>
+#include <sal/log.hxx>
#include <window.h>
#include <svdata.hxx>
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index ea1001f3351e..5acbf1cc8bc2 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -23,6 +23,7 @@
#include <salframe.hxx>
#include <comphelper/lok.hxx>
+#include <sal/log.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 26cb8d0bb8d8..abaec7ce72a4 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -21,6 +21,7 @@
#include <boost/multi_array.hpp>
#include <officecfg/Office/Common.hxx>
#include <vcl/abstdlg.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <strings.hrc>
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index a1e3180ace35..5f3bb6e02e0e 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -19,6 +19,7 @@
#include <tools/diagnose_ex.h>
#include <tools/stream.hxx>
+#include <sal/log.hxx>
#include <comphelper/lok.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index e2d6660dd7af..6fbb4af4eac3 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -24,6 +24,7 @@
#include <vcl/dockingarea.hxx>
#include <vcl/settings.hxx>
#include <vcl/taskpanelist.hxx>
+#include <sal/log.hxx>
#include <salframe.hxx>
#include <salmenu.hxx>
diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx
index 5ef774b617f9..8e7254299a3d 100644
--- a/vcl/source/window/menufloatingwindow.cxx
+++ b/vcl/source/window/menufloatingwindow.cxx
@@ -21,6 +21,7 @@
#include "menuitemlist.hxx"
#include "menubarwindow.hxx"
+#include <sal/log.hxx>
#include <salmenu.hxx>
#include <svdata.hxx>
#include <vcl/decoview.hxx>
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 294367559cc9..67bc756b30da 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -26,6 +26,7 @@
#include <vcl/settings.hxx>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <window.h>
#include <salgdi.hxx>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index f5bf9a09326d..35be2e7ae4ad 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -41,6 +41,7 @@
#include <unotools/localedatawrapper.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
diff --git a/vcl/source/window/scrwnd.cxx b/vcl/source/window/scrwnd.cxx
index 0f4e932f87ff..118ca5f77fca 100644
--- a/vcl/source/window/scrwnd.cxx
+++ b/vcl/source/window/scrwnd.cxx
@@ -27,6 +27,7 @@
#include <vcl/timer.hxx>
#include <vcl/event.hxx>
+#include <sal/log.hxx>
#include <math.h>
diff --git a/vcl/source/window/seleng.cxx b/vcl/source/window/seleng.cxx
index 03fdc652bcfa..be4092de6822 100644
--- a/vcl/source/window/seleng.cxx
+++ b/vcl/source/window/seleng.cxx
@@ -20,6 +20,7 @@
#include <vcl/window.hxx>
#include <vcl/seleng.hxx>
#include <comphelper/lok.hxx>
+#include <sal/log.hxx>
FunctionSet::~FunctionSet()
{
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 710ffb1acd96..d43da0bd2411 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -20,6 +20,7 @@
#include <string.h>
#include <tools/debug.hxx>
+#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/wall.hxx>
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index e32a93a001cc..00ea845972a8 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -19,6 +19,7 @@
#include <vcl/window.hxx>
#include <vcl/taskpanelist.hxx>
+#include <sal/log.hxx>
// declare system types in sysdata.hxx
#include <vcl/sysdata.hxx>
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 61b467b8360d..769e43e7b0c9 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -18,6 +18,7 @@
*/
+#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/decoview.hxx>
#include <vcl/svapp.hxx>
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 5f8b22416dfc..187667e288a7 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cstdlib>
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index d1007d4badcd..c21499e00d29 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -34,6 +34,7 @@
#include <tools/poly.hxx>
#include <svl/imageitm.hxx>
+#include <sal/log.hxx>
#include <svdata.hxx>
#include <window.h>
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index ab4c90ece48f..0a28da840392 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 02f856cf4eb6..08f61fe76f8f 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -19,6 +19,7 @@
#include <config_features.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <sal/types.h>
#include <vcl/salgtype.hxx>
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 096df67d2c99..4642b5fa820a 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -19,6 +19,7 @@
#include <limits.h>
#include <tools/poly.hxx>
+#include <sal/log.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/dialog.hxx>
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 8a4c4c075242..2becf4a6914a 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -19,6 +19,7 @@
#include <tools/debug.hxx>
#include <tools/time.hxx>
+#include <sal/log.hxx>
#include <unotools/localedatawrapper.hxx>
diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx
index 39d8395e7af8..1133a9f383ad 100644
--- a/vcl/source/window/wrkwin.cxx
+++ b/vcl/source/window/wrkwin.cxx
@@ -18,6 +18,7 @@
*/
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
// declare system types in sysdata.hxx