diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-18 21:26:39 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-19 16:15:20 +0100 |
commit | f8a352c746d1ca2ced555e9e1711b8de7646832d (patch) | |
tree | 52510e15bb801c3b93e46fd85114b19cc6a9334c /i18npool/inc | |
parent | 74ec768623eb0f30f9573cde0ea6471b7e1d59a0 (diff) |
squeeze some duplicated code
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/localedata.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index 4cc240d3ebf9..55d9a0374a41 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -133,6 +133,17 @@ private : const com::sun::star::lang::Locale& rLocale, const com::sun::star::uno::Sequence< com::sun::star::i18n::Calendar >& calendarsSeq, sal_Int16 item) throw( com::sun::star::uno::RuntimeException ); + + /// Helper to obtain a sequence of days, months, gmonths or eras. + com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem > getCalendarItems( + sal_Unicode const * const * const allCalendars, + sal_Int16 & rnOffset, + const sal_Int16 nWhichItem, + const sal_Int16 nCalendar, + const com::sun::star::lang::Locale & rLocale, + const com::sun::star::uno::Sequence< com::sun::star::i18n::Calendar > & calendarsSeq ) + throw( com::sun::star::uno::RuntimeException ); + }; } } } } |