summaryrefslogtreecommitdiff
path: root/include/toolkit/helper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-12-31 20:22:02 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-15 11:54:11 +0100
commitcec7ae9f3c69ecc83462f28fc4987e37dc1b420e (patch)
treee0554c836821251f174760ce2b9b5674636a2b59 /include/toolkit/helper
parente69c7cc46ef5a100d9581b7efb01ab4a868d1924 (diff)
tdf#42949 Fix IWYU warnings in include/toolkit/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Icebcf1a6ab073dce935a74ce79ee0f302b62e8a8 Reviewed-on: https://gerrit.libreoffice.org/65947 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/toolkit/helper')
-rw-r--r--include/toolkit/helper/accessiblefactory.hxx1
-rw-r--r--include/toolkit/helper/formpdfexport.hxx5
-rw-r--r--include/toolkit/helper/listenermultiplexer.hxx1
-rw-r--r--include/toolkit/helper/macros.hxx2
-rw-r--r--include/toolkit/helper/vclunohelper.hxx9
5 files changed, 7 insertions, 11 deletions
diff --git a/include/toolkit/helper/accessiblefactory.hxx b/include/toolkit/helper/accessiblefactory.hxx
index 5a52d97b5503..d10f0195448a 100644
--- a/include/toolkit/helper/accessiblefactory.hxx
+++ b/include/toolkit/helper/accessiblefactory.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_TOOLKIT_HELPER_ACCESSIBLEFACTORY_HXX
#include <com/sun/star/uno/Reference.hxx>
-#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
namespace com { namespace sun { namespace star { namespace accessibility {
diff --git a/include/toolkit/helper/formpdfexport.hxx b/include/toolkit/helper/formpdfexport.hxx
index 39df68cdf445..a60604d9801b 100644
--- a/include/toolkit/helper/formpdfexport.hxx
+++ b/include/toolkit/helper/formpdfexport.hxx
@@ -22,12 +22,13 @@
#include <toolkit/dllapi.h>
-#include <com/sun/star/awt/XControl.hpp>
-
#include <vcl/pdfwriter.hxx>
#include <memory>
+namespace com { namespace sun { namespace star { namespace awt { class XControl; } } } }
+namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } }
+
namespace vcl
{
class PDFExtOutDevData;
diff --git a/include/toolkit/helper/listenermultiplexer.hxx b/include/toolkit/helper/listenermultiplexer.hxx
index 39bd83045bc2..a76336996244 100644
--- a/include/toolkit/helper/listenermultiplexer.hxx
+++ b/include/toolkit/helper/listenermultiplexer.hxx
@@ -41,7 +41,6 @@
#include <com/sun/star/awt/tree/XTreeExpansionListener.hpp>
#include <com/sun/star/awt/tree/XTreeEditListener.hpp>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
-#include <com/sun/star/util/VetoException.hpp>
#include <cppuhelper/weak.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <toolkit/helper/mutexhelper.hxx>
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
index 8413606fade0..fc20ee8c0009 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_TOOLKIT_HELPER_MACROS_HXX
#define INCLUDED_TOOLKIT_HELPER_MACROS_HXX
-#include <string.h>
-
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <comphelper/servicehelper.hxx>
diff --git a/include/toolkit/helper/vclunohelper.hxx b/include/toolkit/helper/vclunohelper.hxx
index 91d0905814e3..19d9a6d21c22 100644
--- a/include/toolkit/helper/vclunohelper.hxx
+++ b/include/toolkit/helper/vclunohelper.hxx
@@ -22,21 +22,20 @@
#include <toolkit/dllapi.h>
#include <com/sun/star/uno/Reference.h>
-#include <com/sun/star/uno/Sequence.h>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/awt/MouseEvent.hpp>
#include <vcl/bitmapex.hxx>
+#include <vcl/font.hxx>
#include <vcl/region.hxx>
-#include <vcl/metric.hxx>
#include <vcl/vclptr.hxx>
-#include <vcl/window.hxx>
#include <tools/mapunit.hxx>
#include <tools/fldunit.hxx>
#include <tools/poly.hxx>
+namespace com { namespace sun { namespace star { namespace uno { template <typename > class Sequence; } } } }
+
namespace com { namespace sun { namespace star { namespace uno {
class XInterface;
}}}}
@@ -49,7 +48,6 @@ namespace com { namespace sun { namespace star { namespace awt {
class XGraphics;
class XRegion;
class XDevice;
- class XPointer;
class XToolkit;
class XFont;
class XControlContainer;
@@ -62,6 +60,7 @@ namespace com { namespace sun { namespace star { namespace awt {
}}}}
+class FontMetric;
class OutputDevice;
class MouseEvent;
class KeyEvent;