summaryrefslogtreecommitdiff
path: root/writerperfect/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-11 08:00:51 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-12 10:40:25 +0200
commit0132f27d4e062b9306e4fb90c38a58afffbe6cf0 (patch)
tree9d4504a59cb559e994c290b64c94b6e4918449ea /writerperfect/source
parent7d710ee08fbaecd376a8b731965e805ad0f4c59a (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 w* x* Change-Id: I27bff44da3d34d24262031c7489e755311599bc5 Reviewed-on: https://gerrit.libreoffice.org/57307 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect/source')
-rw-r--r--writerperfect/source/calc/MSWorksCalcImportFilter.cxx1
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx1
-rw-r--r--writerperfect/source/writer/EBookImportFilter.cxx1
-rw-r--r--writerperfect/source/writer/EPUBPackage.cxx1
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.cxx1
-rw-r--r--writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx2
-rw-r--r--writerperfect/source/writer/exp/XMLTextFrameContext.cxx2
-rw-r--r--writerperfect/source/writer/exp/txtparai.cxx2
-rw-r--r--writerperfect/source/writer/exp/xmlfmt.cxx2
-rw-r--r--writerperfect/source/writer/exp/xmltbli.cxx2
10 files changed, 15 insertions, 0 deletions
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
index ee5cc3096d79..cda4256a5ca6 100644
--- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
@@ -14,6 +14,7 @@
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/ucb/XContent.hpp>
#include <com/sun/star/ucb/XContentAccess.hpp>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sfx2/passwd.hxx>
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index 1c06f1b784bd..f4d4a5593229 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -15,6 +15,7 @@
#include <comphelper/seekableinput.hxx>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
#include <sot/storage.hxx>
diff --git a/writerperfect/source/writer/EBookImportFilter.cxx b/writerperfect/source/writer/EBookImportFilter.cxx
index b60efff74123..4c80c6cf075e 100644
--- a/writerperfect/source/writer/EBookImportFilter.cxx
+++ b/writerperfect/source/writer/EBookImportFilter.cxx
@@ -10,6 +10,7 @@
*/
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <libe-book/libe-book.h>
diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx
index 96a0bb714789..e13f2b3eb71b 100644
--- a/writerperfect/source/writer/EPUBPackage.cxx
+++ b/writerperfect/source/writer/EPUBPackage.cxx
@@ -16,6 +16,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp>
+#include <sal/log.hxx>
#include <comphelper/storagehelper.hxx>
#include <unotools/mediadescriptor.hxx>
#include <xmloff/attrlist.hxx>
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx
index 1b082c806a9b..b67a6e14f4ac 100644
--- a/writerperfect/source/writer/MSWorksImportFilter.cxx
+++ b/writerperfect/source/writer/MSWorksImportFilter.cxx
@@ -10,6 +10,7 @@
*/
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <libwps/libwps.h>
diff --git a/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx
index e23f60932773..5f1b53c804a8 100644
--- a/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx
+++ b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx
@@ -12,6 +12,8 @@
#include "xmlimp.hxx"
#include "xmltext.hxx"
+#include <sal/log.hxx>
+
using namespace com::sun::star;
namespace writerperfect
diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.cxx b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx
index 37848e668593..cb7d3f9a8340 100644
--- a/writerperfect/source/writer/exp/XMLTextFrameContext.cxx
+++ b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx
@@ -14,6 +14,8 @@
#include "xmlimp.hxx"
#include "xmltext.hxx"
+#include <sal/log.hxx>
+
using namespace com::sun::star;
namespace writerperfect
diff --git a/writerperfect/source/writer/exp/txtparai.cxx b/writerperfect/source/writer/exp/txtparai.cxx
index 3a5d6bf44d46..b947b87813e0 100644
--- a/writerperfect/source/writer/exp/txtparai.cxx
+++ b/writerperfect/source/writer/exp/txtparai.cxx
@@ -13,6 +13,8 @@
#include "XMLTextFrameContext.hxx"
#include "xmlimp.hxx"
+#include <sal/log.hxx>
+
using namespace com::sun::star;
namespace
diff --git a/writerperfect/source/writer/exp/xmlfmt.cxx b/writerperfect/source/writer/exp/xmlfmt.cxx
index fca68bf7900d..349bd71af60e 100644
--- a/writerperfect/source/writer/exp/xmlfmt.cxx
+++ b/writerperfect/source/writer/exp/xmlfmt.cxx
@@ -13,6 +13,8 @@
#include "txtstyli.hxx"
#include "xmlimp.hxx"
+#include <sal/log.hxx>
+
using namespace com::sun::star;
namespace writerperfect
diff --git a/writerperfect/source/writer/exp/xmltbli.cxx b/writerperfect/source/writer/exp/xmltbli.cxx
index b5c16388b750..bc029faf369a 100644
--- a/writerperfect/source/writer/exp/xmltbli.cxx
+++ b/writerperfect/source/writer/exp/xmltbli.cxx
@@ -13,6 +13,8 @@
#include "xmlimp.hxx"
#include "xmltext.hxx"
+#include <sal/log.hxx>
+
using namespace com::sun::star;
namespace writerperfect