Kaydet (Commit) 923934d0 authored tarafından Eike Rathke's avatar Eike Rathke

nitpick, it's i18n, not l18n

üst ef08c381
...@@ -70,7 +70,7 @@ void CalendarWrapper::loadDefaultCalendar( const ::com::sun::star::lang::Locale& ...@@ -70,7 +70,7 @@ void CalendarWrapper::loadDefaultCalendar( const ::com::sun::star::lang::Locale&
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "loadDefaultCalendar: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "loadDefaultCalendar: Exception caught " << e.Message );
} }
} }
...@@ -84,7 +84,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co ...@@ -84,7 +84,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "loadCalendar: Exception caught requested: " SAL_WARN( "unotools.i18n", "loadCalendar: Exception caught requested: "
<< rUniqueID << " Locale: " << rLocale.Language << "_" << rLocale.Country << " " << e.Message ); << rUniqueID << " Locale: " << rLocale.Language << "_" << rLocale.Country << " " << e.Message );
} }
} }
...@@ -99,7 +99,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co ...@@ -99,7 +99,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getAllCalendars: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::rtl::OUString > (0); return ::com::sun::star::uno::Sequence< ::rtl::OUString > (0);
...@@ -115,7 +115,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co ...@@ -115,7 +115,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getUniqueID: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getUniqueID: Exception caught " << e.Message );
} }
return ::rtl::OUString(); return ::rtl::OUString();
} }
...@@ -130,7 +130,7 @@ void CalendarWrapper::setDateTime( double nTimeInDays ) ...@@ -130,7 +130,7 @@ void CalendarWrapper::setDateTime( double nTimeInDays )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setDateTime: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setDateTime: Exception caught " << e.Message );
} }
} }
...@@ -144,7 +144,7 @@ double CalendarWrapper::getDateTime() const ...@@ -144,7 +144,7 @@ double CalendarWrapper::getDateTime() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getDateTime: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getDateTime: Exception caught " << e.Message );
} }
return 0.0; return 0.0;
} }
...@@ -168,7 +168,7 @@ sal_Int32 CalendarWrapper::getCombinedOffsetInMillis( ...@@ -168,7 +168,7 @@ sal_Int32 CalendarWrapper::getCombinedOffsetInMillis(
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setLocalDateTime: Exception caught " << e.Message );
} }
return nOffset; return nOffset;
} }
...@@ -234,7 +234,7 @@ void CalendarWrapper::setLocalDateTime( double nTimeInDays ) ...@@ -234,7 +234,7 @@ void CalendarWrapper::setLocalDateTime( double nTimeInDays )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setLocalDateTime: Exception caught " << e.Message );
} }
} }
...@@ -254,7 +254,7 @@ double CalendarWrapper::getLocalDateTime() const ...@@ -254,7 +254,7 @@ double CalendarWrapper::getLocalDateTime() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getLocalDateTime: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getLocalDateTime: Exception caught " << e.Message );
} }
return 0.0; return 0.0;
} }
...@@ -269,7 +269,7 @@ void CalendarWrapper::setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ) ...@@ -269,7 +269,7 @@ void CalendarWrapper::setValue( sal_Int16 nFieldIndex, sal_Int16 nValue )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setValue: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setValue: Exception caught " << e.Message );
} }
} }
...@@ -283,7 +283,7 @@ sal_Bool CalendarWrapper::isValid() const ...@@ -283,7 +283,7 @@ sal_Bool CalendarWrapper::isValid() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "isValue: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "isValue: Exception caught " << e.Message );
} }
return sal_False; return sal_False;
} }
...@@ -298,7 +298,7 @@ sal_Int16 CalendarWrapper::getValue( sal_Int16 nFieldIndex ) const ...@@ -298,7 +298,7 @@ sal_Int16 CalendarWrapper::getValue( sal_Int16 nFieldIndex ) const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getValue: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getValue: Exception caught " << e.Message );
} }
return 0; return 0;
} }
...@@ -313,7 +313,7 @@ void CalendarWrapper::addValue( sal_Int16 nFieldIndex, sal_Int32 nAmount ) ...@@ -313,7 +313,7 @@ void CalendarWrapper::addValue( sal_Int16 nFieldIndex, sal_Int32 nAmount )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "addValue: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "addValue: Exception caught " << e.Message );
} }
} }
...@@ -327,7 +327,7 @@ sal_Int16 CalendarWrapper::getFirstDayOfWeek() const ...@@ -327,7 +327,7 @@ sal_Int16 CalendarWrapper::getFirstDayOfWeek() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getFirstDayOfWeek: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getFirstDayOfWeek: Exception caught " << e.Message );
} }
return 0; return 0;
} }
...@@ -342,7 +342,7 @@ void CalendarWrapper::setFirstDayOfWeek( sal_Int16 nDay ) ...@@ -342,7 +342,7 @@ void CalendarWrapper::setFirstDayOfWeek( sal_Int16 nDay )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setFirstDayOfWeek: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setFirstDayOfWeek: Exception caught " << e.Message );
} }
} }
...@@ -356,7 +356,7 @@ void CalendarWrapper::setMinimumNumberOfDaysForFirstWeek( sal_Int16 nDays ) ...@@ -356,7 +356,7 @@ void CalendarWrapper::setMinimumNumberOfDaysForFirstWeek( sal_Int16 nDays )
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "setMinimumNumberOfDaysForFirstWeek: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "setMinimumNumberOfDaysForFirstWeek: Exception caught " << e.Message );
} }
} }
...@@ -370,7 +370,7 @@ sal_Int16 CalendarWrapper::getNumberOfMonthsInYear() const ...@@ -370,7 +370,7 @@ sal_Int16 CalendarWrapper::getNumberOfMonthsInYear() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getNumberOfMonthsInYear: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getNumberOfMonthsInYear: Exception caught " << e.Message );
} }
return 0; return 0;
} }
...@@ -385,7 +385,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const ...@@ -385,7 +385,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getNumberOfDaysInWeek: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getNumberOfDaysInWeek: Exception caught " << e.Message );
} }
return 0; return 0;
} }
...@@ -400,7 +400,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const ...@@ -400,7 +400,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getMonths: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getMonths: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
} }
...@@ -415,7 +415,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const ...@@ -415,7 +415,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getDays: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getDays: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
} }
...@@ -430,7 +430,7 @@ String CalendarWrapper::getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_Int ...@@ -430,7 +430,7 @@ String CalendarWrapper::getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_Int
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getDisplayName: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getDisplayName: Exception caught " << e.Message );
} }
return String(); return String();
} }
...@@ -447,7 +447,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In ...@@ -447,7 +447,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getDisplayString: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getDisplayString: Exception caught " << e.Message );
} }
return String(); return String();
} }
...@@ -464,7 +464,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In ...@@ -464,7 +464,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getLoadedCalendar2: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getLoadedCalendar2: Exception caught " << e.Message );
} }
return ::com::sun::star::i18n::Calendar2(); return ::com::sun::star::i18n::Calendar2();
} }
...@@ -479,7 +479,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In ...@@ -479,7 +479,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getGenitiveMonths: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getGenitiveMonths: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
} }
...@@ -494,7 +494,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In ...@@ -494,7 +494,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getPartitiveMonths: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getPartitiveMonths: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
} }
......
...@@ -428,7 +428,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str ...@@ -428,7 +428,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
} }
catch ( const Exception& e ) catch ( const Exception& e )
{ {
SAL_WARN( "unotools.l18n", "parseAnyToken: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "parseAnyToken: Exception caught " << e.Message );
return ParseResult(); return ParseResult();
} }
} }
...@@ -454,7 +454,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str ...@@ -454,7 +454,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
} }
catch ( const Exception& e ) catch ( const Exception& e )
{ {
SAL_WARN( "unotools.l18n", "parsePredefinedToken: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "parsePredefinedToken: Exception caught " << e.Message );
return ParseResult(); return ParseResult();
} }
} }
......
...@@ -53,7 +53,7 @@ inline css::uno::Reference<css::uno::XInterface> ...@@ -53,7 +53,7 @@ inline css::uno::Reference<css::uno::XInterface>
} }
catch (const css::uno::Exception &e) catch (const css::uno::Exception &e)
{ {
SAL_WARN( "unotools.l18n", context << "ctor:Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", context << "ctor:Exception caught " << e.Message );
xRet = css::uno::Reference<css::uno::XInterface>(); xRet = css::uno::Reference<css::uno::XInterface>();
} }
return xRet; return xRet;
......
...@@ -162,7 +162,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -162,7 +162,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getLocaleItem: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getLocaleItem: Exception caught " << e.Message );
} }
return ::com::sun::star::i18n::LocaleDataItem(); return ::com::sun::star::i18n::LocaleDataItem();
} }
...@@ -177,7 +177,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -177,7 +177,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getAllCurrencies: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getAllCurrencies: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 >(0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 >(0);
} }
...@@ -192,7 +192,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -192,7 +192,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getAllFormats: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getAllFormats: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::FormatElement >(0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::FormatElement >(0);
} }
...@@ -207,7 +207,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -207,7 +207,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getCollatorImplementations: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getCollatorImplementations: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Implementation >(0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Implementation >(0);
} }
...@@ -222,7 +222,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -222,7 +222,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getTransliterations: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getTransliterations: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0); return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0);
} }
...@@ -237,7 +237,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -237,7 +237,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getForbiddenCharacters: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getForbiddenCharacters: Exception caught " << e.Message );
} }
return ::com::sun::star::i18n::ForbiddenCharacters(); return ::com::sun::star::i18n::ForbiddenCharacters();
} }
...@@ -252,7 +252,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -252,7 +252,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch ( const Exception& e ) catch ( const Exception& e )
{ {
SAL_WARN( "unotools.l18n", "getReservedWord: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getReservedWord: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0); return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0);
} }
...@@ -272,7 +272,7 @@ void LocaleDataWrapper::invalidateData() ...@@ -272,7 +272,7 @@ void LocaleDataWrapper::invalidateData()
} }
catch ( const Exception& e ) catch ( const Exception& e )
{ {
SAL_WARN( "unotools.l18n", "getAllInstalledLocaleNames: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getAllInstalledLocaleNames: Exception caught " << e.Message );
} }
return rInstalledLocales; return rInstalledLocales;
} }
...@@ -1885,7 +1885,7 @@ void LocaleDataWrapper::evaluateLocaleDataChecking() ...@@ -1885,7 +1885,7 @@ void LocaleDataWrapper::evaluateLocaleDataChecking()
} }
catch (const Exception& e) catch (const Exception& e)
{ {
SAL_WARN( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message ); SAL_WARN( "unotools.i18n", "getAllCalendars: Exception caught " << e.Message );
} }
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Calendar2 >(0); return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Calendar2 >(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment