summaryrefslogtreecommitdiff
path: root/unotools/source/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r--unotools/source/i18n/calendarwrapper.cxx42
-rw-r--r--unotools/source/i18n/charclass.cxx4
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx20
-rw-r--r--unotools/source/i18n/transliterationwrapper.cxx8
4 files changed, 37 insertions, 37 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);
}
diff --git a/unotools/source/i18n/charclass.cxx b/unotools/source/i18n/charclass.cxx
index 60e5227070a9..8cdabfcd0f9d 100644
--- a/unotools/source/i18n/charclass.cxx
+++ b/unotools/source/i18n/charclass.cxx
@@ -404,7 +404,7 @@ css::i18n::ParseResult CharClass::parseAnyToken(
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "parseAnyToken: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "parseAnyToken: Exception caught " << e );
return ParseResult();
}
}
@@ -429,7 +429,7 @@ css::i18n::ParseResult CharClass::parsePredefinedToken(
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "parsePredefinedToken: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "parsePredefinedToken: Exception caught " << e );
return ParseResult();
}
}
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 1750a9b23bc5..09e5c186f517 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -168,7 +168,7 @@ css::i18n::LanguageCountryInfo LocaleDataWrapper::getLanguageCountryInfo() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getLanguageCountryInfo: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getLanguageCountryInfo: Exception caught " << e );
}
return css::i18n::LanguageCountryInfo();
}
@@ -195,7 +195,7 @@ const css::i18n::LocaleDataItem& LocaleDataWrapper::getLocaleItem() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getLocaleItem: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getLocaleItem: Exception caught " << e );
}
static css::i18n::LocaleDataItem aEmptyItem;
return aEmptyItem;
@@ -209,7 +209,7 @@ css::uno::Sequence< css::i18n::Currency2 > LocaleDataWrapper::getAllCurrencies()
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getAllCurrencies: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getAllCurrencies: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::Currency2 >(0);
}
@@ -222,7 +222,7 @@ css::uno::Sequence< css::i18n::FormatElement > LocaleDataWrapper::getAllFormats(
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getAllFormats: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getAllFormats: Exception caught " << e );
}
return css::uno::Sequence< css::i18n::FormatElement >(0);
}
@@ -235,7 +235,7 @@ css::i18n::ForbiddenCharacters LocaleDataWrapper::getForbiddenCharacters() const
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getForbiddenCharacters: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getForbiddenCharacters: Exception caught " << e );
}
return css::i18n::ForbiddenCharacters();
}
@@ -248,7 +248,7 @@ css::uno::Sequence< OUString > LocaleDataWrapper::getReservedWord() const
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "getReservedWord: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getReservedWord: Exception caught " << e );
}
return css::uno::Sequence< OUString >(0);
}
@@ -266,7 +266,7 @@ css::uno::Sequence< css::lang::Locale > LocaleDataWrapper::getAllInstalledLocale
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "getAllInstalledLocaleNames: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getAllInstalledLocaleNames: Exception caught " << e );
}
return rInstalledLocales;
}
@@ -1821,7 +1821,7 @@ css::uno::Sequence< css::i18n::Calendar2 > LocaleDataWrapper::getAllCalendars()
}
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< css::i18n::Calendar2 >(0);
}
@@ -1845,7 +1845,7 @@ css::uno::Sequence< OUString > LocaleDataWrapper::getDateAcceptancePatterns() co
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "getDateAcceptancePatterns: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "getDateAcceptancePatterns: Exception caught " << e );
}
return css::uno::Sequence< OUString >(0);
}
@@ -1865,7 +1865,7 @@ void LocaleDataWrapper::setDateAcceptancePatterns(
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "setDateAcceptancePatterns: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "setDateAcceptancePatterns: Exception caught " << e );
}
if (!rPatterns.getLength())
return; // just a reset
diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx
index d2d037a482f2..4a65f801cfba 100644
--- a/unotools/source/i18n/transliterationwrapper.cxx
+++ b/unotools/source/i18n/transliterationwrapper.cxx
@@ -148,7 +148,7 @@ void TransliterationWrapper::loadModuleImpl() const
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "loadModuleImpl: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "loadModuleImpl: Exception caught " << e );
}
bFirstCall = false;
@@ -169,7 +169,7 @@ void TransliterationWrapper::loadModuleByImplName(const OUString& rModuleName,
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "loadModuleByImplName: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "loadModuleByImplName: Exception caught " << e );
}
bFirstCall = false;
@@ -188,7 +188,7 @@ bool TransliterationWrapper::equals(
}
catch ( const Exception& e )
{
- SAL_WARN( "unotools.i18n", "equals: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "equals: Exception caught " << e );
}
return false;
}
@@ -204,7 +204,7 @@ sal_Int32 TransliterationWrapper::compareString( const OUString& rStr1, const OU
}
catch (const Exception& e)
{
- SAL_WARN( "unotools.i18n", "compareString: Exception caught " << e.Message );
+ SAL_WARN( "unotools.i18n", "compareString: Exception caught " << e );
}
return 0;
}