summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-02-13 23:20:21 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-04 17:25:05 +0100
commit8a1c18823c6e74b62c43cfe4fa72c87c36855d85 (patch)
tree63b3f3ad1095e8cf252abe6cbff7f46f191035d7 /linguistic
parente8e274b50658e1f9c2f40ce05249f7c857aeba64 (diff)
tdf#42949 Fix IWYU warnings in include/linguistic/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iec1ca76e9b3a0896a732ab2b7fd34dd5a7f219fb Reviewed-on: https://gerrit.libreoffice.org/68367 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.cxx1
-rw-r--r--linguistic/source/dicimp.cxx1
-rw-r--r--linguistic/source/hhconvdic.cxx2
-rw-r--r--linguistic/source/iprcache.cxx2
-rw-r--r--linguistic/source/lngprophelp.cxx2
-rw-r--r--linguistic/source/misc.cxx2
-rw-r--r--linguistic/source/spelldta.cxx1
-rw-r--r--linguistic/source/thesdsp.cxx1
8 files changed, 10 insertions, 2 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index 3c574212044e..071cb8d310df 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -20,6 +20,7 @@
#include <cppuhelper/factory.hxx>
#include <i18nlangtag/lang.h>
+#include <i18nlangtag/languagetag.hxx>
#include <osl/mutex.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 100c9cab7f06..b99f632c9842 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -24,6 +24,7 @@
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
#include <osl/mutex.hxx>
+#include <osl/thread.h>
#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx
index 801af0800947..900a8b7d901f 100644
--- a/linguistic/source/hhconvdic.cxx
+++ b/linguistic/source/hhconvdic.cxx
@@ -27,13 +27,13 @@
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/linguistic2/ConversionDictionaryType.hpp>
#include <com/sun/star/lang/Locale.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include "hhconvdic.hxx"
#include <linguistic/misc.hxx>
#include "defs.hxx"
-using namespace utl;
using namespace osl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx
index e7c677c2bde6..f0a992bb5e20 100644
--- a/linguistic/source/iprcache.cxx
+++ b/linguistic/source/iprcache.cxx
@@ -26,8 +26,8 @@
#include <com/sun/star/linguistic2/DictionaryListEventFlags.hpp>
#include <osl/mutex.hxx>
#include <linguistic/lngprops.hxx>
+#include <unotools/linguprops.hxx>
-using namespace utl;
using namespace osl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index d1368b1e3a62..608020f8f3b3 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -25,8 +25,10 @@
#include <com/sun/star/linguistic2/LinguServiceEvent.hpp>
#include <com/sun/star/linguistic2/LinguServiceEventFlags.hpp>
#include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp>
+#include <com/sun/star/linguistic2/XLinguProperties.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <osl/mutex.hxx>
+#include <unotools/linguprops.hxx>
#include <linguistic/misc.hxx>
#include <linguistic/lngprops.hxx>
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index 0374d38f0729..29ad163ca912 100644
--- a/linguistic/source/misc.cxx
+++ b/linguistic/source/misc.cxx
@@ -37,6 +37,8 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Reference.h>
#include <comphelper/processfactory.hxx>
+#include <unotools/charclass.hxx>
+#include <unotools/linguprops.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/syslocale.hxx>
#include <svtools/strings.hrc>
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index 7a0bc0f5d183..b57a570b38d6 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/linguistic2/SpellFailure.hpp>
#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>
#include <osl/mutex.hxx>
+#include <i18nlangtag/languagetag.hxx>
#include <algorithm>
#include <vector>
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx
index cdb5a77af8e4..2ca199e567db 100644
--- a/linguistic/source/thesdsp.cxx
+++ b/linguistic/source/thesdsp.cxx
@@ -18,6 +18,7 @@
*/
#include <i18nlangtag/lang.h>
+#include <i18nlangtag/languagetag.hxx>
#include <tools/debug.hxx>
#include <svl/lngmisc.hxx>