diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-26 21:34:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-27 03:06:22 +0200 |
commit | ba9f44d6ee560bbba09834b1070d19ec62d35783 (patch) | |
tree | 56652acadd0334fe257bca5d5f26253892eaeaad /i18npool/inc | |
parent | 91987a559bf1fde4a8d1eadc81e5711a7670fe69 (diff) |
Implement LocaleData2, XLocaleData5, LocaleDataItem2, tdf#81671
Change-Id: Idba5a30bc44c7b2bd951f954ea3bfd048b022660
Reviewed-on: https://gerrit.libreoffice.org/43920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/localedata.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index c3aa6cf57d2c..4a83d44375b2 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -23,7 +23,7 @@ #include <comphelper/processfactory.hxx> -#include <com/sun/star/i18n/XLocaleData4.hpp> +#include <com/sun/star/i18n/XLocaleData5.hpp> #include <cppuhelper/implbase.hxx> @@ -35,7 +35,7 @@ #include <com/sun/star/i18n/FormatElement.hpp> #include <com/sun/star/i18n/Currency.hpp> #include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/i18n/LocaleDataItem.hpp> +#include <com/sun/star/i18n/LocaleDataItem2.hpp> #include <com/sun/star/i18n/UnicodeScript.hpp> #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/XInterface.hpp> @@ -61,7 +61,7 @@ namespace i18npool { class LocaleDataImpl : public cppu::WeakImplHelper < - css::i18n::XLocaleData4, + css::i18n::XLocaleData5, css::lang::XServiceInfo > { @@ -108,6 +108,9 @@ public: // XLocaleData4 virtual css::uno::Sequence< OUString > SAL_CALL getDateAcceptancePatterns( const css::lang::Locale& rLocale ) override; + // XLocaleData5 + virtual css::i18n::LocaleDataItem2 SAL_CALL getLocaleItem2( const css::lang::Locale& rLocale ) override; + // following methods are used by indexentry service /// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL getIndexAlgorithm( const css::lang::Locale& rLocale ); |