summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2022-01-20 20:54:56 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2022-01-27 18:52:16 +0100
commit67478f9d637096781c9e3df64896b1ddaccc331b (patch)
tree09fde17b999d48faba4938ad6c1accccc79af38b /linguistic
parentc73670326ce5b571c31d43721729a05a11563b01 (diff)
Recheck modules [i-l]* with IWYU
See tdf#42949 for motivation Change-Id: I758bb27e93779e3df21c463714e49354748f446f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128715 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/IwyuFilter_linguistic.yaml3
-rw-r--r--linguistic/source/dlistimp.cxx1
-rw-r--r--linguistic/source/lngopt.hxx1
-rw-r--r--linguistic/source/lngprophelp.cxx1
-rw-r--r--linguistic/source/lngsvcmgr.hxx1
-rw-r--r--linguistic/source/misc.cxx2
6 files changed, 3 insertions, 6 deletions
diff --git a/linguistic/IwyuFilter_linguistic.yaml b/linguistic/IwyuFilter_linguistic.yaml
index 40c2b48352eb..07a9a54a59f8 100644
--- a/linguistic/IwyuFilter_linguistic.yaml
+++ b/linguistic/IwyuFilter_linguistic.yaml
@@ -4,3 +4,6 @@ excludelist:
linguistic/source/hyphdsp.cxx:
# Needed for direct member access
- com/sun/star/linguistic2/XLinguProperties.hpp
+ linguistic/source/convdic.cxx:
+ # Actually used
+ - com/sun/star/util/XFlushListener.hpp
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index b7fbfa1844ab..53be03d9d20a 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -19,7 +19,6 @@
#include <cppuhelper/factory.hxx>
-#include <i18nlangtag/mslangid.hxx>
#include <osl/file.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx
index b21ea631cc19..896e345edb74 100644
--- a/linguistic/source/lngopt.hxx
+++ b/linguistic/source/lngopt.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_LINGUISTIC_SOURCE_LNGOPT_HXX
#include <cppuhelper/implbase.hxx>
-#include <cppuhelper/interfacecontainer.hxx>
#include <comphelper/interfacecontainer3.hxx>
#include <comphelper/multiinterfacecontainer3.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp>
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index bcc3f7a691a4..a14c96c9501e 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -19,7 +19,6 @@
#include <tools/debug.hxx>
-#include <sal/macros.h>
#include <sal/log.hxx>
#include <com/sun/star/linguistic2/LinguServiceEvent.hpp>
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 5560fad69e14..76cb7d182ac9 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -34,7 +34,6 @@
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
#include <vector>
-#include <memory>
#include <optional>
class SpellCheckerDispatcher;
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index 0954c093238a..c1e4cc7757d0 100644
--- a/linguistic/source/misc.cxx
+++ b/linguistic/source/misc.cxx
@@ -38,13 +38,11 @@
#include <unotools/charclass.hxx>
#include <unotools/linguprops.hxx>
#include <unotools/localedatawrapper.hxx>
-#include <unotools/syslocale.hxx>
#include <svtools/strings.hrc>
#include <unotools/resmgr.hxx>
#include <linguistic/misc.hxx>
#include <linguistic/hyphdta.hxx>
-#include <mutex>
using namespace osl;
using namespace com::sun::star;