summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/IwyuFilter_i18nlangtag.yaml2
-rw-r--r--i18nlangtag/qa/cppunit/test_languagetag.cxx3
-rw-r--r--i18nlangtag/source/isolang/inunx.cxx5
-rw-r--r--i18nlangtag/source/isolang/inwnt.cxx2
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx2
-rw-r--r--i18nlangtag/source/isolang/mslangid.cxx1
6 files changed, 5 insertions, 10 deletions
diff --git a/i18nlangtag/IwyuFilter_i18nlangtag.yaml b/i18nlangtag/IwyuFilter_i18nlangtag.yaml
new file mode 100644
index 000000000000..5b58117440f0
--- /dev/null
+++ b/i18nlangtag/IwyuFilter_i18nlangtag.yaml
@@ -0,0 +1,2 @@
+---
+assumeFilename: i18nlangtag/source/isolang/isolang.cxx
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx
index 2a22924e33d5..595fd92370e7 100644
--- a/i18nlangtag/qa/cppunit/test_languagetag.cxx
+++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx
@@ -18,9 +18,6 @@
#include <i18nlangtag/languagetag.hxx>
#include <rtl/ustring.hxx>
-#include <rtl/ustrbuf.hxx>
-#include <sal/log.hxx>
-#include <osl/file.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx
index 4c0146772f53..ce9ea5ee83e9 100644
--- a/i18nlangtag/source/isolang/inunx.cxx
+++ b/i18nlangtag/source/isolang/inunx.cxx
@@ -18,20 +18,19 @@
*/
#include <stdlib.h>
-#include <stdio.h>
#ifdef MACOSX
#include <osl/process.h>
#include <rtl/locale.h>
#include <rtl/ustring.hxx>
+#include <i18nlangtag/languagetag.hxx>
#else // MACOSX
#include <rtl/string.hxx>
#endif // MACOSX
#include <osl/mutex.hxx>
-#include <rtl/instance.hxx>
-#include <i18nlangtag/languagetag.hxx>
+#include <osl/doublecheckedlocking.h>
#include <i18nlangtag/mslangid.hxx>
diff --git a/i18nlangtag/source/isolang/inwnt.cxx b/i18nlangtag/source/isolang/inwnt.cxx
index a96cc67bb5cb..76fe58b04917 100644
--- a/i18nlangtag/source/isolang/inwnt.cxx
+++ b/i18nlangtag/source/isolang/inwnt.cxx
@@ -24,7 +24,7 @@
#include <winbase.h>
#include <winnls.h>
#include <osl/mutex.hxx>
-#include <rtl/instance.hxx>
+#include <osl/doublecheckedlocking.h>
#include <i18nlangtag/mslangid.hxx>
static LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW;
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index d095542c8229..97b4f8c29a09 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -19,8 +19,6 @@
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
-#include <rtl/ustrbuf.hxx>
-#include <rtl/strbuf.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx
index 3ed50cdd80e2..0d76ba3b8288 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -19,7 +19,6 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
-#include <rtl/string.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <i18nlangtag/mslangid.hxx>