summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-11-12 20:55:41 +0100
committerMiklos Vajna <vmiklos@collabora.com>2018-11-19 09:38:53 +0100
commit492ea7e08571e466e37f870b7642a79df55c2e92 (patch)
tree902686cce366dc110cb46d8164b22658235c575e /sw/source/filter
parent50e644253f78ab002f180fb8e82ca181b95cb7ff (diff)
tdf#42949 Fix IWYU warnings in include/vcl/[ab]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If18c80fc64e55d797953e24e40e5d5e62bd9c625 Reviewed-on: https://gerrit.libreoffice.org/63453 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ascii/parasc.cxx1
-rw-r--r--sw/source/filter/basflt/fltini.cxx1
-rw-r--r--sw/source/filter/basflt/fltshell.cxx1
-rw-r--r--sw/source/filter/html/htmlatr.cxx2
-rw-r--r--sw/source/filter/html/htmlbas.cxx1
-rw-r--r--sw/source/filter/html/htmlcss1.cxx1
-rw-r--r--sw/source/filter/html/htmlctxt.cxx1
-rw-r--r--sw/source/filter/html/htmlfld.cxx1
-rw-r--r--sw/source/filter/html/htmlfldw.cxx1
-rw-r--r--sw/source/filter/html/htmlfly.cxx1
-rw-r--r--sw/source/filter/html/htmlftn.cxx1
-rw-r--r--sw/source/filter/html/htmlgrin.cxx1
-rw-r--r--sw/source/filter/html/htmlnumreader.cxx1
-rw-r--r--sw/source/filter/html/htmlnumwriter.cxx1
-rw-r--r--sw/source/filter/html/htmlsect.cxx1
-rw-r--r--sw/source/filter/html/htmltabw.cxx1
-rw-r--r--sw/source/filter/html/svxcss1.cxx1
-rw-r--r--sw/source/filter/writer/writer.cxx1
-rw-r--r--sw/source/filter/writer/wrt_fn.cxx1
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx1
-rw-r--r--sw/source/filter/ww8/needed_cast.hxx2
-rw-r--r--sw/source/filter/xml/xmlexpit.cxx1
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx1
-rw-r--r--sw/source/filter/xml/xmlitemi.cxx1
-rw-r--r--sw/source/filter/xml/xmlmeta.cxx1
25 files changed, 27 insertions, 0 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx
index a6b41a588aae..ef7faed07197 100644
--- a/sw/source/filter/ascii/parasc.cxx
+++ b/sw/source/filter/ascii/parasc.cxx
@@ -46,6 +46,7 @@
#include <iodetect.hxx>
#include <vcl/metric.hxx>
+#include <osl/diagnose.h>
#define ASC_BUFFLEN 4096
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index ac001af12e29..4db87558ecb9 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -56,6 +56,7 @@
#include <osl/module.hxx>
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace utl;
using namespace com::sun::star::uno;
diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index 8b219d2b60b3..30109e940402 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <sal/config.h>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <cstddef>
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 426e3c9c8d72..2edf9a57c5fe 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -78,6 +78,8 @@
#include <numrule.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/character.hxx>
+#include <osl/diagnose.h>
+#include <deque>
#include <svtools/HtmlWriter.hxx>
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index 4a20f7dd68ca..158884433ab1 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -21,6 +21,7 @@
#include <hintids.hxx>
#include <comphelper/string.hxx>
+#include <osl/diagnose.h>
#include <rtl/strbuf.hxx>
#include <basic/sbx.hxx>
#include <basic/basmgr.hxx>
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index ded8ff86c16b..26b6d2d370fe 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -46,6 +46,7 @@
#include <charfmt.hxx>
#include <docary.hxx>
#include <svx/svxids.hrc>
+#include <osl/diagnose.h>
#include <doc.hxx>
#include <IDocumentStylePoolAccess.hxx>
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index 8ad9815902ce..ff200babd3b7 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -26,6 +26,7 @@
#include <editeng/fhgtitem.hxx>
#include <svtools/htmltokn.h>
#include <editeng/boxitem.hxx>
+#include <osl/diagnose.h>
#include <doc.hxx>
#include <pam.hxx>
diff --git a/sw/source/filter/html/htmlfld.cxx b/sw/source/filter/html/htmlfld.cxx
index 9498ca1ffbc8..da9211de08dc 100644
--- a/sw/source/filter/html/htmlfld.cxx
+++ b/sw/source/filter/html/htmlfld.cxx
@@ -20,6 +20,7 @@
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
+#include <osl/diagnose.h>
#include <docsh.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <svtools/htmltokn.h>
diff --git a/sw/source/filter/html/htmlfldw.cxx b/sw/source/filter/html/htmlfldw.cxx
index 4c5911e72090..24eb6bdfa4c4 100644
--- a/sw/source/filter/html/htmlfldw.cxx
+++ b/sw/source/filter/html/htmlfldw.cxx
@@ -23,6 +23,7 @@
#include <svtools/htmlkywd.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/htmltokn.h>
+#include <osl/diagnose.h>
#include <fmtfld.hxx>
#include <doc.hxx>
#include <breakit.hxx>
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx
index 80d6be5338a7..8546e8d01721 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -34,6 +34,7 @@
#include <frmfmt.hxx>
#include <ndindex.hxx>
#include <pam.hxx>
+#include <osl/diagnose.h>
using namespace css;
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index 6319ea9663bf..cfab31225bc6 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <osl/diagnose.h>
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
#include <rtl/strbuf.hxx>
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 3565f9115861..9527271c2f11 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -42,6 +42,7 @@
#include <svtools/htmlkywd.hxx>
#include <unotools/eventcfg.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <fmtornt.hxx>
#include <fmturl.hxx>
diff --git a/sw/source/filter/html/htmlnumreader.cxx b/sw/source/filter/html/htmlnumreader.cxx
index 8584297f2b70..81df21aad9be 100644
--- a/sw/source/filter/html/htmlnumreader.cxx
+++ b/sw/source/filter/html/htmlnumreader.cxx
@@ -28,6 +28,7 @@
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <numrule.hxx>
#include <doc.hxx>
#include <docary.hxx>
diff --git a/sw/source/filter/html/htmlnumwriter.cxx b/sw/source/filter/html/htmlnumwriter.cxx
index bd0d2dadab8b..c4fd8ea9bdf7 100644
--- a/sw/source/filter/html/htmlnumwriter.cxx
+++ b/sw/source/filter/html/htmlnumwriter.cxx
@@ -40,6 +40,7 @@
#include <SwNodeNum.hxx>
#include <rtl/strbuf.hxx>
+#include <osl/diagnose.h>
using namespace css;
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index b084a27d41c7..5ce635e6aa7c 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -28,6 +28,7 @@
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <sfx2/linkmgr.hxx>
+#include <osl/diagnose.h>
#include <hintids.hxx>
#include <fmtornt.hxx>
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index 600d27c5dc72..d0dd6ca84bfb 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -50,6 +50,7 @@
#endif
#include <rtl/strbuf.hxx>
#include <sal/types.h>
+#include <osl/diagnose.h>
#define MAX_DEPTH (3)
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index f6b0bc289673..ba523eb0d207 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -53,6 +53,7 @@
#include <vcl/wrkwin.hxx>
#include <o3tl/make_unique.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include "css1kywd.hxx"
#include "svxcss1.hxx"
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 05d72841b81e..afd16a3e708f 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -28,6 +28,7 @@
#include <editeng/eeitem.hxx>
#include <o3tl/make_unique.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <shellio.hxx>
#include <doc.hxx>
#include <docary.hxx>
diff --git a/sw/source/filter/writer/wrt_fn.cxx b/sw/source/filter/writer/wrt_fn.cxx
index 9f06edcceeb1..b0cbff4212f3 100644
--- a/sw/source/filter/writer/wrt_fn.cxx
+++ b/sw/source/filter/writer/wrt_fn.cxx
@@ -19,6 +19,7 @@
#include <svl/itemiter.hxx>
#include <svl/whiter.hxx>
+#include <osl/diagnose.h>
// tdf#94088 SdrAllFillAttributesHelper needed
#include <svx/unobrushitemhelper.hxx>
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index f0d42826a9df..55aaa3349d02 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -23,6 +23,7 @@
#include <editeng/brushitem.hxx>
#include <tools/fract.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
#include <wrtswtbl.hxx>
#include <swtable.hxx>
#include <frmfmt.hxx>
diff --git a/sw/source/filter/ww8/needed_cast.hxx b/sw/source/filter/ww8/needed_cast.hxx
index a7a6a045d758..1fe7ca091e76 100644
--- a/sw/source/filter/ww8/needed_cast.hxx
+++ b/sw/source/filter/ww8/needed_cast.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_NEEDED_CAST_HXX
#define INCLUDED_SW_SOURCE_FILTER_WW8_NEEDED_CAST_HXX
+#include <osl/diagnose.h>
+
namespace ww
{
template<typename Ret, typename Param> Ret checking_cast(Param in, Ret)
diff --git a/sw/source/filter/xml/xmlexpit.cxx b/sw/source/filter/xml/xmlexpit.cxx
index 6daec44d8e37..b04d8f085e13 100644
--- a/sw/source/filter/xml/xmlexpit.cxx
+++ b/sw/source/filter/xml/xmlexpit.cxx
@@ -19,6 +19,7 @@
#include "xmlexpit.hxx"
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <sax/tools/converter.hxx>
#include <svl/itempool.hxx>
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index 578d07d0face..184a6e6194f1 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -30,6 +30,7 @@
#include <xmloff/xmlnmspe.hxx>
#include <editeng/xmlcnitm.hxx>
#include <editeng/memberids.h>
+#include <osl/diagnose.h>
#include <hintids.hxx>
#include <unomid.h>
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx
index 1e1c5f3a9672..68e7ca2f47d7 100644
--- a/sw/source/filter/xml/xmlitemi.cxx
+++ b/sw/source/filter/xml/xmlitemi.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/ustring.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/util/MeasureUnit.hpp>
diff --git a/sw/source/filter/xml/xmlmeta.cxx b/sw/source/filter/xml/xmlmeta.cxx
index 360f0c918c2c..350e9d088535 100644
--- a/sw/source/filter/xml/xmlmeta.cxx
+++ b/sw/source/filter/xml/xmlmeta.cxx
@@ -19,6 +19,7 @@
#include <hintids.hxx>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
+#include <osl/diagnose.h>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlmetae.hxx>