diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /i18npool/source/calendar | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendarImpl.cxx | 58 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 60 | ||||
-rw-r--r-- | i18npool/source/calendar/calendar_jewish.cxx | 2 |
3 files changed, 60 insertions, 60 deletions
diff --git a/i18npool/source/calendar/calendarImpl.cxx b/i18npool/source/calendar/calendarImpl.cxx index 7539d667c5f3..b0f897705eee 100644 --- a/i18npool/source/calendar/calendarImpl.cxx +++ b/i18npool/source/calendar/calendarImpl.cxx @@ -42,7 +42,7 @@ CalendarImpl::~CalendarImpl() } void SAL_CALL -CalendarImpl::loadDefaultCalendar( const Locale& rLocale ) throw(RuntimeException) +CalendarImpl::loadDefaultCalendar( const Locale& rLocale ) throw(RuntimeException, std::exception) { Sequence< Calendar2 > xC = LocaleDataImpl().getAllCalendars2(rLocale); for (sal_Int32 i = 0; i < xC.getLength(); i++) { @@ -55,7 +55,7 @@ CalendarImpl::loadDefaultCalendar( const Locale& rLocale ) throw(RuntimeExceptio } void SAL_CALL -CalendarImpl::loadCalendar(const OUString& uniqueID, const Locale& rLocale ) throw (RuntimeException) +CalendarImpl::loadCalendar(const OUString& uniqueID, const Locale& rLocale ) throw (RuntimeException, std::exception) { Reference < XCalendar3 > xOldCalendar( xCalendar ); // backup sal_Int32 i; @@ -109,7 +109,7 @@ CalendarImpl::loadCalendar(const OUString& uniqueID, const Locale& rLocale ) thr } Calendar2 SAL_CALL -CalendarImpl::getLoadedCalendar2() throw(RuntimeException) +CalendarImpl::getLoadedCalendar2() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getLoadedCalendar2(); @@ -118,7 +118,7 @@ CalendarImpl::getLoadedCalendar2() throw(RuntimeException) } Calendar SAL_CALL -CalendarImpl::getLoadedCalendar() throw(RuntimeException) +CalendarImpl::getLoadedCalendar() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getLoadedCalendar(); @@ -127,7 +127,7 @@ CalendarImpl::getLoadedCalendar() throw(RuntimeException) } Sequence< OUString > SAL_CALL -CalendarImpl::getAllCalendars( const Locale& rLocale ) throw(RuntimeException) +CalendarImpl::getAllCalendars( const Locale& rLocale ) throw(RuntimeException, std::exception) { Sequence< Calendar2 > xC = LocaleDataImpl().getAllCalendars2(rLocale); sal_Int32 nLen = xC.getLength(); @@ -138,7 +138,7 @@ CalendarImpl::getAllCalendars( const Locale& rLocale ) throw(RuntimeException) } void SAL_CALL -CalendarImpl::setDateTime( double timeInDays ) throw(RuntimeException) +CalendarImpl::setDateTime( double timeInDays ) throw(RuntimeException, std::exception) { if (xCalendar.is()) xCalendar->setDateTime( timeInDays ); @@ -147,7 +147,7 @@ CalendarImpl::setDateTime( double timeInDays ) throw(RuntimeException) } double SAL_CALL -CalendarImpl::getDateTime() throw(RuntimeException) +CalendarImpl::getDateTime() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getDateTime(); @@ -156,7 +156,7 @@ CalendarImpl::getDateTime() throw(RuntimeException) } OUString SAL_CALL -CalendarImpl::getUniqueID() throw(RuntimeException) +CalendarImpl::getUniqueID() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getUniqueID(); @@ -165,7 +165,7 @@ CalendarImpl::getUniqueID() throw(RuntimeException) } void SAL_CALL -CalendarImpl::setValue( sal_Int16 fieldIndex, sal_Int16 value ) throw(RuntimeException) +CalendarImpl::setValue( sal_Int16 fieldIndex, sal_Int16 value ) throw(RuntimeException, std::exception) { if (xCalendar.is()) xCalendar->setValue( fieldIndex, value ); @@ -174,7 +174,7 @@ CalendarImpl::setValue( sal_Int16 fieldIndex, sal_Int16 value ) throw(RuntimeExc } sal_Int16 SAL_CALL -CalendarImpl::getValue( sal_Int16 fieldIndex ) throw(RuntimeException) +CalendarImpl::getValue( sal_Int16 fieldIndex ) throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getValue( fieldIndex ); @@ -183,7 +183,7 @@ CalendarImpl::getValue( sal_Int16 fieldIndex ) throw(RuntimeException) } void SAL_CALL -CalendarImpl::addValue( sal_Int16 fieldIndex, sal_Int32 amount ) throw(RuntimeException) +CalendarImpl::addValue( sal_Int16 fieldIndex, sal_Int32 amount ) throw(RuntimeException, std::exception) { if (xCalendar.is()) xCalendar->addValue( fieldIndex, amount); @@ -192,7 +192,7 @@ CalendarImpl::addValue( sal_Int16 fieldIndex, sal_Int32 amount ) throw(RuntimeEx } sal_Int16 SAL_CALL -CalendarImpl::getFirstDayOfWeek() throw(RuntimeException) +CalendarImpl::getFirstDayOfWeek() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getFirstDayOfWeek(); @@ -202,7 +202,7 @@ CalendarImpl::getFirstDayOfWeek() throw(RuntimeException) void SAL_CALL CalendarImpl::setFirstDayOfWeek( sal_Int16 day ) -throw(RuntimeException) +throw(RuntimeException, std::exception) { if (xCalendar.is()) xCalendar->setFirstDayOfWeek(day); @@ -211,7 +211,7 @@ throw(RuntimeException) } void SAL_CALL -CalendarImpl::setMinimumNumberOfDaysForFirstWeek( sal_Int16 days ) throw(RuntimeException) +CalendarImpl::setMinimumNumberOfDaysForFirstWeek( sal_Int16 days ) throw(RuntimeException, std::exception) { if (xCalendar.is()) xCalendar->setMinimumNumberOfDaysForFirstWeek(days); @@ -220,7 +220,7 @@ CalendarImpl::setMinimumNumberOfDaysForFirstWeek( sal_Int16 days ) throw(Runtime } sal_Int16 SAL_CALL -CalendarImpl::getMinimumNumberOfDaysForFirstWeek() throw(RuntimeException) +CalendarImpl::getMinimumNumberOfDaysForFirstWeek() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getMinimumNumberOfDaysForFirstWeek(); @@ -230,7 +230,7 @@ CalendarImpl::getMinimumNumberOfDaysForFirstWeek() throw(RuntimeException) OUString SAL_CALL -CalendarImpl::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException) +CalendarImpl::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getDisplayName( displayIndex, idx, nameType ); @@ -239,7 +239,7 @@ CalendarImpl::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 n } sal_Int16 SAL_CALL -CalendarImpl::getNumberOfMonthsInYear() throw(RuntimeException) +CalendarImpl::getNumberOfMonthsInYear() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getNumberOfMonthsInYear(); @@ -249,7 +249,7 @@ CalendarImpl::getNumberOfMonthsInYear() throw(RuntimeException) sal_Int16 SAL_CALL -CalendarImpl::getNumberOfDaysInWeek() throw(RuntimeException) +CalendarImpl::getNumberOfDaysInWeek() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getNumberOfDaysInWeek(); @@ -259,7 +259,7 @@ CalendarImpl::getNumberOfDaysInWeek() throw(RuntimeException) Sequence< CalendarItem > SAL_CALL -CalendarImpl::getDays() throw(RuntimeException) +CalendarImpl::getDays() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getDays(); @@ -269,7 +269,7 @@ CalendarImpl::getDays() throw(RuntimeException) Sequence< CalendarItem > SAL_CALL -CalendarImpl::getMonths() throw(RuntimeException) +CalendarImpl::getMonths() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getMonths(); @@ -279,7 +279,7 @@ CalendarImpl::getMonths() throw(RuntimeException) Sequence< CalendarItem2 > SAL_CALL -CalendarImpl::getDays2() throw(RuntimeException) +CalendarImpl::getDays2() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getDays2(); @@ -289,7 +289,7 @@ CalendarImpl::getDays2() throw(RuntimeException) Sequence< CalendarItem2 > SAL_CALL -CalendarImpl::getMonths2() throw(RuntimeException) +CalendarImpl::getMonths2() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getMonths2(); @@ -299,7 +299,7 @@ CalendarImpl::getMonths2() throw(RuntimeException) Sequence< CalendarItem2 > SAL_CALL -CalendarImpl::getGenitiveMonths2() throw(RuntimeException) +CalendarImpl::getGenitiveMonths2() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getGenitiveMonths2(); @@ -309,7 +309,7 @@ CalendarImpl::getGenitiveMonths2() throw(RuntimeException) Sequence< CalendarItem2 > SAL_CALL -CalendarImpl::getPartitiveMonths2() throw(RuntimeException) +CalendarImpl::getPartitiveMonths2() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getPartitiveMonths2(); @@ -319,7 +319,7 @@ CalendarImpl::getPartitiveMonths2() throw(RuntimeException) sal_Bool SAL_CALL -CalendarImpl::isValid() throw(RuntimeException) +CalendarImpl::isValid() throw(RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->isValid(); @@ -329,7 +329,7 @@ CalendarImpl::isValid() throw(RuntimeException) OUString SAL_CALL CalendarImpl::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { if (xCalendar.is()) return xCalendar->getDisplayString(nCalendarDisplayCode, nNativeNumberMode); @@ -338,19 +338,19 @@ CalendarImpl::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativ } OUString SAL_CALL -CalendarImpl::getImplementationName(void) throw( RuntimeException ) +CalendarImpl::getImplementationName(void) throw( RuntimeException, std::exception ) { return OUString("com.sun.star.i18n.CalendarImpl"); } sal_Bool SAL_CALL -CalendarImpl::supportsService(const OUString& rServiceName) throw( RuntimeException ) +CalendarImpl::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL -CalendarImpl::getSupportedServiceNames(void) throw( RuntimeException ) +CalendarImpl::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); aRet[0] = "com.sun.star.i18n.LocaleCalendar"; diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index cb5843a36747..f08c94affaf6 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -178,7 +178,7 @@ Calendar_hanja::Calendar_hanja() } OUString SAL_CALL -Calendar_hanja::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException) +Calendar_hanja::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException, std::exception) { if ( displayIndex == CalendarDisplayIndex::AM_PM ) { // Am/Pm string for Korean Hanja calendar will refer to Japanese locale @@ -193,7 +193,7 @@ Calendar_hanja::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 } void SAL_CALL -Calendar_hanja::loadCalendar( const OUString& /*uniqueID*/, const com::sun::star::lang::Locale& rLocale ) throw(RuntimeException) +Calendar_hanja::loadCalendar( const OUString& /*uniqueID*/, const com::sun::star::lang::Locale& rLocale ) throw(RuntimeException, std::exception) { // Since this class could be called by service name 'hanja_yoil', we have to // rename uniqueID to get right calendar defined in locale data. @@ -231,7 +231,7 @@ Calendar_buddhist::Calendar_buddhist() : Calendar_gregorian(buddhist_eraArray) } void SAL_CALL -Calendar_gregorian::loadCalendar( const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale ) throw(RuntimeException) +Calendar_gregorian::loadCalendar( const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale ) throw(RuntimeException, std::exception) { // init. fieldValue[] getValue(); @@ -264,25 +264,25 @@ Calendar_gregorian::loadCalendar( const OUString& uniqueID, const com::sun::star com::sun::star::i18n::Calendar2 SAL_CALL -Calendar_gregorian::getLoadedCalendar2() throw(RuntimeException) +Calendar_gregorian::getLoadedCalendar2() throw(RuntimeException, std::exception) { return aCalendar; } com::sun::star::i18n::Calendar SAL_CALL -Calendar_gregorian::getLoadedCalendar() throw(RuntimeException) +Calendar_gregorian::getLoadedCalendar() throw(RuntimeException, std::exception) { return LocaleDataImpl::downcastCalendar( aCalendar); } OUString SAL_CALL -Calendar_gregorian::getUniqueID() throw(RuntimeException) +Calendar_gregorian::getUniqueID() throw(RuntimeException, std::exception) { return aCalendar.Name; } void SAL_CALL -Calendar_gregorian::setDateTime( double timeInDays ) throw(RuntimeException) +Calendar_gregorian::setDateTime( double timeInDays ) throw(RuntimeException, std::exception) { // ICU handles dates in milliseconds as double values and uses floor() // to obtain integer values, which may yield a date decremented by one @@ -302,7 +302,7 @@ Calendar_gregorian::setDateTime( double timeInDays ) throw(RuntimeException) } double SAL_CALL -Calendar_gregorian::getDateTime() throw(RuntimeException) +Calendar_gregorian::getDateTime() throw(RuntimeException, std::exception) { if (fieldSet) { setValue(); @@ -385,7 +385,7 @@ static UCalendarDateFields fieldNameConverter(sal_Int16 fieldIndex) throw(Runtim } void SAL_CALL -Calendar_gregorian::setValue( sal_Int16 fieldIndex, sal_Int16 value ) throw(RuntimeException) +Calendar_gregorian::setValue( sal_Int16 fieldIndex, sal_Int16 value ) throw(RuntimeException, std::exception) { if (fieldIndex < 0 || FIELD_INDEX_COUNT <= fieldIndex) throw ERROR; @@ -753,7 +753,7 @@ void Calendar_gregorian::getValue() throw(RuntimeException) } sal_Int16 SAL_CALL -Calendar_gregorian::getValue( sal_Int16 fieldIndex ) throw(RuntimeException) +Calendar_gregorian::getValue( sal_Int16 fieldIndex ) throw(RuntimeException, std::exception) { if (fieldIndex < 0 || FIELD_INDEX_COUNT <= fieldIndex) throw ERROR; @@ -767,7 +767,7 @@ Calendar_gregorian::getValue( sal_Int16 fieldIndex ) throw(RuntimeException) } void SAL_CALL -Calendar_gregorian::addValue( sal_Int16 fieldIndex, sal_Int32 value ) throw(RuntimeException) +Calendar_gregorian::addValue( sal_Int16 fieldIndex, sal_Int32 value ) throw(RuntimeException, std::exception) { // since ZONE and DST could not be add, we don't need to convert value here UErrorCode status; @@ -777,7 +777,7 @@ Calendar_gregorian::addValue( sal_Int16 fieldIndex, sal_Int32 value ) throw(Runt } sal_Bool SAL_CALL -Calendar_gregorian::isValid() throw(RuntimeException) +Calendar_gregorian::isValid() throw(RuntimeException, std::exception) { if (fieldSet) { sal_Int32 tmp = fieldSet; @@ -875,7 +875,7 @@ static sal_Int32 SAL_CALL DisplayCode2FieldIndex(sal_Int32 nCalendarDisplayCode) } sal_Int16 SAL_CALL -Calendar_gregorian::getFirstDayOfWeek() throw(RuntimeException) +Calendar_gregorian::getFirstDayOfWeek() throw(RuntimeException, std::exception) { // UCAL_SUNDAY == 1, Weekdays::SUNDAY == 0 => offset -1 // Check for underflow just in case we're called "out of sync". @@ -886,83 +886,83 @@ Calendar_gregorian::getFirstDayOfWeek() throw(RuntimeException) void SAL_CALL Calendar_gregorian::setFirstDayOfWeek( sal_Int16 day ) -throw(RuntimeException) +throw(RuntimeException, std::exception) { // Weekdays::SUNDAY == 0, UCAL_SUNDAY == 1 => offset +1 body->setFirstDayOfWeek( static_cast<UCalendarDaysOfWeek>( day + 1)); } void SAL_CALL -Calendar_gregorian::setMinimumNumberOfDaysForFirstWeek( sal_Int16 days ) throw(RuntimeException) +Calendar_gregorian::setMinimumNumberOfDaysForFirstWeek( sal_Int16 days ) throw(RuntimeException, std::exception) { aCalendar.MinimumNumberOfDaysForFirstWeek = days; body->setMinimalDaysInFirstWeek( static_cast<uint8_t>( days)); } sal_Int16 SAL_CALL -Calendar_gregorian::getMinimumNumberOfDaysForFirstWeek() throw(RuntimeException) +Calendar_gregorian::getMinimumNumberOfDaysForFirstWeek() throw(RuntimeException, std::exception) { return aCalendar.MinimumNumberOfDaysForFirstWeek; } sal_Int16 SAL_CALL -Calendar_gregorian::getNumberOfMonthsInYear() throw(RuntimeException) +Calendar_gregorian::getNumberOfMonthsInYear() throw(RuntimeException, std::exception) { return (sal_Int16) aCalendar.Months.getLength(); } sal_Int16 SAL_CALL -Calendar_gregorian::getNumberOfDaysInWeek() throw(RuntimeException) +Calendar_gregorian::getNumberOfDaysInWeek() throw(RuntimeException, std::exception) { return (sal_Int16) aCalendar.Days.getLength(); } Sequence< CalendarItem > SAL_CALL -Calendar_gregorian::getDays() throw(RuntimeException) +Calendar_gregorian::getDays() throw(RuntimeException, std::exception) { return LocaleDataImpl::downcastCalendarItems( aCalendar.Days); } Sequence< CalendarItem > SAL_CALL -Calendar_gregorian::getMonths() throw(RuntimeException) +Calendar_gregorian::getMonths() throw(RuntimeException, std::exception) { return LocaleDataImpl::downcastCalendarItems( aCalendar.Months); } Sequence< CalendarItem2 > SAL_CALL -Calendar_gregorian::getDays2() throw(RuntimeException) +Calendar_gregorian::getDays2() throw(RuntimeException, std::exception) { return aCalendar.Days; } Sequence< CalendarItem2 > SAL_CALL -Calendar_gregorian::getMonths2() throw(RuntimeException) +Calendar_gregorian::getMonths2() throw(RuntimeException, std::exception) { return aCalendar.Months; } Sequence< CalendarItem2 > SAL_CALL -Calendar_gregorian::getGenitiveMonths2() throw(RuntimeException) +Calendar_gregorian::getGenitiveMonths2() throw(RuntimeException, std::exception) { return aCalendar.GenitiveMonths; } Sequence< CalendarItem2 > SAL_CALL -Calendar_gregorian::getPartitiveMonths2() throw(RuntimeException) +Calendar_gregorian::getPartitiveMonths2() throw(RuntimeException, std::exception) { return aCalendar.PartitiveMonths; } OUString SAL_CALL -Calendar_gregorian::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException) +Calendar_gregorian::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_Int16 nameType ) throw(RuntimeException, std::exception) { OUString aStr; @@ -1017,7 +1017,7 @@ Calendar_gregorian::getDisplayName( sal_Int16 displayIndex, sal_Int16 idx, sal_I // Methods in XExtendedCalendar OUString SAL_CALL Calendar_gregorian::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return getDisplayStringImpl( nCalendarDisplayCode, nNativeNumberMode, false); } @@ -1150,7 +1150,7 @@ Calendar_gregorian::getDisplayStringImpl( sal_Int32 nCalendarDisplayCode, sal_In // Methods in XExtendedCalendar OUString SAL_CALL Calendar_buddhist::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { // make year and era in different order for year before and after 0. if ((nCalendarDisplayCode == CalendarDisplayCode::LONG_YEAR_AND_ERA || @@ -1167,19 +1167,19 @@ Calendar_buddhist::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 n } OUString SAL_CALL -Calendar_gregorian::getImplementationName(void) throw( RuntimeException ) +Calendar_gregorian::getImplementationName(void) throw( RuntimeException, std::exception ) { return OUString::createFromAscii(cCalendar); } sal_Bool SAL_CALL -Calendar_gregorian::supportsService(const OUString& rServiceName) throw( RuntimeException ) +Calendar_gregorian::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL -Calendar_gregorian::getSupportedServiceNames(void) throw( RuntimeException ) +Calendar_gregorian::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); aRet[0] = OUString::createFromAscii(cCalendar); diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx index b9356948f92f..02da34c2ddd8 100644 --- a/i18npool/source/calendar/calendar_jewish.cxx +++ b/i18npool/source/calendar/calendar_jewish.cxx @@ -281,7 +281,7 @@ void Calendar_jewish::mapToGregorian() throw(RuntimeException) // Methods in XExtendedCalendar OUString SAL_CALL Calendar_jewish::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { nNativeNumberMode = NativeNumberMode::NATNUM2; // make Hebrew number for Jewish calendar |