summaryrefslogtreecommitdiff
path: root/emfio/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-12-15 22:58:53 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-12-20 10:25:19 +0100
commit8f4087138cb68d8dcdd06853df1a6deb53ee8844 (patch)
treec415f7947b4fc8cfc59dd645d0e56a6ab0be52b0 /emfio/source
parentdee81fb2e1df5091702b3c8b0e4a3f2b58e89291 (diff)
tdf#42949 Fix IWYU warnings in emfio/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I644bbebe798329e68665b8c751eccbb829178e91 Reviewed-on: https://gerrit.libreoffice.org/85182 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'emfio/source')
-rw-r--r--emfio/source/emfuno/xemfparser.cxx11
-rw-r--r--emfio/source/emfuno/xemfparser.hxx1
-rw-r--r--emfio/source/reader/emfreader.cxx2
-rw-r--r--emfio/source/reader/mtftools.cxx5
4 files changed, 0 insertions, 19 deletions
diff --git a/emfio/source/emfuno/xemfparser.cxx b/emfio/source/emfuno/xemfparser.cxx
index c5aad2411b2b..e80dc5631dbd 100644
--- a/emfio/source/emfuno/xemfparser.cxx
+++ b/emfio/source/emfuno/xemfparser.cxx
@@ -21,15 +21,10 @@
#include <com/sun/star/graphic/XEmfParser.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XInitialization.hpp>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/sequence.hxx>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
-#include <basegfx/color/bcolor.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
-#include <basegfx/polygon/b2dpolygontools.hxx>
-#include <drawinglayer/primitive2d/polypolygonprimitive2d.hxx>
#include <vcl/outdev.hxx>
#include <vcl/svapp.hxx>
@@ -41,12 +36,6 @@
#include <wmfreader.hxx>
#include <emfreader.hxx>
-//#include <com/sun/star/xml/sax/XParser.hpp>
-//#include <com/sun/star/xml/sax/Parser.hpp>
-//#include <com/sun/star/xml/sax/InputSource.hpp>
-//#include <drawinglayer/geometry/viewinformation2d.hxx>
-//#include <svgdocumenthandler.hxx>
-
#include "xemfparser.hxx"
using namespace ::com::sun::star;
diff --git a/emfio/source/emfuno/xemfparser.hxx b/emfio/source/emfuno/xemfparser.hxx
index d68e1e681d51..e4d1b53fa055 100644
--- a/emfio/source/emfuno/xemfparser.hxx
+++ b/emfio/source/emfuno/xemfparser.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <sal/types.h>
namespace com { namespace sun { namespace star {
namespace uno {
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index d0c975c2cc4c..24600e58c360 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -18,10 +18,8 @@
*/
#include <emfreader.hxx>
-#include <osl/endian.h>
#include <sal/log.hxx>
#include <osl/diagnose.h>
-#include <basegfx/matrix/b2dhommatrix.hxx>
#include <vcl/dibtools.hxx>
#include <o3tl/safeint.hxx>
#include <tools/stream.hxx>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 8cd3ef1e86cf..f50f41a83717 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -19,7 +19,6 @@
#include <mtftools.hxx>
-#include <cassert>
#include <memory>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
@@ -29,9 +28,7 @@
#include <vcl/metaact.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
-#include <tools/fract.hxx>
#include <tools/stream.hxx>
-#include <rtl/strbuf.hxx>
#include <rtl/tencinfo.h>
#include <sal/log.hxx>
#include <osl/diagnose.h>
@@ -41,8 +38,6 @@
#include <officecfg/Office/Linguistic.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/wincodepage.hxx>
-#include <tools/helpers.hxx>
-#include <vcl/bitmapaccess.hxx>
#if OSL_DEBUG_LEVEL > 1
#define EMFP_DEBUG(x) x