diff options
Diffstat (limited to 'i18npool/source/calendar/calendarImpl.cxx')
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index 52eea4ff0a44..aebc1d5accdc 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -292,11 +292,31 @@ CalendarImpl::getMonths() throw(RuntimeException) } -Sequence< CalendarItem > SAL_CALL -CalendarImpl::getGenitiveMonths() throw(RuntimeException) +Sequence< CalendarItem2 > SAL_CALL +CalendarImpl::getDays2() throw(RuntimeException) +{ + if (xCalendar.is()) + return xCalendar->getDays2(); + else + throw ERROR ; +} + + +Sequence< CalendarItem2 > SAL_CALL +CalendarImpl::getMonths2() throw(RuntimeException) +{ + if (xCalendar.is()) + return xCalendar->getMonths2(); + else + throw ERROR ; +} + + +Sequence< CalendarItem2 > SAL_CALL +CalendarImpl::getGenitiveMonths2() throw(RuntimeException) { if (xCalendar.is()) - return xCalendar->getGenitiveMonths(); + return xCalendar->getGenitiveMonths2(); else throw ERROR ; } |