summaryrefslogtreecommitdiff
path: root/unotools/source/i18n/calendarwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/i18n/calendarwrapper.cxx')
-rw-r--r--unotools/source/i18n/calendarwrapper.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/unotools/source/i18n/calendarwrapper.cxx b/unotools/source/i18n/calendarwrapper.cxx
index 086ae57a661c..98e765104a3a 100644
--- a/unotools/source/i18n/calendarwrapper.cxx
+++ b/unotools/source/i18n/calendarwrapper.cxx
@@ -49,7 +49,7 @@ void CalendarWrapper::loadDefaultCalendar( const css::lang::Locale& rLocale )
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "loadDefaultCalendar: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "loadDefaultCalendar: Exception caught " << e );
}
}
@@ -63,7 +63,7 @@ void CalendarWrapper::loadCalendar( const OUString& rUniqueID, const css::lang::
catch (const Exception& e)
{
SAL_WARN( "unotools.i18n", "loadCalendar: Exception caught requested: "
- << rUniqueID << " Locale: " << rLocale.Language << "_" << rLocale.Country << " " << e.Message );
+ << rUniqueID << " Locale: " << rLocale.Language << "_" << rLocale.Country << " " << e );
}
}
@@ -76,7 +76,7 @@ css::uno::Sequence< OUString > CalendarWrapper::getAllCalendars( const css::lang
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getAllCalendars: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getAllCalendars: Exception caught " << e );
}
return css::uno::Sequence< OUString > (0);
@@ -91,7 +91,7 @@ OUString CalendarWrapper::getUniqueID() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getUniqueID: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getUniqueID: Exception caught " << e );
}
return OUString();
}
@@ -105,7 +105,7 @@ void CalendarWrapper::setDateTime( double fTimeInDays )
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "setDateTime: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "setDateTime: Exception caught " << e );
}
}
@@ -118,7 +118,7 @@ double CalendarWrapper::getDateTime() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getDateTime: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getDateTime: Exception caught " << e );
}
return 0.0;
}
@@ -134,7 +134,7 @@ void CalendarWrapper::setLocalDateTime( double fTimeInDays )
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "setLocalDateTime: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "setLocalDateTime: Exception caught " << e );
}
}
@@ -149,7 +149,7 @@ double CalendarWrapper::getLocalDateTime() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getLocalDateTime: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getLocalDateTime: Exception caught " << e );
}
return 0.0;
}
@@ -163,7 +163,7 @@ void CalendarWrapper::setValue( sal_Int16 nFieldIndex, sal_Int16 nValue )
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "setValue: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "setValue: Exception caught " << e );
}
}
@@ -176,7 +176,7 @@ bool CalendarWrapper::isValid() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "isValid: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "isValid: Exception caught " << e );
}
return false;
}
@@ -190,7 +190,7 @@ sal_Int16 CalendarWrapper::getValue( sal_Int16 nFieldIndex ) const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getValue: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getValue: Exception caught " << e );
}
return 0;
}
@@ -204,7 +204,7 @@ sal_Int16 CalendarWrapper::getFirstDayOfWeek() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getFirstDayOfWeek: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getFirstDayOfWeek: Exception caught " << e );
}
return 0;
}
@@ -218,7 +218,7 @@ sal_Int16 CalendarWrapper::getNumberOfMonthsInYear() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getNumberOfMonthsInYear: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getNumberOfMonthsInYear: Exception caught " << e );
}
return 0;
}
@@ -232,7 +232,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getNumberOfDaysInWeek: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getNumberOfDaysInWeek: Exception caught " << e );
}
return 0;
}
@@ -246,7 +246,7 @@ css::uno::Sequence< css::i18n::CalendarItem2 > CalendarWrapper::getMonths() cons
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getMonths: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getMonths: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::CalendarItem2 > (0);
}
@@ -260,7 +260,7 @@ css::uno::Sequence< css::i18n::CalendarItem2 > CalendarWrapper::getDays() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getDays: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getDays: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::CalendarItem2 > (0);
}
@@ -274,7 +274,7 @@ OUString CalendarWrapper::getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_I
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getDisplayName: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getDisplayName: Exception caught " << e );
}
return OUString();
}
@@ -290,7 +290,7 @@ OUString CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getDisplayString: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getDisplayString: Exception caught " << e );
}
return OUString();
}
@@ -306,7 +306,7 @@ css::i18n::Calendar2 CalendarWrapper::getLoadedCalendar() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getLoadedCalendar2: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getLoadedCalendar2: Exception caught " << e );
}
return css::i18n::Calendar2();
}
@@ -320,7 +320,7 @@ css::uno::Sequence< css::i18n::CalendarItem2 > CalendarWrapper::getGenitiveMonth
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getGenitiveMonths: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getGenitiveMonths: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::CalendarItem2 > (0);
}
@@ -334,7 +334,7 @@ css::uno::Sequence< css::i18n::CalendarItem2 > CalendarWrapper::getPartitiveMont
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getPartitiveMonths: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getPartitiveMonths: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::CalendarItem2 > (0);
}