summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-06 23:50:33 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-05-15 09:19:00 +0200
commitea68858c5beb55c7c70c91f8b1f5b6e41fdfce72 (patch)
tree294d2e86764a58b824390eb7c3bc8f88a6f13413 /include/unotools
parent0efccbc58b41008b03f5b1ecc0a97cfcd1d4eafd (diff)
tdf#42949 Fix IWYU warnings in unotools/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Also recheck include/unotools/* Change-Id: I3b8489aca69fbe80fa4a21748ac3c872d0d266c4 Reviewed-on: https://gerrit.libreoffice.org/71883 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/compatibilityviewoptions.hxx8
-rw-r--r--include/unotools/fontcvt.hxx1
-rw-r--r--include/unotools/progresshandlerwrap.hxx3
-rw-r--r--include/unotools/ucbstreamhelper.hxx5
4 files changed, 11 insertions, 6 deletions
diff --git a/include/unotools/compatibilityviewoptions.hxx b/include/unotools/compatibilityviewoptions.hxx
index 573979714e7e..ce1f4aab42e4 100644
--- a/include/unotools/compatibilityviewoptions.hxx
+++ b/include/unotools/compatibilityviewoptions.hxx
@@ -10,9 +10,13 @@
#ifndef INCLUDED_SVTOOLS_COMPATIBILITYVIEWOPTIONS_HXX
#define INCLUDED_SVTOOLS_COMPATIBILITYVIEWOPTIONS_HXX
-#include <svtools/svtdllapi.h>
+#include <unotools/unotoolsdllapi.h>
#include <unotools/options.hxx>
-#include <osl/mutex.hxx>
+
+namespace osl
+{
+class Mutex;
+}
class SvtCompatibilityViewOptions_Impl;
diff --git a/include/unotools/fontcvt.hxx b/include/unotools/fontcvt.hxx
index 2877e18972ea..7fbf2cc9c917 100644
--- a/include/unotools/fontcvt.hxx
+++ b/include/unotools/fontcvt.hxx
@@ -22,7 +22,6 @@
#include <unotools/unotoolsdllapi.h>
#include <rtl/ustring.hxx>
-#include <o3tl/typed_flags_set.hxx>
enum class FontToSubsFontFlags
diff --git a/include/unotools/progresshandlerwrap.hxx b/include/unotools/progresshandlerwrap.hxx
index 35f71eddc71f..6b4d56a99f0f 100644
--- a/include/unotools/progresshandlerwrap.hxx
+++ b/include/unotools/progresshandlerwrap.hxx
@@ -22,9 +22,10 @@
#include <unotools/unotoolsdllapi.h>
#include <cppuhelper/implbase.hxx>
-#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/ucb/XProgressHandler.hpp>
+namespace com::sun::star::task { class XStatusIndicator; }
+
namespace utl
{
diff --git a/include/unotools/ucbstreamhelper.hxx b/include/unotools/ucbstreamhelper.hxx
index 0d7d867d21f6..fd7bd08cc5bf 100644
--- a/include/unotools/ucbstreamhelper.hxx
+++ b/include/unotools/ucbstreamhelper.hxx
@@ -19,7 +19,7 @@
#ifndef INCLUDED_UNOTOOLS_UCBSTREAMHELPER_HXX
#define INCLUDED_UNOTOOLS_UCBSTREAMHELPER_HXX
-#include <com/sun/star/awt/XWindow.hpp>
+#include <com/sun/star/uno/Reference.hxx>
#include <unotools/unotoolsdllapi.h>
@@ -40,7 +40,8 @@ namespace com
}
}
}
-namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
+
+namespace com::sun::star::awt { class XWindow; }
namespace utl
{