summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-07-02 21:23:52 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-03 09:06:13 +0200
commit969996ac98bc96385a6930684a4e4abe02ca03a7 (patch)
tree92dc70af5c4ee44a7a1498a7f56633dc529c8579
parent25bf2c5c0074fbcc162c02593d896705e225b5b5 (diff)
Remove some unused includes
See tdf#42949 for motivation. Change-Id: I89c082d62409b40c8472b865cc60b0d10923c9c1 Reviewed-on: https://gerrit.libreoffice.org/75015 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--drawinglayer/qa/unit/border.cxx1
-rw-r--r--svtools/qa/unit/testHtmlReader.cxx1
-rw-r--r--svx/qa/unit/unodraw.cxx1
-rw-r--r--svx/qa/unit/xoutdev.cxx1
-rw-r--r--sw/IwyuFilter_sw.yaml4
-rw-r--r--sw/qa/extras/uiwriter/uiwriter2.cxx1
-rw-r--r--sw/source/core/doc/textboxhelper.cxx2
-rw-r--r--sw/source/filter/rtf/swparrtf.cxx1
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx9
-rw-r--r--vcl/IwyuFilter_vcl.yaml2
10 files changed, 6 insertions, 17 deletions
diff --git a/drawinglayer/qa/unit/border.cxx b/drawinglayer/qa/unit/border.cxx
index 56357415f37a..8209d5172926 100644
--- a/drawinglayer/qa/unit/border.cxx
+++ b/drawinglayer/qa/unit/border.cxx
@@ -9,7 +9,6 @@
#include <memory>
#include <cppunit/TestAssert.h>
-#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
#include <drawinglayer/geometry/viewinformation2d.hxx>
diff --git a/svtools/qa/unit/testHtmlReader.cxx b/svtools/qa/unit/testHtmlReader.cxx
index abda6f2725fc..4e5638cc59b7 100644
--- a/svtools/qa/unit/testHtmlReader.cxx
+++ b/svtools/qa/unit/testHtmlReader.cxx
@@ -9,7 +9,6 @@
*/
#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
#include <unotest/bootstrapfixturebase.hxx>
#include <svtools/parhtml.hxx>
#include <tools/ref.hxx>
diff --git a/svx/qa/unit/unodraw.cxx b/svx/qa/unit/unodraw.cxx
index f3d28bda4bac..ee4b336b1a3d 100644
--- a/svx/qa/unit/unodraw.cxx
+++ b/svx/qa/unit/unodraw.cxx
@@ -8,7 +8,6 @@
*/
#include <cppunit/TestAssert.h>
-#include <cppunit/extensions/HelperMacros.h>
#include <com/sun/star/drawing/GraphicExportFilter.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
diff --git a/svx/qa/unit/xoutdev.cxx b/svx/qa/unit/xoutdev.cxx
index 513661d669b6..308c484a7ba1 100644
--- a/svx/qa/unit/xoutdev.cxx
+++ b/svx/qa/unit/xoutdev.cxx
@@ -11,7 +11,6 @@
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
#include <unotest/bootstrapfixturebase.hxx>
#include <sal/types.h>
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 58d6a158af30..64f35046e46a 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -440,3 +440,7 @@ blacklist:
sw/source/filter/ww8/ww8scan.hxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
+ sw/qa/extras/layout/layout.cxx:
+ - comphelper/scopeguard.hxx
+ sw/source/filter/html/htmlreqifreader.cxx:
+ - comphelper/scopeguard.hxx
diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx
index 375b4a3aacda..8c07b9d11094 100644
--- a/sw/qa/extras/uiwriter/uiwriter2.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter2.cxx
@@ -33,7 +33,6 @@
#include <redline.hxx>
#include <view.hxx>
#include <cmdid.h>
-#include <com/sun/star/style/BreakType.hpp>
namespace
{
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index f729e4e44afd..3aa8b761ad5c 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -15,7 +15,6 @@
#include <fmtfsize.hxx>
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
-#include <ndtxt.hxx>
#include <docsh.hxx>
#include <unocoll.hxx>
#include <unoframe.hxx>
@@ -29,7 +28,6 @@
#include <frmfmt.hxx>
#include <editeng/unoprnms.hxx>
-#include <editeng/charrotateitem.hxx>
#include <editeng/memberids.h>
#include <svx/svdoashp.hxx>
#include <svx/svdpage.hxx>
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
index bd333ea0d565..e9854065b387 100644
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -31,7 +31,6 @@
#include <unotools/streamwrap.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
-#include <sal/log.hxx>
#include <tools/diagnose_ex.h>
#include <com/sun/star/document/XFilter.hpp>
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 507dc6b4646f..cceb53df397a 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -10,10 +10,6 @@
#include "docxsdrexport.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
-#include <com/sun/star/xml/sax/XSAXSerializable.hpp>
-#include <com/sun/star/xml/sax/Writer.hpp>
-#include <com/sun/star/xml/dom/XNodeList.hpp>
-#include <editeng/unoprnms.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
@@ -21,10 +17,7 @@
#include <editeng/opaqitem.hxx>
#include <editeng/boxitem.hxx>
#include <svx/svdogrp.hxx>
-#include <oox/helper/propertyset.hxx>
#include <oox/token/namespaces.hxx>
-#include <oox/token/relationship.hxx>
-#include <oox/token/properties.hxx>
#include <textboxhelper.hxx>
#include <fmtanchr.hxx>
#include <fmtsrnd.hxx>
@@ -36,8 +29,6 @@
#include <frmatr.hxx>
#include "docxattributeoutput.hxx"
#include "docxexportfilter.hxx"
-#include <comphelper/processfactory.hxx>
-#include <comphelper/seqstream.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <sal/log.hxx>
diff --git a/vcl/IwyuFilter_vcl.yaml b/vcl/IwyuFilter_vcl.yaml
index 8af2d192987a..f99cda446f51 100644
--- a/vcl/IwyuFilter_vcl.yaml
+++ b/vcl/IwyuFilter_vcl.yaml
@@ -31,3 +31,5 @@ blacklist:
vcl/source/app/svmain.cxx:
# Needed on WIN32
- desktop/exithelper.h
+ vcl/source/filter/ipdf/pdfdocument.cxx:
+ - comphelper/scopeguard.hxx