summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 17:43:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-02 10:39:00 +0200
commitbd8320952522165ee7f5f6cbe2675ea674ec5749 (patch)
treec0574742c59a06239a4a8be681ddadac50531f5c /svx
parent1e9f594f7eb4a813c3a566114198632352a163d8 (diff)
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories from stoc to svx Change-Id: If562b1aa1d676d2c1cf513e953238abbb846c65c Reviewed-on: https://gerrit.libreoffice.org/58224 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleControlShape.cxx1
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx1
-rw-r--r--svx/source/accessibility/AccessibleTextHelper.cxx1
-rw-r--r--svx/source/accessibility/ChildrenManager.cxx1
-rw-r--r--svx/source/accessibility/svxrectctaccessiblecontext.cxx1
-rw-r--r--svx/source/core/extedit.cxx1
-rw-r--r--svx/source/core/graphichelper.cxx1
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx1
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx1
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx1
-rw-r--r--svx/source/dialog/dlgutil.cxx1
-rw-r--r--svx/source/dialog/frmsel.cxx1
-rw-r--r--svx/source/dialog/langbox.cxx1
-rw-r--r--svx/source/dialog/rlrcitem.cxx1
-rw-r--r--svx/source/dialog/rulritem.cxx1
-rw-r--r--svx/source/dialog/txencbox.cxx1
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx1
-rw-r--r--svx/source/fmcomp/gridcell.cxx1
-rw-r--r--svx/source/fmcomp/gridctrl.cxx1
-rw-r--r--svx/source/form/datalistener.cxx2
-rw-r--r--svx/source/form/datanavi.cxx1
-rw-r--r--svx/source/form/delayedevent.cxx1
-rw-r--r--svx/source/form/fmpgeimp.cxx1
-rw-r--r--svx/source/form/fmshimp.cxx1
-rw-r--r--svx/source/form/fmsrccfg.cxx1
-rw-r--r--svx/source/form/fmsrcimp.cxx1
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx1
-rw-r--r--svx/source/form/fmvwimp.cxx1
-rw-r--r--svx/source/form/formcontroller.cxx1
-rw-r--r--svx/source/form/navigatortree.cxx1
-rw-r--r--svx/source/gallery2/galini.cxx1
-rw-r--r--svx/source/gallery2/galtheme.cxx1
-rw-r--r--svx/source/gengal/gengal.cxx1
-rw-r--r--svx/source/items/SmartTagItem.cxx1
-rw-r--r--svx/source/sidebar/paragraph/ParaPropertyPanel.cxx1
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx1
-rw-r--r--svx/source/stbctrls/pszctrl.cxx1
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx1
-rw-r--r--svx/source/stbctrls/zoomctrl.cxx1
-rw-r--r--svx/source/svdraw/svdedtv2.cxx1
-rw-r--r--svx/source/svdraw/svdedxv.cxx1
-rw-r--r--svx/source/svdraw/svdibrow.cxx1
-rw-r--r--svx/source/svdraw/svdobj.cxx1
-rw-r--r--svx/source/svdraw/svdomedia.cxx1
-rw-r--r--svx/source/svdraw/svdoole2.cxx1
-rw-r--r--svx/source/svdraw/svdopath.cxx1
-rw-r--r--svx/source/svdraw/svdotext.cxx1
-rw-r--r--svx/source/svdraw/svdotextdecomposition.cxx1
-rw-r--r--svx/source/svdraw/svdpdf.cxx1
-rw-r--r--svx/source/svdraw/svdtrans.cxx1
-rw-r--r--svx/source/svdraw/svdview.cxx1
-rw-r--r--svx/source/svdraw/textchainflow.cxx1
-rw-r--r--svx/source/table/accessiblecell.cxx1
-rw-r--r--svx/source/table/tablecontroller.cxx1
-rw-r--r--svx/source/table/tablertfimporter.cxx1
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx1
-rw-r--r--svx/source/tbxctrls/tbxcolor.cxx1
-rw-r--r--svx/source/unodraw/unopage.cxx1
-rw-r--r--svx/source/unodraw/unoshap2.cxx1
-rw-r--r--svx/source/unodraw/unoshap3.cxx1
-rw-r--r--svx/source/unodraw/unoshap4.cxx1
-rw-r--r--svx/source/unodraw/unoshcol.cxx1
-rw-r--r--svx/source/xml/xmleohlp.cxx1
-rw-r--r--svx/source/xml/xmlgrhlp.cxx1
-rw-r--r--svx/source/xoutdev/_xoutbmp.cxx1
-rw-r--r--svx/workben/pixelctl.cxx1
66 files changed, 67 insertions, 0 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index 7c12cf570014..c5787263245a 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -45,6 +45,7 @@
#include <svx/svdpagv.hxx>
#include <svx/strings.hrc>
#include <vcl/svapp.hxx>
+#include <sal/log.hxx>
#include <algorithm>
using namespace ::accessibility;
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 728871ed827a..6ae402c069f1 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/text/XText.hpp>
#include <editeng/outlobj.hxx>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <editeng/unoedsrc.hxx>
#include <svx/AccessibleTextHelper.hxx>
#include <svx/ChildrenManager.hxx>
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx
index f19e3a518c47..cf33d7dc7a7e 100644
--- a/svx/source/accessibility/AccessibleTextHelper.cxx
+++ b/svx/source/accessibility/AccessibleTextHelper.cxx
@@ -26,6 +26,7 @@
#include <algorithm>
#include <deque>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
diff --git a/svx/source/accessibility/ChildrenManager.cxx b/svx/source/accessibility/ChildrenManager.cxx
index 31857d2ac29a..7bc2e8f7725b 100644
--- a/svx/source/accessibility/ChildrenManager.cxx
+++ b/svx/source/accessibility/ChildrenManager.cxx
@@ -20,6 +20,7 @@
#include <svx/ChildrenManager.hxx>
#include "ChildrenManagerImpl.hxx"
#include <svx/AccessibleShape.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index 06cd902e7c54..d18fff3ad720 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -31,6 +31,7 @@
#include <osl/mutex.hxx>
#include <tools/debug.hxx>
#include <tools/gen.hxx>
+#include <sal/log.hxx>
#include <svx/strings.hrc>
#include <svx/dlgctrl.hxx>
diff --git a/svx/source/core/extedit.cxx b/svx/source/core/extedit.cxx
index 10b901c1d727..492ce525509a 100644
--- a/svx/source/core/extedit.cxx
+++ b/svx/source/core/extedit.cxx
@@ -22,6 +22,7 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
#include <salhelper/thread.hxx>
+#include <sal/log.hxx>
#include <osl/file.hxx>
#include <osl/thread.hxx>
#include <osl/process.h>
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 296d0045b11d..6c997eb4c929 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -25,6 +25,7 @@
#include <svx/dialmgr.hxx>
#include <svx/graphichelper.hxx>
#include <svx/strings.hrc>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 56fba266c325..ea6e526e6054 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -52,6 +52,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <math.h>
using namespace ::com::sun::star;
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index 9bfed5d53ab4..9c02499a7a9b 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -54,6 +54,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
#include <basegfx/polygon/b2dpolygontools.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
index 224c1e551666..a1b0da90f426 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
@@ -22,6 +22,7 @@
#include <config_clang.h>
#include <svx/EnhancedCustomShape2d.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <tools/fract.hxx>
diff --git a/svx/source/dialog/dlgutil.cxx b/svx/source/dialog/dlgutil.cxx
index 30f670884c10..09649e10ab60 100644
--- a/svx/source/dialog/dlgutil.cxx
+++ b/svx/source/dialog/dlgutil.cxx
@@ -25,6 +25,7 @@
#include <svl/eitem.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/objsh.hxx>
+#include <sal/log.hxx>
FieldUnit GetModuleFieldUnit( const SfxItemSet& rSet )
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index 05f7729ab805..fd1e7ddab1ed 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -19,6 +19,7 @@
#include <svx/frmsel.hxx>
#include <vcl/builderfactory.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <math.h>
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index 94b2aeccd0fa..7c9511cff437 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/i18n/ScriptType.hpp>
#include <linguistic/misc.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <unotools/localedatawrapper.hxx>
#include <tools/urlobj.hxx>
#include <svtools/langtab.hxx>
diff --git a/svx/source/dialog/rlrcitem.cxx b/svx/source/dialog/rlrcitem.cxx
index 9753beffdd1f..1664b93abb20 100644
--- a/svx/source/dialog/rlrcitem.cxx
+++ b/svx/source/dialog/rlrcitem.cxx
@@ -18,6 +18,7 @@
*/
#include <svl/rectitem.hxx>
+#include <sal/log.hxx>
#include <svx/svxids.hrc>
diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx
index cbe2dcc731be..e7f0765cb737 100644
--- a/svx/source/dialog/rulritem.cxx
+++ b/svx/source/dialog/rulritem.cxx
@@ -21,6 +21,7 @@
#include <svx/rulritem.hxx>
#include <tools/mapunit.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/frame/status/LeftRightMargin.hpp>
#include <com/sun/star/frame/status/UpperLowerMargin.hpp>
diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx
index b4e446aeee3f..9760215ff966 100644
--- a/svx/source/dialog/txencbox.cxx
+++ b/svx/source/dialog/txencbox.cxx
@@ -32,6 +32,7 @@
#include <rtl/tencinfo.h>
#include <rtl/locale.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <osl/nlsupport.h>
#include <txenctab.hrc>
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index 9c6668fa0ea1..1731bb2a3503 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -69,6 +69,7 @@
#include <vcl/longcurr.hxx>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
+#include <sal/log.hxx>
#include <math.h>
#include <memory>
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index a0ad99b23ae8..edd41b7c6568 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <fmprop.hxx>
#include <svx/strings.hrc>
#include <svx/fmtools.hxx>
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index f5d921b910b7..fdc7f6d704d7 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <helpids.h>
#include <svx/gridctrl.hxx>
#include <gridcell.hxx>
diff --git a/svx/source/form/datalistener.cxx b/svx/source/form/datalistener.cxx
index aced6bff8f4a..fda74a92c416 100644
--- a/svx/source/form/datalistener.cxx
+++ b/svx/source/form/datalistener.cxx
@@ -21,6 +21,8 @@
#include <datalistener.hxx>
#include <datanavi.hxx>
+#include <sal/log.hxx>
+
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index b23bcbba4391..915ce52dd0f2 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -22,6 +22,7 @@
#include <memory>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <datanavi.hxx>
#include <fmservs.hxx>
diff --git a/svx/source/form/delayedevent.cxx b/svx/source/form/delayedevent.cxx
index 7484705ef797..8a9cb218d322 100644
--- a/svx/source/form/delayedevent.cxx
+++ b/svx/source/form/delayedevent.cxx
@@ -19,6 +19,7 @@
#include <delayedevent.hxx>
#include <vcl/svapp.hxx>
+#include <sal/log.hxx>
namespace svxform
{
diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index a6e23f277e3a..bf43eec8379f 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/form/Forms.hpp>
+#include <sal/log.hxx>
#include <sfx2/objsh.hxx>
#include <svx/fmglob.hxx>
#include <svx/fmpage.hxx>
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 4f3f6cd4eba7..cfc0d7ba420d 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -19,6 +19,7 @@
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <fmitems.hxx>
#include <fmobj.hxx>
#include <fmpgeimp.hxx>
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index 6cd469c72dda..f48f2e537d62 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -20,6 +20,7 @@
#include <svx/fmsrccfg.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <i18nutil/transliteration.hxx>
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index 30979723538b..4aaf9dc6d2dd 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -19,6 +19,7 @@
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <svx/fmtools.hxx>
#include <svx/fmsrccfg.hxx>
#include <tools/debug.hxx>
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index 7c0c24b3c1af..becb05cb0976 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -57,6 +57,7 @@
#include <svl/whiter.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <vcl/outdev.hxx>
#include <memory>
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index f396e15e847b..5132c9b3133d 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -78,6 +78,7 @@
#include <cppuhelper/exc_hlp.hxx>
#include <unotools/moduleoptions.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <vcl/stdtext.hxx>
#include <connectivity/dbtools.hxx>
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 1b0069b9f725..179fc9d85ea5 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -84,6 +84,7 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <iterator>
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 12a2425ce6a9..805aca14580e 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -34,6 +34,7 @@
#include <fmitems.hxx>
#include <fmobj.hxx>
#include <fmprop.hxx>
+#include <sal/log.hxx>
#include <vcl/wrkwin.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/dispatch.hxx>
diff --git a/svx/source/gallery2/galini.cxx b/svx/source/gallery2/galini.cxx
index 9708e917a630..59c52719dd2d 100644
--- a/svx/source/gallery2/galini.cxx
+++ b/svx/source/gallery2/galini.cxx
@@ -14,6 +14,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 059880773e2c..b3d83ca70150 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -20,6 +20,7 @@
#include <config_features.h>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 1a218d1d0524..744c80ae58a8 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -8,6 +8,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <stdio.h>
#ifndef _WIN32
diff --git a/svx/source/items/SmartTagItem.cxx b/svx/source/items/SmartTagItem.cxx
index c70aad6fd6fa..f10c82bf3030 100644
--- a/svx/source/items/SmartTagItem.cxx
+++ b/svx/source/items/SmartTagItem.cxx
@@ -19,6 +19,7 @@
#include <comphelper/propertysequence.hxx>
#include <svx/SmartTagItem.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/container/XStringKeyMap.hpp>
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index f7c245dd2a3a..0f934039ce07 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -29,6 +29,7 @@
#include <svl/intitem.hxx>
#include <sfx2/objsh.hxx>
#include <svtools/unitconv.hxx>
+#include <sal/log.hxx>
using namespace css;
using namespace css::uno;
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 9ba3b15d510b..98c85612e9ae 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -35,6 +35,7 @@
#include <svl/aeitem.hxx>
#include <svx/svdview.hxx>
#include <svx/transfrmhelper.hxx>
+#include <sal/log.hxx>
using namespace css;
using namespace css::uno;
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 975aa0d4b691..3205dccd32f0 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -31,6 +31,7 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/objsh.hxx>
#include <svl/intitem.hxx>
+#include <sal/log.hxx>
#include <svx/pszctrl.hxx>
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index a784b2f8ca0c..be0763e6d9a8 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -38,6 +38,7 @@
#include <svx/xmlsecctrl.hxx>
#include <tools/urlobj.hxx>
#include <bitmaps.hlst>
+#include <sal/log.hxx>
SFX_IMPL_STATUSBAR_CONTROL( XmlSecStatusBarControl, SfxUInt16Item );
diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx
index ed92af23be34..ce763fdc9f2e 100644
--- a/svx/source/stbctrls/zoomctrl.cxx
+++ b/svx/source/stbctrls/zoomctrl.cxx
@@ -25,6 +25,7 @@
#include <vcl/settings.hxx>
#include <sfx2/dispatch.hxx>
#include <tools/urlobj.hxx>
+#include <sal/log.hxx>
#include <svx/strings.hrc>
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx
index 85ca2a280b08..d6031358738a 100644
--- a/svx/source/svdraw/svdedtv2.cxx
+++ b/svx/source/svdraw/svdedtv2.cxx
@@ -42,6 +42,7 @@
#include <svx/svdoashp.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <memory>
#include <vector>
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 5dc1a3473135..e6616c0247e0 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -67,6 +67,7 @@
#include <svx/sdr/overlay/overlayselection.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdrpagewindow.hxx>
+#include <sal/log.hxx>
#include <memory>
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index b8976cfa12c4..61401a33262f 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -33,6 +33,7 @@
#include <svl/rectitem.hxx>
#include <svl/rngitem.hxx>
#include <svl/whiter.hxx>
+#include <sal/log.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <svx/svdattr.hxx>
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 6cd4947da101..f2b2db4086cb 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -21,6 +21,7 @@
#include <config_features.h>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 54c3d66846da..8ed836168792 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -23,6 +23,7 @@
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <com/sun/star/embed/XStorage.hpp>
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index c259f1b4bb1e..02179d16879f 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -86,6 +86,7 @@
#include <rtl/ref.hxx>
#include <bitmaps.hlst>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 63acf8d4f9f5..c1b8e57b7d34 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -53,6 +53,7 @@
#include <svx/sdr/attribute/sdrformtextattribute.hxx>
#include <o3tl/make_unique.hxx>
#include <memory>
+#include <sal/log.hxx>
using namespace sdr;
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 3c4ee03d89b3..a7e706da16a6 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -61,6 +61,7 @@
#include <vcl/virdev.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star;
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index 0ef85952b253..70f23a4e5974 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -54,6 +54,7 @@
#include <editeng/editobj.hxx>
#include <editeng/overflowingtxt.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star;
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index b6bc08ce7d10..f7797f54fe15 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -85,6 +85,7 @@
#include <vcl/BitmapTools.hxx>
#include <vcl/dibtools.hxx>
#include <com/sun/star/geometry/Matrix2D.hpp>
+#include <sal/log.hxx>
namespace
{
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index 5d8719b7abea..d039b68afae9 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -25,6 +25,7 @@
#include <vcl/virdev.hxx>
#include <tools/bigint.hxx>
#include <unotools/syslocale.hxx>
+#include <sal/log.hxx>
void MoveXPoly(XPolygon& rPoly, const Size& S)
{
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 91bccc57f5e2..3cdbec76c362 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -51,6 +51,7 @@
#include <svx/sdr/contact/viewcontact.hxx>
#include <drawinglayer/processor2d/contourextractor2d.hxx>
#include <drawinglayer/primitive2d/texthierarchyprimitive2d.hxx>
+#include <sal/log.hxx>
SdrViewEvent::SdrViewEvent()
diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx
index b3d473923633..3ca13ce06b6c 100644
--- a/svx/source/svdraw/textchainflow.cxx
+++ b/svx/source/svdraw/textchainflow.cxx
@@ -24,6 +24,7 @@
#include <editeng/editobj.hxx>
#include <editeng/overflowingtxt.hxx>
#include <svx/textchainflow.hxx>
+#include <sal/log.hxx>
TextChainFlow::TextChainFlow(SdrTextObj *pChainTarget)
: mpTargetLink(pChainTarget)
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index d2aa8fd866d4..cde45dcc4ffc 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <memory>
#include <utility>
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index b9c4e8dd23bb..317e12efb62c 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/table/XMergeableCell.hpp>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index d04e63fb668c..732e417ab06d 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -40,6 +40,7 @@
#include <editeng/editdata.hxx>
#include <svx/svdmodel.hxx>
#include <editeng/svxrtf.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::table;
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 7a40126fdd1e..84bf6ee94990 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -106,6 +106,7 @@
#include <officecfg/Office/Common.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <bitmaps.hlst>
+#include <sal/log.hxx>
#define MAX_MRU_FONTNAME_ENTRIES 5
diff --git a/svx/source/tbxctrls/tbxcolor.cxx b/svx/source/tbxctrls/tbxcolor.cxx
index 30a403a83d99..4eff1c5bb569 100644
--- a/svx/source/tbxctrls/tbxcolor.cxx
+++ b/svx/source/tbxctrls/tbxcolor.cxx
@@ -21,6 +21,7 @@
#include <svx/tbxcolor.hxx>
#include <sfx2/viewfrm.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <sal/log.hxx>
namespace svx
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 7dc51166c3b5..f18938084d6d 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -51,6 +51,7 @@
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
#include <tools/globname.hxx>
+#include <sal/log.hxx>
using namespace ::cppu;
using namespace ::com::sun::star;
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 20040a4ec4f4..459353b72a73 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -66,6 +66,7 @@
#include <sfx2/docfile.hxx>
#include <sfx2/app.hxx>
#include <sfx2/fcontnr.hxx>
+#include <sal/log.hxx>
#include <memory>
diff --git a/svx/source/unodraw/unoshap3.cxx b/svx/source/unodraw/unoshap3.cxx
index 40859838ebd7..4873ff2dc0cb 100644
--- a/svx/source/unodraw/unoshap3.cxx
+++ b/svx/source/unodraw/unoshap3.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <vcl/svapp.hxx>
#include <comphelper/serviceinfohelper.hxx>
+#include <sal/log.hxx>
#include <svx/svdpool.hxx>
#include <svx/svditer.hxx>
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index edc9b8ff5854..5130e081bd48 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -52,6 +52,7 @@
#include <svx/svdview.hxx>
#include <vcl/wmf.hxx>
#include <svtools/embedhlp.hxx>
+#include <sal/log.hxx>
#include <config_features.h>
diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx
index a24533062e34..d59704051e5b 100644
--- a/svx/source/unodraw/unoshcol.cxx
+++ b/svx/source/unodraw/unoshcol.cxx
@@ -30,6 +30,7 @@
#include <comphelper/interfacecontainer2.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <rtl/ref.hxx>
#include <svx/unoprov.hxx>
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx
index a5058f1e7610..b3859a92acfd 100644
--- a/svx/source/xml/xmleohlp.cxx
+++ b/svx/source/xml/xmleohlp.cxx
@@ -32,6 +32,7 @@
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <sot/storage.hxx>
#include <tools/debug.hxx>
+#include <sal/log.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/tempfile.hxx>
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 553522172a27..40c64f81fac4 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <comphelper/string.hxx>
#include <sal/macros.h>
diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx
index 2d187c7609b6..7534de8a5687 100644
--- a/svx/source/xoutdev/_xoutbmp.cxx
+++ b/svx/source/xoutdev/_xoutbmp.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <comphelper/base64.hxx>
#include <comphelper/graphicmimetype.hxx>
diff --git a/svx/workben/pixelctl.cxx b/svx/workben/pixelctl.cxx
index d4dce050dcd3..854dcd7b94eb 100644
--- a/svx/workben/pixelctl.cxx
+++ b/svx/workben/pixelctl.cxx
@@ -34,6 +34,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <math.h>