diff options
author | Eike Rathke <erack@redhat.com> | 2012-01-10 16:45:24 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-01-11 13:18:48 +0100 |
commit | a2685c5fd47396589e0767c5926a5bdb9f7b3390 (patch) | |
tree | 286c15ea2a7d9d509d5cf8254c30cf154b21d6c0 /unotools/inc | |
parent | ee660ba9b7bf83e21a9fb9bdcb10318e152ab988 (diff) |
bumped locale data wrapper to use XLocaleData4 and provide date acceptance patterns
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/localedatawrapper.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unotools/inc/unotools/localedatawrapper.hxx b/unotools/inc/unotools/localedatawrapper.hxx index 0bfaa9768fe0..2f4186f0044a 100644 --- a/unotools/inc/unotools/localedatawrapper.hxx +++ b/unotools/inc/unotools/localedatawrapper.hxx @@ -30,7 +30,7 @@ #define _UNOTOOLS_LOCALEDATAWRAPPER_HXX #include <tools/string.hxx> -#include <com/sun/star/i18n/XLocaleData3.hpp> +#include <com/sun/star/i18n/XLocaleData4.hpp> #include <com/sun/star/i18n/LocaleItem.hpp> #include <com/sun/star/i18n/reservedWords.hpp> #include <unotools/readwritemutexguard.hxx> @@ -67,7 +67,7 @@ class UNOTOOLS_DLLPUBLIC LocaleDataWrapper static sal_uInt8 nLocaleDataChecking; // 0:=dontknow, 1:=yes, 2:=no ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; - ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XLocaleData3 > xLD; + ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XLocaleData4 > xLD; ::com::sun::star::lang::Locale aLocale; ::boost::shared_ptr< ::com::sun::star::i18n::Calendar2 > xDefaultCalendar; ::com::sun::star::i18n::LocaleDataItem aLocaleDataItem; @@ -163,6 +163,7 @@ public: ::com::sun::star::i18n::ForbiddenCharacters getForbiddenCharacters() const; ::com::sun::star::uno::Sequence< ::rtl::OUString > getReservedWord() const; ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > getAllInstalledLocaleNames() const; + ::com::sun::star::uno::Sequence< ::rtl::OUString > getDateAcceptancePatterns() const; /// same as the wrapper implementation but static static ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > getInstalledLocaleNames(); |