diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-05-26 13:36:37 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-05-28 12:07:25 +0200 |
commit | c6b7f5555d5df13eae7aa72dbd3307ad8c9893dc (patch) | |
tree | 20b59802a2e7e1ec1e13f9f8fc04db446ca4ef86 /i18npool/source/calendar | |
parent | tdf#124752: Add system clipboard interface for iOS (diff) | |
download | core-c6b7f5555d5df13eae7aa72dbd3307ad8c9893dc.tar.gz core-c6b7f5555d5df13eae7aa72dbd3307ad8c9893dc.zip |
tdf#42949 Fix IWYU warnings in i18npool/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ic331c845f0a8f06c4a8f8f79b6f87e26ca7c3a7d
Reviewed-on: https://gerrit.libreoffice.org/72972
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 8 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_hijri.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_jewish.cxx | 7 |
4 files changed, 10 insertions, 8 deletions
diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index 27b5d7f0e407..93ff9b16fa0b 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -21,6 +21,8 @@ #include <localedata.hxx> #include <cppuhelper/supportsservice.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::i18n; using namespace ::com::sun::star::lang; diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index 662c84b897c9..45a9de3bf3ef 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -21,11 +21,11 @@ #include <calendar_gregorian.hxx> #include <localedata.hxx> -#include <com/sun/star/i18n/AmPmValue.hpp> -#include <com/sun/star/i18n/Months.hpp> -#include <com/sun/star/i18n/Weekdays.hpp> +#include <nativenumbersupplier.hxx> +#include <com/sun/star/i18n/CalendarDisplayCode.hpp> +#include <com/sun/star/i18n/CalendarDisplayIndex.hpp> +#include <com/sun/star/i18n/NativeNumberMode.hpp> #include <com/sun/star/i18n/reservedWords.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/supportsservice.hxx> #include <rtl/math.hxx> #include <sal/log.hxx> diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index bee72af7e7e3..ce48dac0f127 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -21,7 +21,6 @@ #include <cmath> #include <stdlib.h> -#include <math.h> #include <calendar_hijri.hxx> diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx index 9ac585447265..996d01d73f49 100644 --- a/i18npool/source/calendar/calendar_jewish.cxx +++ b/i18npool/source/calendar/calendar_jewish.cxx @@ -18,10 +18,11 @@ */ -#include <math.h> -#include <stdio.h> - #include <calendar_jewish.hxx> +#include <nativenumbersupplier.hxx> + +#include <com/sun/star/i18n/CalendarDisplayCode.hpp> +#include <com/sun/star/i18n/NativeNumberMode.hpp> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::i18n; |