dtrans/source/win32/ftransl/ftranslentry.cxx | 2 +- i18nlangtag/IwyuFilter_i18nlangtag.yaml | 2 ++ i18nlangtag/qa/cppunit/test_languagetag.cxx | 3 --- i18nlangtag/source/isolang/inunx.cxx | 5 ++--- i18nlangtag/source/isolang/inwnt.cxx | 2 +- i18nlangtag/source/isolang/isolang.cxx | 2 -- i18nlangtag/source/isolang/mslangid.cxx | 1 - 7 files changed, 6 insertions(+), 11 deletions(-)
New commits: commit afb764f83bd9e01e052608db87250d64503d4b9d Author: Gabor Kelemen <kelemen.gab...@nisz.hu> AuthorDate: Mon Apr 1 02:00:43 2019 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue May 21 09:27:05 2019 +0200 tdf#42949 Fix IWYU warnings in i18nlangtag/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8a40dc89e121bd121c1f90f5636eee65636cad17 Reviewed-on: https://gerrit.libreoffice.org/72014 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> 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> commit a7d66f9fa6928080f9ebb61a1414b59b3b6b7ff9 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Tue May 14 21:25:36 2019 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue May 21 09:26:50 2019 +0200 Fix typo Change-Id: I282902c410ab93017b3aea46f88f60c246ca9894 Reviewed-on: https://gerrit.libreoffice.org/72629 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dtrans/source/win32/ftransl/ftranslentry.cxx b/dtrans/source/win32/ftransl/ftranslentry.cxx index 67e90161a207..cdcfda46b10c 100644 --- a/dtrans/source/win32/ftransl/ftranslentry.cxx +++ b/dtrans/source/win32/ftransl/ftranslentry.cxx @@ -38,7 +38,7 @@ using namespace ::com::sun::star::datatransfer; namespace { - // functions to create a new Clipboad instance; is needed by factory helper implementation + // functions to create a new Clipboard instance; is needed by factory helper implementation // @param rServiceManager - service manager, useful if the component needs other uno services // so we should give it to every UNO-Implementation component _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits