summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-09-11 15:19:28 +0200
committerGabor Kelemen <kelemeng@ubuntu.com>2023-09-22 09:33:13 +0200
commit2f85eb7a2dcd9a53245897c87d16f5a51772846b (patch)
treed57645f4dd4c114bb52261b007595bc14a6d3858 /include
parent1eef07805021b7ca26a1a8894809b6d995747ba1 (diff)
tdf#146619 Recheck include/c* with IWYU
Change-Id: I0cf6f675483bddf82e7347b484a874c71963bfd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156984 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/accessiblecomponenthelper.hxx1
-rw-r--r--include/comphelper/accessibleselectionhelper.hxx1
-rw-r--r--include/comphelper/asyncnotification.hxx1
-rw-r--r--include/comphelper/bytereader.hxx1
-rw-r--r--include/comphelper/compbase.hxx1
-rw-r--r--include/comphelper/fileurl.hxx3
-rw-r--r--include/comphelper/propshlp.hxx1
-rw-r--r--include/comphelper/seqstream.hxx1
-rw-r--r--include/comphelper/sequence.hxx1
-rw-r--r--include/comphelper/singletonref.hxx1
-rw-r--r--include/comphelper/stl_types.hxx3
-rw-r--r--include/comphelper/syntaxhighlight.hxx3
-rw-r--r--include/comphelper/weakeventlistener.hxx1
-rw-r--r--include/connectivity/paramwrapper.hxx1
-rw-r--r--include/connectivity/sdbcx/VCollection.hxx1
-rw-r--r--include/cui/cuicharmap.hxx2
16 files changed, 3 insertions, 20 deletions
diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx
index 328d61316b15..5d10b2b17eb2 100644
--- a/include/comphelper/accessiblecomponenthelper.hxx
+++ b/include/comphelper/accessiblecomponenthelper.hxx
@@ -28,7 +28,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase.hxx>
-#include <comphelper/uno3.hxx>
#include <comphelper/comphelperdllapi.h>
diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx
index 033802e94673..f291707e1a91 100644
--- a/include/comphelper/accessibleselectionhelper.hxx
+++ b/include/comphelper/accessibleselectionhelper.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_COMPHELPER_ACCESSIBLESELECTIONHELPER_HXX
#include <config_options.h>
-#include <comphelper/uno3.hxx>
#include <comphelper/accessiblecomponenthelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx
index ea6b067ccd94..5c2416488957 100644
--- a/include/comphelper/asyncnotification.hxx
+++ b/include/comphelper/asyncnotification.hxx
@@ -28,7 +28,6 @@
#include <salhelper/thread.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <memory>
-#include <utility>
namespace comphelper
{
diff --git a/include/comphelper/bytereader.hxx b/include/comphelper/bytereader.hxx
index 8ee308fb00fa..f683473bf3de 100644
--- a/include/comphelper/bytereader.hxx
+++ b/include/comphelper/bytereader.hxx
@@ -10,7 +10,6 @@
#include <sal/types.h>
#include <comphelper/comphelperdllapi.h>
-#include <com/sun/star/uno/Sequence.hxx>
namespace comphelper
{
diff --git a/include/comphelper/compbase.hxx b/include/comphelper/compbase.hxx
index 280d3d26b554..2d06a71047a6 100644
--- a/include/comphelper/compbase.hxx
+++ b/include/comphelper/compbase.hxx
@@ -15,7 +15,6 @@
#include <comphelper/interfacecontainer4.hxx>
#include <comphelper/unoimplbase.hxx>
#include <cppuhelper/weak.hxx>
-#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
diff --git a/include/comphelper/fileurl.hxx b/include/comphelper/fileurl.hxx
index 0da07cdeb495..e3a03f0d251b 100644
--- a/include/comphelper/fileurl.hxx
+++ b/include/comphelper/fileurl.hxx
@@ -23,7 +23,8 @@
#include <sal/config.h>
#include <comphelper/comphelperdllapi.h>
-#include <rtl/ustring.hxx>
+
+#include <string_view>
namespace comphelper
{
diff --git a/include/comphelper/propshlp.hxx b/include/comphelper/propshlp.hxx
index 9be8f7397687..e3a177783cca 100644
--- a/include/comphelper/propshlp.hxx
+++ b/include/comphelper/propshlp.hxx
@@ -21,7 +21,6 @@
#include <comphelper/multiinterfacecontainer4.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/beans/XPropertySetOption.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp>
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx
index 1fd695bddf0d..8e2ae36d17c2 100644
--- a/include/comphelper/seqstream.hxx
+++ b/include/comphelper/seqstream.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <cppuhelper/implbase.hxx>
#include <comphelper/comphelperdllapi.h>
#include <comphelper/bytereader.hxx>
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx
index bc67559dfbee..30c7d00e4b42 100644
--- a/include/comphelper/sequence.hxx
+++ b/include/comphelper/sequence.hxx
@@ -23,7 +23,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/diagnose.h>
-#include <algorithm>
#include <vector>
namespace comphelper
diff --git a/include/comphelper/singletonref.hxx b/include/comphelper/singletonref.hxx
index 7e9e85522562..5a9da0903981 100644
--- a/include/comphelper/singletonref.hxx
+++ b/include/comphelper/singletonref.hxx
@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <osl/diagnose.h>
-#include <cstddef>
#include <mutex>
namespace comphelper
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx
index a1df3cc363c5..b44bd6a06bcb 100644
--- a/include/comphelper/stl_types.hxx
+++ b/include/comphelper/stl_types.hxx
@@ -25,12 +25,9 @@
#include <memory>
#include <string_view>
-#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <o3tl/string_view.hxx>
-namespace com::sun::star::uno { template <typename > class Reference; }
-
namespace comphelper
{
diff --git a/include/comphelper/syntaxhighlight.hxx b/include/comphelper/syntaxhighlight.hxx
index c8bc100d362b..b6b01c4f36a8 100644
--- a/include/comphelper/syntaxhighlight.hxx
+++ b/include/comphelper/syntaxhighlight.hxx
@@ -19,10 +19,9 @@
#ifndef INCLUDED_COMPHELPER_SYNTAXHIGHLIGHT_HXX
#define INCLUDED_COMPHELPER_SYNTAXHIGHLIGHT_HXX
-#include <rtl/ustring.hxx>
-
#include <comphelper/comphelperdllapi.h>
+#include <string_view>
#include <vector>
#include <memory>
diff --git a/include/comphelper/weakeventlistener.hxx b/include/comphelper/weakeventlistener.hxx
index c4b4e79704c4..dae191ed8598 100644
--- a/include/comphelper/weakeventlistener.hxx
+++ b/include/comphelper/weakeventlistener.hxx
@@ -22,7 +22,6 @@
#include <config_options.h>
#include <comphelper/compbase.hxx>
-#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/weakref.hxx>
#include <comphelper/comphelperdllapi.h>
#include <com/sun/star/lang/XEventListener.hpp>
diff --git a/include/connectivity/paramwrapper.hxx b/include/connectivity/paramwrapper.hxx
index 5ad0fa1c1972..4905e4fc2fe7 100644
--- a/include/connectivity/paramwrapper.hxx
+++ b/include/connectivity/paramwrapper.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_CONNECTIVITY_PARAMWRAPPER_HXX
#define INCLUDED_CONNECTIVITY_PARAMWRAPPER_HXX
-#include <config_options.h>
#include <connectivity/dbtoolsdllapi.hxx>
#include <connectivity/FValue.hxx>
diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx
index 997df0dd2242..dc1ceccb2ae2 100644
--- a/include/connectivity/sdbcx/VCollection.hxx
+++ b/include/connectivity/sdbcx/VCollection.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_CONNECTIVITY_SDBCX_VCOLLECTION_HXX
#define INCLUDED_CONNECTIVITY_SDBCX_VCOLLECTION_HXX
-#include <config_options.h>
#include <cppuhelper/implbase10.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
diff --git a/include/cui/cuicharmap.hxx b/include/cui/cuicharmap.hxx
index 8b85b1883ea5..b2d4ac23c425 100644
--- a/include/cui/cuicharmap.hxx
+++ b/include/cui/cuicharmap.hxx
@@ -31,9 +31,7 @@
#include <cui/cuidllapi.h>
#include <com/sun/star/frame/XFrame.hpp>
-#include <deque>
#include <memory>
-#include <utility>
using namespace ::com::sun::star;
class SubsetMap;