summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-10-20 12:00:50 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-10-26 15:08:18 +0200
commit33623f3117d88683fbc9e66792e5030c0322946e (patch)
treeb817ac4b192e355de61ebff3e22187ca414cf8f2 /sw
parent31a8d9c711dfdbdb4b11067125d763b1d570033b (diff)
tdf#42949 Fix IWYU warnings in include/unotools/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I444c43b9d549977039f25bec2b5bf666c3e15e0e Reviewed-on: https://gerrit.libreoffice.org/62041 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/AnnotationWin.hxx1
-rw-r--r--sw/source/core/bastyp/calc.cxx2
-rw-r--r--sw/source/core/crsr/findtxt.cxx1
-rw-r--r--sw/source/core/doc/doccomp.cxx1
-rw-r--r--sw/source/core/fields/usrfld.cxx1
-rw-r--r--sw/source/core/unocore/XMLRangeHelper.cxx1
-rw-r--r--sw/source/filter/html/htmlatr.cxx1
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/ui/fldui/fldref.cxx1
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx1
-rw-r--r--sw/source/uibase/misc/glosdoc.cxx1
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx1
-rw-r--r--sw/source/uibase/wrtsh/delete.cxx1
13 files changed, 15 insertions, 0 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index eb880bf8dba2..5295c93f641e 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -22,6 +22,7 @@
#include <basegfx/range/b2drange.hxx>
#include <tools/date.hxx>
+#include <tools/time.hxx>
#include <vcl/builder.hxx>
#include <vcl/window.hxx>
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 06e22ce090de..b61be8fe83aa 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -50,6 +50,8 @@
#include <unotools/useroptions.hxx>
#include <usrfld.hxx>
#include <viewsh.hxx>
+#include <com/sun/star/i18n/KParseTokens.hpp>
+#include <com/sun/star/i18n/KParseType.hpp>
using namespace ::com::sun::star;
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index 73f6feee297a..2804371cd724 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <com/sun/star/util/SearchFlags.hpp>
+#include <com/sun/star/util/SearchResult.hpp>
#include <comphelper/lok.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index 6aadff92cf86..3766facb5cc1 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -18,6 +18,7 @@
*/
#include <hintids.hxx>
+#include <rtl/character.hxx>
#include <vcl/vclenum.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/colritem.hxx>
diff --git a/sw/source/core/fields/usrfld.cxx b/sw/source/core/fields/usrfld.cxx
index 5537fc36ea92..cb39faeb6eba 100644
--- a/sw/source/core/fields/usrfld.cxx
+++ b/sw/source/core/fields/usrfld.cxx
@@ -25,6 +25,7 @@
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
+#include <unotools/charclass.hxx>
#include <svx/svdmodel.hxx>
diff --git a/sw/source/core/unocore/XMLRangeHelper.cxx b/sw/source/core/unocore/XMLRangeHelper.cxx
index 38515ee84edb..dfc48e80a145 100644
--- a/sw/source/core/unocore/XMLRangeHelper.cxx
+++ b/sw/source/core/unocore/XMLRangeHelper.cxx
@@ -19,6 +19,7 @@
#include "XMLRangeHelper.hxx"
#include <unotools/charclass.hxx>
+#include <rtl/character.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index e655dd34e569..426e3c9c8d72 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -77,6 +77,7 @@
#include "htmlfly.hxx"
#include <numrule.hxx>
#include <rtl/strbuf.hxx>
+#include <rtl/character.hxx>
#include <svtools/HtmlWriter.hxx>
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 5595a31f35cc..527b9fcba0c5 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -35,6 +35,8 @@
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <sfx2/linkmgr.hxx>
+#include <rtl/character.hxx>
+#include <unotools/charclass.hxx>
#include <ucbhelper/content.hxx>
#include <ucbhelper/commandenvironment.hxx>
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index c9b0063d86d3..0f77186c9f6b 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -33,6 +33,7 @@
#include <ndtxt.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/syslocaleoptions.hxx>
+#include <unotools/charclass.hxx>
#include <comphelper/string.hxx>
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 3d0c7c5f88ee..81af597d8951 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -113,6 +113,7 @@
#include <connectivity/dbtools.hxx>
#include <connectivity/dbconversion.hxx>
#include <o3tl/make_unique.hxx>
+#include <unotools/charclass.hxx>
#include <unomailmerge.hxx>
#include <sfx2/event.hxx>
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx
index 8ed038e9c590..6fe5b9480fda 100644
--- a/sw/source/uibase/misc/glosdoc.cxx
+++ b/sw/source/uibase/misc/glosdoc.cxx
@@ -25,6 +25,7 @@
#include <vcl/errinf.hxx>
#include <osl/diagnose.h>
+#include <rtl/character.hxx>
#include <svl/urihelper.hxx>
#include <svl/fstathelper.hxx>
#include <unotools/pathoptions.hxx>
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 956e76c9f646..13f201c69c84 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <osl/diagnose.h>
+#include <rtl/character.hxx>
#include <vcl/svapp.hxx>
#include <svtools/unoevent.hxx>
#include <svl/urihelper.hxx>
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx
index 074cb0c23b62..d15a46db78b3 100644
--- a/sw/source/uibase/wrtsh/delete.cxx
+++ b/sw/source/uibase/wrtsh/delete.cxx
@@ -23,6 +23,7 @@
#include <view.hxx>
#include <drawbase.hxx>
#include <unobaseclass.hxx>
+#include <rtl/character.hxx>
inline void SwWrtShell::OpenMark()
{