summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-04 21:06:53 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-05 09:26:05 +0100
commitbc3734244e5e2919b3ff413d3c86e010de438bf8 (patch)
treeb6f5d0f9a1c0fa01d54d620a2dc9cc73b6795212 /sw
parent3305d1a02084eff73a4c50db5dc8c6c45241173a (diff)
Remove some unused includes
Change-Id: I808b7e3f6b580ee6f1876aa06038b5741d7ff6a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90001 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/IwyuFilter_sw.yaml2
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 2c37782198f3..860950e24c04 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -417,6 +417,8 @@ blacklist:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/text/XDocumentIndexMark.hpp
+ # Needed in C++20 mode
+ - o3tl/cppunittraitshelper.hxx
sw/qa/extras/uiwriter/uiwriter.cxx:
# Needed for for-loop range
- PostItMgr.hxx
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 4d297bfb475f..c7831f992bf3 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -43,11 +43,9 @@
#include <editeng/boxitem.hxx>
#include <editeng/shaditem.hxx>
#include <lineinfo.hxx>
-#include <poolfmt.hxx>
#include <redline.hxx>
#include <swmodule.hxx>
#include <IDocumentLayoutAccess.hxx>
-#include <IDocumentStylePoolAccess.hxx>
#include <comphelper/string.hxx>
#include <svtools/rtfkeywd.hxx>
#include <filter/msfilter/rtfutil.hxx>
@@ -59,7 +57,6 @@
#include <iostream>
#endif
#include <svx/xflclit.hxx>
-#include <editeng/hyphenzoneitem.hxx>
#include <fmtmeta.hxx>
#include <IDocumentSettingAccess.hxx>
#include <fmtfsize.hxx>