summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-08-13 16:49:53 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-08-13 18:27:31 +0200
commitc10ea0e903ee2aba126087fc81702233b3a509cf (patch)
treee15cf60a17246984f398b0288ec0a037fd3cdffc /sw
parentb37653fdc74e05ff2f86dad39cc1878d9047580b (diff)
Remove some unused includes
Change-Id: Iea6b931b1f2328886354f70ad81a3e07367db717 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100669 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/IwyuFilter_sw.yaml12
-rw-r--r--sw/qa/extras/htmlexport/htmlexport.cxx3
-rw-r--r--sw/qa/extras/tiledrendering/tiledrendering.cxx1
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx3
-rw-r--r--sw/qa/uibase/shells/shells.cxx1
-rw-r--r--sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx3
6 files changed, 14 insertions, 9 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index fed83a0b39c3..ec23d4163ced 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -761,3 +761,15 @@ excludelist:
- com/sun/star/frame/XModel.hpp
sw/source/uibase/uno/dlelstnr.cxx:
- com/sun/star/linguistic2/XProofreadingIterator.hpp
+ sw/qa/extras/ooxmlimport/ooxmlimport.cxx:
+ # Required in C++20 mode.
+ - o3tl/cppunittraitshelper.hxx
+ sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
+ # Required in C++20 mode.
+ - o3tl/cppunittraitshelper.hxx
+ sw/qa/extras/ooxmlexport/ooxmlexport5.cxx:
+ # Required in C++20 mode.
+ - o3tl/cppunittraitshelper.hxx
+ sw/qa/extras/uiwriter/uiwriter.cxx:
+ # Required in C++20 mode.
+ - o3tl/cppunittraitshelper.hxx
diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx
index c6136e807bc9..36df600df185 100644
--- a/sw/qa/extras/htmlexport/htmlexport.cxx
+++ b/sw/qa/extras/htmlexport/htmlexport.cxx
@@ -15,8 +15,6 @@
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/io/XActiveDataStreamer.hpp>
#include <com/sun/star/io/XSeekable.hpp>
-#include <com/sun/star/frame/XDispatchHelper.hpp>
-#include <com/sun/star/frame/DispatchHelper.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/awt/FontUnderline.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
@@ -36,7 +34,6 @@
#include <svtools/rtftoken.h>
#include <filter/msfilter/rtfutil.hxx>
#include <sot/storage.hxx>
-#include <svl/eitem.hxx>
#include <vcl/svapp.hxx>
#include <unotools/mediadescriptor.hxx>
#include <svtools/htmlcfg.hxx>
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 8891ef5efcdf..955d830fcb1b 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -40,7 +40,6 @@
#include <vcl/scheduler.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/bitmapaccess.hxx>
-#include <svx/svxids.hrc>
#include <vcl/ITiledRenderable.hxx>
#include <tools/json_writer.hxx>
#include <unotools/mediadescriptor.hxx>
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 781ba3b3de8c..0c07afb71521 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -10,8 +10,8 @@
#include <memory>
#include <com/sun/star/awt/FontWeight.hpp>
#include <com/sun/star/drawing/GraphicExportFilter.hpp>
+#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/i18n/TextConversionOption.hpp>
-#include <com/sun/star/frame/DispatchHelper.hpp>
#include <com/sun/star/style/CaseMap.hpp>
#include <vcl/errcode.hxx>
#include <tools/gen.hxx>
@@ -49,7 +49,6 @@
#include <svx/svdpage.hxx>
#include <svx/svdview.hxx>
-#include <svx/xfillit0.hxx>
#include <svl/itemiter.hxx>
#include <svx/svxids.hrc>
#include <unotools/localfilehelper.hxx>
diff --git a/sw/qa/uibase/shells/shells.cxx b/sw/qa/uibase/shells/shells.cxx
index 15e20fc4d8f9..f3684b08cc39 100644
--- a/sw/qa/uibase/shells/shells.cxx
+++ b/sw/qa/uibase/shells/shells.cxx
@@ -29,7 +29,6 @@
#include <wrtsh.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <drawdoc.hxx>
-#include <unotxdoc.hxx>
#include <docsh.hxx>
char const DATA_DIRECTORY[] = "/sw/qa/uibase/shells/data/";
diff --git a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
index bbb018bfcc72..3af99a1fb9e6 100644
--- a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
+++ b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
@@ -26,7 +26,6 @@
#include <unoprnms.hxx>
#include <editeng/unoprnms.hxx>
#include <com/sun/star/text/XTextRange.hpp>
-#include <com/sun/star/text/XTextCursor.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
@@ -36,7 +35,7 @@
#include <unotextrange.hxx>
#include <comphelper/string.hxx>
#include <comphelper/processfactory.hxx>
-#include <unotools/intlwrapper.hxx>
+#include <i18nlangtag/languagetag.hxx>
#include <vcl/settings.hxx>
#include <inspectorproperties.hrc>