summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-29 00:31:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-01 13:46:18 +0200
commit852ef6e2863405318db8a1dcd24666000ce60f2e (patch)
treedbf8b1db0651be7b1bb3d10f0cee74e9f1060187 /sc/source/filter
parentccc0986d9a1c4a90114a38c30fe778ee42c8a8b5 (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 directory sc Change-Id: I988d7d3abaedfb32516a9db88815663bf54da46e Reviewed-on: https://gerrit.libreoffice.org/58266 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/excel/excform.cxx1
-rw-r--r--sc/source/filter/excel/excrecds.cxx1
-rw-r--r--sc/source/filter/excel/impop.cxx1
-rw-r--r--sc/source/filter/excel/tokstack.cxx1
-rw-r--r--sc/source/filter/excel/xecontent.cxx1
-rw-r--r--sc/source/filter/excel/xeformula.cxx1
-rw-r--r--sc/source/filter/excel/xelink.cxx1
-rw-r--r--sc/source/filter/excel/xeroot.cxx1
-rw-r--r--sc/source/filter/excel/xichart.cxx1
-rw-r--r--sc/source/filter/excel/xicontent.cxx1
-rw-r--r--sc/source/filter/excel/xiescher.cxx1
-rw-r--r--sc/source/filter/excel/xihelper.cxx1
-rw-r--r--sc/source/filter/excel/xilink.cxx1
-rw-r--r--sc/source/filter/excel/xipivot.cxx1
-rw-r--r--sc/source/filter/excel/xistream.cxx1
-rw-r--r--sc/source/filter/excel/xistring.cxx1
-rw-r--r--sc/source/filter/excel/xistyle.cxx1
-rw-r--r--sc/source/filter/excel/xlpivot.cxx1
-rw-r--r--sc/source/filter/excel/xlroot.cxx1
-rw-r--r--sc/source/filter/excel/xlstyle.cxx1
-rw-r--r--sc/source/filter/excel/xltoolbar.cxx1
-rw-r--r--sc/source/filter/excel/xltools.cxx1
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx1
-rw-r--r--sc/source/filter/lotus/lotattr.cxx1
-rw-r--r--sc/source/filter/lotus/lotform.cxx1
-rw-r--r--sc/source/filter/lotus/lotimpop.cxx1
-rw-r--r--sc/source/filter/lotus/lotread.cxx2
-rw-r--r--sc/source/filter/lotus/tool.cxx1
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx1
-rw-r--r--sc/source/filter/oox/excelfilter.cxx1
-rw-r--r--sc/source/filter/oox/externallinkbuffer.cxx1
-rw-r--r--sc/source/filter/oox/extlstcontext.cxx1
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx1
-rw-r--r--sc/source/filter/oox/formulaparser.cxx1
-rw-r--r--sc/source/filter/oox/pivotcachebuffer.cxx1
-rw-r--r--sc/source/filter/oox/pivottablebuffer.cxx1
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx1
-rw-r--r--sc/source/filter/oox/sheetdatacontext.cxx1
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx1
-rw-r--r--sc/source/filter/oox/tablebuffer.cxx1
-rw-r--r--sc/source/filter/oox/tablecolumnsbuffer.cxx1
-rw-r--r--sc/source/filter/oox/workbookfragment.cxx1
-rw-r--r--sc/source/filter/orcus/interface.cxx1
-rw-r--r--sc/source/filter/orcus/orcusfiltersimpl.cxx1
-rw-r--r--sc/source/filter/orcus/xmlcontext.cxx1
-rw-r--r--sc/source/filter/qpro/qpro.cxx1
-rw-r--r--sc/source/filter/qpro/qproform.cxx1
-rw-r--r--sc/source/filter/xcl97/XclImpChangeTrack.cxx1
-rw-r--r--sc/source/filter/xcl97/xcl97esc.cxx1
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx1
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx1
-rw-r--r--sc/source/filter/xml/XMLDDELinksContext.cxx1
-rw-r--r--sc/source/filter/xml/xmlbodyi.cxx1
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx1
-rw-r--r--sc/source/filter/xml/xmlcondformat.cxx1
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx1
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx1
-rw-r--r--sc/source/filter/xml/xmlsubti.cxx1
-rw-r--r--sc/source/filter/xml/xmltabi.cxx1
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx1
60 files changed, 61 insertions, 0 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index 7f9893f53bd1..933547da7dc6 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -27,6 +27,7 @@
#include <formula/errorcodes.hxx>
#include <svl/sharedstringpool.hxx>
+#include <sal/log.hxx>
#include <imp_op.hxx>
#include <namebuff.hxx>
diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 49988ed954a6..af3a90b75f2d 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -48,6 +48,7 @@
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <svtools/ctrltool.hxx>
+#include <sal/log.hxx>
#include <string.h>
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
index d206b5d278f3..6bcf3d690caf 100644
--- a/sc/source/filter/excel/impop.cxx
+++ b/sc/source/filter/excel/impop.cxx
@@ -37,6 +37,7 @@
#include <svx/svxids.hrc>
#include <svl/zforlist.hxx>
#include <unotools/configmgr.hxx>
+#include <sal/log.hxx>
#include <sfx2/objsh.hxx>
#include <tools/urlobj.hxx>
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index 18fb99aae1e1..5d0595b18119 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -23,6 +23,7 @@
#include <scmatrix.hxx>
#include <svl/sharedstringpool.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <string.h>
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 04f3a9c0f2bd..cdc4269f144c 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -46,6 +46,7 @@
#include <xestyle.hxx>
#include <xename.hxx>
#include <rtl/uuid.h>
+#include <sal/log.hxx>
#include <oox/export/utils.hxx>
#include <oox/token/namespaces.hxx>
#include <oox/token/relationship.hxx>
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index dc3297c45ee9..72a7bd7440a5 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -32,6 +32,7 @@
#include <xelink.hxx>
#include <xename.hxx>
#include <xestream.hxx>
+#include <sal/log.hxx>
using namespace ::formula;
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 2d664ed1f3e1..57aa2ed75a3b 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -25,6 +25,7 @@
#include <oox/token/relationship.hxx>
#include <unotools/collatorwrapper.hxx>
#include <svl/zforlist.hxx>
+#include <sal/log.hxx>
#include <document.hxx>
#include <formulacell.hxx>
#include <scextopt.hxx>
diff --git a/sc/source/filter/excel/xeroot.cxx b/sc/source/filter/excel/xeroot.cxx
index d7957dcc2e08..7dd616b7de93 100644
--- a/sc/source/filter/excel/xeroot.cxx
+++ b/sc/source/filter/excel/xeroot.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/random.h>
+#include <sal/log.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/request.hxx>
#include <sfx2/frame.hxx>
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index 3ae429f68a90..c42abc33a8db 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -80,6 +80,7 @@
#include <sfx2/objsh.hxx>
#include <svx/svdpage.hxx>
#include <svx/unoapi.hxx>
+#include <sal/log.hxx>
#include <document.hxx>
#include <drwlayer.hxx>
diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx
index dce417adea3a..3a00b8c4ef47 100644
--- a/sc/source/filter/excel/xicontent.cxx
+++ b/sc/source/filter/excel/xicontent.cxx
@@ -66,6 +66,7 @@
#include <utility>
#include <o3tl/make_unique.hxx>
#include <oox/helper/helper.hxx>
+#include <sal/log.hxx>
using ::com::sun::star::uno::Sequence;
using ::std::unique_ptr;
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 00433e17c7bb..a3e7e8166d62 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -50,6 +50,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
+#include <sal/log.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdocirc.hxx>
diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx
index 04525d44a47c..6d36c73c9c99 100644
--- a/sc/source/filter/excel/xihelper.cxx
+++ b/sc/source/filter/excel/xihelper.cxx
@@ -38,6 +38,7 @@
#include <scmatrix.hxx>
#include <documentimport.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
// Excel->Calc cell address/range conversion ==================================
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx
index 1bc3f16fd18c..dd32e55468ae 100644
--- a/sc/source/filter/excel/xilink.cxx
+++ b/sc/source/filter/excel/xilink.cxx
@@ -31,6 +31,7 @@
#include <scmatrix.hxx>
#include <svl/sharedstringpool.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <vector>
#include <memory>
diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx
index b0452408054b..78519393c425 100644
--- a/sc/source/filter/excel/xipivot.cxx
+++ b/sc/source/filter/excel/xipivot.cxx
@@ -27,6 +27,7 @@
#include <tools/datetime.hxx>
#include <svl/zformat.hxx>
#include <svl/intitem.hxx>
+#include <sal/log.hxx>
#include <document.hxx>
#include <formulacell.hxx>
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx
index 546b1edd8a6d..5f6e84a0a310 100644
--- a/sc/source/filter/excel/xistream.cxx
+++ b/sc/source/filter/excel/xistream.cxx
@@ -21,6 +21,7 @@
#include <comphelper/sequenceashashmap.hxx>
#include <osl/thread.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <xistream.hxx>
#include <xlstring.hxx>
#include <xiroot.hxx>
diff --git a/sc/source/filter/excel/xistring.cxx b/sc/source/filter/excel/xistring.cxx
index d1ca07c1cc2b..6349a3e0c58b 100644
--- a/sc/source/filter/excel/xistring.cxx
+++ b/sc/source/filter/excel/xistring.cxx
@@ -21,6 +21,7 @@
#include <xlstyle.hxx>
#include <xistream.hxx>
#include <xiroot.hxx>
+#include <sal/log.hxx>
// Byte/Unicode strings =======================================================
diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index c6a660e7735d..785857dc0ffa 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -45,6 +45,7 @@
#include <editeng/justifyitem.hxx>
#include <editeng/editids.hrc>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <vcl/fontcharmap.hxx>
#include <document.hxx>
#include <docpool.hxx>
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx
index b6deec337767..7fc6f46225b2 100644
--- a/sc/source/filter/excel/xlpivot.cxx
+++ b/sc/source/filter/excel/xlpivot.cxx
@@ -25,6 +25,7 @@
#include <xlpivot.hxx>
#include <generalfunction.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp>
using ::com::sun::star::sheet::GeneralFunction;
diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx
index 9adf75a83f61..e721e2e94c58 100644
--- a/sc/source/filter/excel/xlroot.cxx
+++ b/sc/source/filter/excel/xlroot.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <xlroot.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/awt/XDevice.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XFrame.hpp>
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx
index e9095b580cad..610736f89a4c 100644
--- a/sc/source/filter/excel/xlstyle.cxx
+++ b/sc/source/filter/excel/xlstyle.cxx
@@ -26,6 +26,7 @@
#include <vcl/settings.hxx>
#include <vcl/font.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <rtl/tencinfo.h>
#include <svtools/colorcfg.hxx>
#include <vcl/unohelp.hxx>
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx
index c8b2afc08910..b3658661485c 100644
--- a/sc/source/filter/excel/xltoolbar.cxx
+++ b/sc/source/filter/excel/xltoolbar.cxx
@@ -8,6 +8,7 @@
*/
#include "xltoolbar.hxx"
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <stdarg.h>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/IndexedPropertyValues.hpp>
diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx
index 7d697c016c03..5873270de48d 100644
--- a/sc/source/filter/excel/xltools.cxx
+++ b/sc/source/filter/excel/xltools.cxx
@@ -23,6 +23,7 @@
#include <unotools/fontcvt.hxx>
#include <sfx2/objsh.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <editeng/editstat.hxx>
#include <filter/msfilter/msvbahelper.hxx>
#include <xestream.hxx>
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index 1d40cd44c0aa..dab3b5e112f3 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -28,6 +28,7 @@
#include <comphelper/processfactory.hxx>
#include <tools/urlobj.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/request.hxx>
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx
index ba673aca6cef..16fe863289d7 100644
--- a/sc/source/filter/lotus/lotattr.cxx
+++ b/sc/source/filter/lotus/lotattr.cxx
@@ -24,6 +24,7 @@
#include <editeng/brushitem.hxx>
#include <editeng/justifyitem.hxx>
#include <svx/algitem.hxx>
+#include <sal/log.hxx>
#include <attrib.hxx>
#include <docpool.hxx>
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx
index cbf29f667bb7..4371a5587798 100644
--- a/sc/source/filter/lotus/lotform.cxx
+++ b/sc/source/filter/lotus/lotform.cxx
@@ -29,6 +29,7 @@
#include <math.h>
#include <comphelper/string.hxx>
+#include <sal/log.hxx>
#include <memory>
static const sal_Char* GetAddInName( const sal_uInt8 nIndex );
diff --git a/sc/source/filter/lotus/lotimpop.cxx b/sc/source/filter/lotus/lotimpop.cxx
index 99cc7a9dd3be..f93c965efa42 100644
--- a/sc/source/filter/lotus/lotimpop.cxx
+++ b/sc/source/filter/lotus/lotimpop.cxx
@@ -20,6 +20,7 @@
#include "lotfilter.hxx"
#include <lotimpop.hxx>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <attrib.hxx>
#include <document.hxx>
diff --git a/sc/source/filter/lotus/lotread.cxx b/sc/source/filter/lotus/lotread.cxx
index 6caefd0337d1..ee2ea3a434c6 100644
--- a/sc/source/filter/lotus/lotread.cxx
+++ b/sc/source/filter/lotus/lotread.cxx
@@ -28,6 +28,8 @@
#include <lotattr.hxx>
#include <fprogressbar.hxx>
+#include <sal/log.hxx>
+
class ScFormulaCell;
ErrCode ImportLotus::parse()
diff --git a/sc/source/filter/lotus/tool.cxx b/sc/source/filter/lotus/tool.cxx
index 7b2866918667..616f96808c56 100644
--- a/sc/source/filter/lotus/tool.cxx
+++ b/sc/source/filter/lotus/tool.cxx
@@ -21,6 +21,7 @@
#include <svx/algitem.hxx>
#include <editeng/justifyitem.hxx>
#include <svl/zforlist.hxx>
+#include <sal/log.hxx>
#include <rangenam.hxx>
#include <compiler.hxx>
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index 22f2445aa33c..c136e32be2eb 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -22,6 +22,7 @@
#include <com/sun/star/sheet/ConditionOperator2.hpp>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <svl/intitem.hxx>
#include <svl/sharedstringpool.hxx>
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index 006c4818e48a..2be4d12ce6be 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <oox/helper/binaryinputstream.hxx>
#include <excelchartconverter.hxx>
diff --git a/sc/source/filter/oox/externallinkbuffer.cxx b/sc/source/filter/oox/externallinkbuffer.cxx
index b79c0606820d..96be62a84684 100644
--- a/sc/source/filter/oox/externallinkbuffer.cxx
+++ b/sc/source/filter/oox/externallinkbuffer.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/sheet/XExternalDocLinks.hpp>
#include <osl/diagnose.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/token/namespaces.hxx>
diff --git a/sc/source/filter/oox/extlstcontext.cxx b/sc/source/filter/oox/extlstcontext.cxx
index 05a036d6faaf..56163f520c17 100644
--- a/sc/source/filter/oox/extlstcontext.cxx
+++ b/sc/source/filter/oox/extlstcontext.cxx
@@ -21,6 +21,7 @@
#include <rangeutl.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
using ::oox::core::ContextHandlerRef;
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index ccd0cf56f357..fa3325298062 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -24,6 +24,7 @@
#include <oox/token/tokens.hxx>
#include <svl/sharedstringpool.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sheet;
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx
index f5d43edf5b17..a6d3c0f7a18d 100644
--- a/sc/source/filter/oox/formulaparser.cxx
+++ b/sc/source/filter/oox/formulaparser.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/sheet/ReferenceFlags.hpp>
#include <com/sun/star/sheet/SingleReference.hpp>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/token/properties.hxx>
#include <oox/helper/binaryinputstream.hxx>
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx
index 040bab3dad37..2a46606e0111 100644
--- a/sc/source/filter/oox/pivotcachebuffer.cxx
+++ b/sc/source/filter/oox/pivotcachebuffer.cxx
@@ -29,6 +29,7 @@
#include <com/sun/star/sheet/XDataPilotFieldGrouping.hpp>
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/helper/containerhelper.hxx>
diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx
index a8f9b8d01d38..80171ee8c7c4 100644
--- a/sc/source/filter/oox/pivottablebuffer.cxx
+++ b/sc/source/filter/oox/pivottablebuffer.cxx
@@ -39,6 +39,7 @@
#include <com/sun/star/sheet/XDataPilotTablesSupplier.hpp>
#include <com/sun/star/sheet/XSheetOperation.hpp>
#include <osl/diagnose.hxx>
+#include <sal/log.hxx>
#include <oox/helper/binaryinputstream.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/helper/containerhelper.hxx>
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index cf44072cd9e3..215bfaf8d64e 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/util/XNumberFormatTypes.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/editobj.hxx>
#include <svl/eitem.hxx>
diff --git a/sc/source/filter/oox/sheetdatacontext.cxx b/sc/source/filter/oox/sheetdatacontext.cxx
index 5f17d8c419b6..c64bd9e56b42 100644
--- a/sc/source/filter/oox/sheetdatacontext.cxx
+++ b/sc/source/filter/oox/sheetdatacontext.cxx
@@ -27,6 +27,7 @@
#include <formulaparser.hxx>
#include <richstringcontext.hxx>
#include <unitconverter.hxx>
+#include <sal/log.hxx>
namespace oox {
namespace xls {
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index 6f8ad8a82f41..95272cc9349d 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -56,6 +56,7 @@
#include <vcl/unohelp.hxx>
#include <rtl/tencinfo.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/helper/containerhelper.hxx>
diff --git a/sc/source/filter/oox/tablebuffer.cxx b/sc/source/filter/oox/tablebuffer.cxx
index 7df3a7a74f26..8798ca69fbf5 100644
--- a/sc/source/filter/oox/tablebuffer.cxx
+++ b/sc/source/filter/oox/tablebuffer.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/sheet/XDatabaseRange.hpp>
#include <com/sun/star/sheet/XDatabaseRanges.hpp>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/helper/binaryinputstream.hxx>
#include <oox/helper/propertyset.hxx>
diff --git a/sc/source/filter/oox/tablecolumnsbuffer.cxx b/sc/source/filter/oox/tablecolumnsbuffer.cxx
index b3baef6a9d86..9d039efde48b 100644
--- a/sc/source/filter/oox/tablecolumnsbuffer.cxx
+++ b/sc/source/filter/oox/tablecolumnsbuffer.cxx
@@ -20,6 +20,7 @@
#include <tablecolumnsbuffer.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <oox/helper/attributelist.hxx>
#include <oox/helper/containerhelper.hxx>
#include <oox/helper/propertyset.hxx>
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx
index 162fb3812201..9e351d19ed20 100644
--- a/sc/source/filter/oox/workbookfragment.cxx
+++ b/sc/source/filter/oox/workbookfragment.cxx
@@ -66,6 +66,7 @@
#include <comphelper/threadpool.hxx>
#include <osl/conditn.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <queue>
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 113888fbe0ec..dcf3e83d7eae 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -52,6 +52,7 @@
#include <i18nlangtag/lang.h>
#include <vcl/outdev.hxx>
#include <tools/fontenum.hxx>
+#include <sal/log.hxx>
#include <stylesbuffer.hxx>
diff --git a/sc/source/filter/orcus/orcusfiltersimpl.cxx b/sc/source/filter/orcus/orcusfiltersimpl.cxx
index d907b3edfaa4..1b888f220e7a 100644
--- a/sc/source/filter/orcus/orcusfiltersimpl.cxx
+++ b/sc/source/filter/orcus/orcusfiltersimpl.cxx
@@ -19,6 +19,7 @@
#include <svl/itemset.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <orcus/spreadsheet/import_interface.hpp>
#include <orcus/orcus_csv.hpp>
diff --git a/sc/source/filter/orcus/xmlcontext.cxx b/sc/source/filter/orcus/xmlcontext.cxx
index b2405212d8fa..e47b862c2138 100644
--- a/sc/source/filter/orcus/xmlcontext.cxx
+++ b/sc/source/filter/orcus/xmlcontext.cxx
@@ -16,6 +16,7 @@
#include <svtools/treelistentry.hxx>
#include <ucbhelper/content.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <orcus/spreadsheet/import_interface.hpp>
#include <orcus/xml_structure_tree.hpp>
diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx
index 10cdabe172c0..5f6d04c4a753 100644
--- a/sc/source/filter/qpro/qpro.cxx
+++ b/sc/source/filter/qpro/qpro.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <sfx2/docfile.hxx>
#include <qproform.hxx>
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 3943cd0c0878..a3a68c649480 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -20,6 +20,7 @@
#include <rtl/strbuf.hxx>
#include <sal/config.h>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <qpro.hxx>
#include <qproform.hxx>
diff --git a/sc/source/filter/xcl97/XclImpChangeTrack.cxx b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
index c7dc9dbb1a8b..4b234b6d2753 100644
--- a/sc/source/filter/xcl97/XclImpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
@@ -21,6 +21,7 @@
#include <sot/storage.hxx>
#include <svl/zforlist.hxx>
#include <svl/sharedstringpool.hxx>
+#include <sal/log.hxx>
#include <chgviset.hxx>
#include <formulacell.hxx>
#include <chgtrack.hxx>
diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx
index ccbc75ae3dd3..4ef21e1b6317 100644
--- a/sc/source/filter/xcl97/xcl97esc.cxx
+++ b/sc/source/filter/xcl97/xcl97esc.cxx
@@ -38,6 +38,7 @@
#include <unotools/ucbstreamhelper.hxx>
#include <svx/sdasitm.hxx>
#include <sfx2/docfile.hxx>
+#include <sal/log.hxx>
#include <sot/exchange.hxx>
#include <xeescher.hxx>
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index fa8390f41da6..c6ee84081580 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -34,6 +34,7 @@
#include <rtl/math.hxx>
#include <rtl/uuid.h>
+#include <sal/log.hxx>
#include <svl/zformat.hxx>
#include <formulacell.hxx>
#include <drwlayer.hxx>
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
index 0aebfc49f838..232f0da21566 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.cxx
@@ -37,6 +37,7 @@
#include <tools/datetime.hxx>
#include <svl/zforlist.hxx>
#include <svl/sharedstring.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace xmloff::token;
diff --git a/sc/source/filter/xml/XMLDDELinksContext.cxx b/sc/source/filter/xml/XMLDDELinksContext.cxx
index e1002df74501..db1c04d4edf8 100644
--- a/sc/source/filter/xml/XMLDDELinksContext.cxx
+++ b/sc/source/filter/xml/XMLDDELinksContext.cxx
@@ -27,6 +27,7 @@
#include <sax/tools/converter.hxx>
#include <svl/sharedstringpool.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace xmloff::token;
diff --git a/sc/source/filter/xml/xmlbodyi.cxx b/sc/source/filter/xml/xmlbodyi.cxx
index e7068ce9fcec..686630bfc5c0 100644
--- a/sc/source/filter/xml/xmlbodyi.cxx
+++ b/sc/source/filter/xml/xmlbodyi.cxx
@@ -52,6 +52,7 @@
#include <comphelper/base64.hxx>
#include <sax/tools/converter.hxx>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <memory>
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index c9899457f23c..d3e98f4f25c7 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -100,6 +100,7 @@
#include <com/sun/star/sheet/ValidationAlertStyle.hpp>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <tools/date.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/make_unique.hxx>
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx
index 10ff5eda5de7..acf77f54ac42 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -11,6 +11,7 @@
#include "xmlcondformat.hxx"
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlnmspe.hxx>
+#include <sal/log.hxx>
#include <colorscale.hxx>
#include <conditio.hxx>
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 27c94380fa5c..631abf95cfc3 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <appluno.hxx>
#include "xmlexprt.hxx"
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 20ba58d3c216..631f925e4447 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <svl/zforlist.hxx>
#include <sal/macros.h>
diff --git a/sc/source/filter/xml/xmlsubti.cxx b/sc/source/filter/xml/xmlsubti.cxx
index 520d484c28a9..dcaba94ba129 100644
--- a/sc/source/filter/xml/xmlsubti.cxx
+++ b/sc/source/filter/xml/xmlsubti.cxx
@@ -34,6 +34,7 @@
#include <documentimport.hxx>
#include <svx/svdpage.hxx>
+#include <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmltkmap.hxx>
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index 82e8c9010aac..3d57c2e92ae1 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -41,6 +41,7 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/XMLEventsImportContext.hxx>
+#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <sax/fastattribs.hxx>
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index dcaf6daa29da..89cf3142d368 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -56,6 +56,7 @@
#include <comphelper/documentconstants.hxx>
#include <svx/xmleohlp.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <unotools/saveopt.hxx>
#include <document.hxx>