[Libreoffice-commits] core.git: drawinglayer/qa svtools/qa svx/qa sw/IwyuFilter_sw.yaml sw/qa sw/source vcl/IwyuFilter_vcl.yaml

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 3 07:07:18 UTC 2019


 drawinglayer/qa/unit/border.cxx        |    1 -
 svtools/qa/unit/testHtmlReader.cxx     |    1 -
 svx/qa/unit/unodraw.cxx                |    1 -
 svx/qa/unit/xoutdev.cxx                |    1 -
 sw/IwyuFilter_sw.yaml                  |    4 ++++
 sw/qa/extras/uiwriter/uiwriter2.cxx    |    1 -
 sw/source/core/doc/textboxhelper.cxx   |    2 --
 sw/source/filter/rtf/swparrtf.cxx      |    1 -
 sw/source/filter/ww8/docxsdrexport.cxx |    9 ---------
 vcl/IwyuFilter_vcl.yaml                |    2 ++
 10 files changed, 6 insertions(+), 17 deletions(-)

New commits:
commit 969996ac98bc96385a6930684a4e4abe02ca03a7
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Jul 2 21:23:52 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jul 3 09:06:13 2019 +0200

    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 at collabora.com>

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


More information about the Libreoffice-commits mailing list