Replaced SAL_INFO with SAL_WARN were applicable.
This commit is contained in:
committed by
Michael Stahl
parent
d20033a3eb
commit
6cd5f6f506
@@ -253,7 +253,7 @@ SvtDefaultOptions_Impl::SvtDefaultOptions_Impl() : ConfigItem( ASCII_STR("Office
|
||||
aFullPath = aPathOpt.SubstituteVariable( aTempStr );
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "any operator >>= failed" );
|
||||
SAL_WARN( "unotools.config", "any operator >>= failed" );
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -276,14 +276,14 @@ SvtDefaultOptions_Impl::SvtDefaultOptions_Impl() : ConfigItem( ASCII_STR("Office
|
||||
}
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "any operator >>= failed" );
|
||||
SAL_WARN( "unotools.config", "any operator >>= failed" );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
SAL_INFO( "unotools.config", "Wrong any type" );
|
||||
SAL_WARN( "unotools.config", "Wrong any type" );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@ SvtDefaultOptions_Impl::SvtDefaultOptions_Impl() : ConfigItem( ASCII_STR("Office
|
||||
case DEFAULTPATH__USERDICTIONARY: m_aUserDictionaryPath = String( aFullPath );break;
|
||||
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "invalid index to load a default path" );
|
||||
SAL_WARN( "unotools.config", "invalid index to load a default path" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -284,7 +284,7 @@ void SvtExtendedSecurityOptions_Impl::FillExtensionHashMap( ExtensionHashMap& aH
|
||||
aHashMap.insert( ExtensionHashMap::value_type( aValue.toAsciiLowerCase(), 1 ) );
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "SvtExtendedSecurityOptions_Impl::FillExtensionHashMap(): not string value?" );
|
||||
SAL_WARN( "unotools.config", "SvtExtendedSecurityOptions_Impl::FillExtensionHashMap(): not string value?" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -871,7 +871,7 @@ sal_Bool SvtPathOptions::SearchFile( String& rIniFile, Pathes ePath )
|
||||
// check parameter: empty inifile name?
|
||||
if ( !rIniFile.Len() )
|
||||
{
|
||||
SAL_INFO( "unotools.config", "SvtPathOptions::SearchFile(): invalid parameter" );
|
||||
SAL_WARN( "unotools.config", "SvtPathOptions::SearchFile(): invalid parameter" );
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
|
@@ -465,7 +465,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl()
|
||||
eODFDefaultVersion = SvtSaveOptions::ODFDefaultVersion( nTmp );
|
||||
}
|
||||
else {
|
||||
SAL_INFO( "unotools.config", "SvtSaveOptions_Impl::SvtSaveOptions_Impl(): Wrong Type!" );
|
||||
SAL_WARN( "unotools.config", "SvtSaveOptions_Impl::SvtSaveOptions_Impl(): Wrong Type!" );
|
||||
};
|
||||
bROODFDefaultVersion = pROStates[nProp];
|
||||
break;
|
||||
@@ -545,7 +545,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl()
|
||||
break;
|
||||
|
||||
default :
|
||||
SAL_INFO( "unotools.config", "invalid index to load a path" );
|
||||
SAL_WARN( "unotools.config", "invalid index to load a path" );
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -739,7 +739,7 @@ void SvtSaveOptions_Impl::Commit()
|
||||
break;
|
||||
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "invalid index to save a path" );
|
||||
SAL_WARN( "unotools.config", "invalid index to save a path" );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -821,7 +821,7 @@ void SvtLoadOptions_Impl::Commit()
|
||||
// -----------------------------------------------------------------------
|
||||
void SvtLoadOptions_Impl::Notify( const Sequence<rtl::OUString>& )
|
||||
{
|
||||
SAL_INFO( "unotools.config", "properties have been changed" );
|
||||
SAL_WARN( "unotools.config", "properties have been changed" );
|
||||
}
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
|
@@ -171,7 +171,7 @@ void SourceViewConfig_Impl::Commit()
|
||||
case 1: pValues[nProp] <<= m_nFontHeight; break;
|
||||
case 2: pValues[nProp] <<= m_bProportionalFontOnly; break;
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "invalid index to save a user token" );
|
||||
SAL_WARN( "unotools.config", "invalid index to save a user token" );
|
||||
}
|
||||
}
|
||||
PutProperties( aNames, aValues );
|
||||
|
@@ -191,7 +191,7 @@ SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl()
|
||||
m_aLocaleString = aStr;
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "Wrong property type!" );
|
||||
SAL_WARN( "unotools.config", "Wrong property type!" );
|
||||
}
|
||||
m_bROLocale = pROStates[nProp];
|
||||
}
|
||||
@@ -203,7 +203,7 @@ SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl()
|
||||
m_aUILocaleString = aStr;
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "Wrong property type!" );
|
||||
SAL_WARN( "unotools.config", "Wrong property type!" );
|
||||
}
|
||||
m_bROUILocale = pROStates[nProp];
|
||||
}
|
||||
@@ -215,7 +215,7 @@ SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl()
|
||||
m_aCurrencyString = aStr;
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "Wrong property type!" );
|
||||
SAL_WARN( "unotools.config", "Wrong property type!" );
|
||||
}
|
||||
m_bROCurrency = pROStates[nProp];
|
||||
}
|
||||
@@ -227,13 +227,13 @@ SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl()
|
||||
m_bDecimalSeparator = bValue;
|
||||
else
|
||||
{
|
||||
SAL_INFO( "unotools.config", "Wrong property type!" );
|
||||
SAL_WARN( "unotools.config", "Wrong property type!" );
|
||||
}
|
||||
m_bRODecimalSeparator = pROStates[nProp];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "Wrong property type!" );
|
||||
SAL_WARN( "unotools.config", "Wrong property type!" );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -361,7 +361,7 @@ void SvtSysLocaleOptions_Impl::Commit()
|
||||
}
|
||||
break;
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "invalid index to save a path" );
|
||||
SAL_WARN( "unotools.config", "invalid index to save a path" );
|
||||
}
|
||||
}
|
||||
aNames.realloc(nRealCount);
|
||||
|
@@ -85,7 +85,7 @@ void SvtUndoOptions_Impl::Commit()
|
||||
pValues[nProp] <<= nUndoCount;
|
||||
break;
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "invalid index to save a path" );
|
||||
SAL_WARN( "unotools.config", "invalid index to save a path" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -901,7 +901,7 @@ sal_Bool SvtUserOptions_Impl::IsTokenReadonly( sal_uInt16 nToken ) const
|
||||
break;
|
||||
}
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "SvtUserOptions_Impl::IsTokenReadonly(): invalid token" );
|
||||
SAL_WARN( "unotools.config", "SvtUserOptions_Impl::IsTokenReadonly(): invalid token" );
|
||||
}
|
||||
|
||||
return bRet;
|
||||
@@ -931,7 +931,7 @@ sal_Bool SvtUserOptions_Impl::IsTokenReadonly( sal_uInt16 nToken ) const
|
||||
case USER_OPT_FATHERSNAME: pRet = GetFathersName(); break;
|
||||
case USER_OPT_APARTMENT: pRet = GetApartment(); break;
|
||||
default:
|
||||
SAL_INFO( "unotools.config", "SvtUserOptions_Impl::GetToken(): invalid token" );
|
||||
SAL_WARN( "unotools.config", "SvtUserOptions_Impl::GetToken(): invalid token" );
|
||||
}
|
||||
return pRet;
|
||||
}
|
||||
|
@@ -70,7 +70,7 @@ void CalendarWrapper::loadDefaultCalendar( const ::com::sun::star::lang::Locale&
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "loadDefaultCalendar: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "loadDefaultCalendar: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "loadCalendar: Exception caught requested: "
|
||||
SAL_WARN( "unotools.l18n", "loadCalendar: Exception caught requested: "
|
||||
<< rUniqueID << " Locale: " << rLocale.Language << "_" << rLocale.Country << " " << e.Message );
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message );
|
||||
}
|
||||
|
||||
return ::com::sun::star::uno::Sequence< ::rtl::OUString > (0);
|
||||
@@ -115,7 +115,7 @@ void CalendarWrapper::loadCalendar( const ::rtl::OUString& rUniqueID, const ::co
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getUniqueID: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getUniqueID: Exception caught " << e.Message );
|
||||
}
|
||||
return ::rtl::OUString();
|
||||
}
|
||||
@@ -130,7 +130,7 @@ void CalendarWrapper::setDateTime( double nTimeInDays )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setDateTime: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setDateTime: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ double CalendarWrapper::getDateTime() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getDateTime: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getDateTime: Exception caught " << e.Message );
|
||||
}
|
||||
return 0.0;
|
||||
}
|
||||
@@ -168,7 +168,7 @@ sal_Int32 CalendarWrapper::getCombinedOffsetInMillis(
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message );
|
||||
}
|
||||
return nOffset;
|
||||
}
|
||||
@@ -234,7 +234,7 @@ void CalendarWrapper::setLocalDateTime( double nTimeInDays )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setLocalDateTime: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ double CalendarWrapper::getLocalDateTime() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getLocalDateTime: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getLocalDateTime: Exception caught " << e.Message );
|
||||
}
|
||||
return 0.0;
|
||||
}
|
||||
@@ -269,7 +269,7 @@ void CalendarWrapper::setValue( sal_Int16 nFieldIndex, sal_Int16 nValue )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setValue: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setValue: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@ sal_Bool CalendarWrapper::isValid() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "isValue: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "isValue: Exception caught " << e.Message );
|
||||
}
|
||||
return sal_False;
|
||||
}
|
||||
@@ -298,7 +298,7 @@ sal_Int16 CalendarWrapper::getValue( sal_Int16 nFieldIndex ) const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getValue: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getValue: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -313,7 +313,7 @@ void CalendarWrapper::addValue( sal_Int16 nFieldIndex, sal_Int32 nAmount )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "addValue: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "addValue: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ sal_Int16 CalendarWrapper::getFirstDayOfWeek() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getFirstDayOfWeek: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getFirstDayOfWeek: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -342,7 +342,7 @@ void CalendarWrapper::setFirstDayOfWeek( sal_Int16 nDay )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setFirstDayOfWeek: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setFirstDayOfWeek: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -356,7 +356,7 @@ void CalendarWrapper::setMinimumNumberOfDaysForFirstWeek( sal_Int16 nDays )
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "setMinimumNumberOfDaysForFirstWeek: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "setMinimumNumberOfDaysForFirstWeek: Exception caught " << e.Message );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -370,7 +370,7 @@ sal_Int16 CalendarWrapper::getNumberOfMonthsInYear() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getNumberOfMonthsInYear: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getNumberOfMonthsInYear: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -385,7 +385,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getNumberOfDaysInWeek: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getNumberOfDaysInWeek: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -400,7 +400,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getMonths: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getMonths: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
|
||||
}
|
||||
@@ -415,7 +415,7 @@ sal_Int16 CalendarWrapper::getNumberOfDaysInWeek() const
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getDays: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getDays: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
|
||||
}
|
||||
@@ -430,7 +430,7 @@ String CalendarWrapper::getDisplayName( sal_Int16 nCalendarDisplayIndex, sal_Int
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getDisplayName: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getDisplayName: Exception caught " << e.Message );
|
||||
}
|
||||
return String();
|
||||
}
|
||||
@@ -447,7 +447,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getDisplayString: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getDisplayString: Exception caught " << e.Message );
|
||||
}
|
||||
return String();
|
||||
}
|
||||
@@ -464,7 +464,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getLoadedCalendar2: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getLoadedCalendar2: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::i18n::Calendar2();
|
||||
}
|
||||
@@ -479,7 +479,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getGenitiveMonths: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getGenitiveMonths: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
|
||||
}
|
||||
@@ -494,7 +494,7 @@ String CalendarWrapper::getDisplayString( sal_Int32 nCalendarDisplayCode, sal_In
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getPartitiveMonths: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getPartitiveMonths: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem2 > (0);
|
||||
}
|
||||
|
@@ -131,7 +131,7 @@ sal_Bool CharClass::isAlpha( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isAlpha: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isAlpha: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -154,7 +154,7 @@ sal_Bool CharClass::isLetter( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isLetter: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isLetter: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -171,7 +171,7 @@ sal_Bool CharClass::isLetter( const String& rStr ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isLetter: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isLetter: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -193,7 +193,7 @@ sal_Bool CharClass::isDigit( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isDigit: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isDigit: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -210,7 +210,7 @@ sal_Bool CharClass::isNumeric( const String& rStr ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isNumeric: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isNumeric: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -232,7 +232,7 @@ sal_Bool CharClass::isAlphaNumeric( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isAlphaNumeric: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isAlphaNumeric: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -254,7 +254,7 @@ sal_Bool CharClass::isLetterNumeric( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isLetterNumeric: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isLetterNumeric: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -271,7 +271,7 @@ sal_Bool CharClass::isLetterNumeric( const String& rStr ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isLetterNumeric: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isLetterNumeric: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
}
|
||||
@@ -287,7 +287,7 @@ rtl::OUString CharClass::titlecase(const rtl::OUString& rStr, sal_Int32 nPos, sa
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "titlecase: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "titlecase: Exception caught!" );
|
||||
return rStr.copy( nPos, nCount );
|
||||
}
|
||||
}
|
||||
@@ -303,7 +303,7 @@ rtl::OUString CharClass::titlecase(const rtl::OUString& rStr, sal_Int32 nPos, sa
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "uppercase: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "uppercase: Exception caught!" );
|
||||
return rStr.copy( nPos, nCount );
|
||||
}
|
||||
}
|
||||
@@ -319,7 +319,7 @@ rtl::OUString CharClass::titlecase(const rtl::OUString& rStr, sal_Int32 nPos, sa
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "lowercase: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "lowercase: Exception caught!" );
|
||||
return rStr.copy( nPos, nCount );
|
||||
}
|
||||
}
|
||||
@@ -335,7 +335,7 @@ sal_Int16 CharClass::getType( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getType: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getType: Exception caught!" );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -352,7 +352,7 @@ sal_Int16 CharClass::getCharacterDirection( const String& rStr, xub_StrLen nPos
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getCharacterDirection: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getCharacterDirection: Exception caught!" );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -369,7 +369,7 @@ sal_Int16 CharClass::getScript( const String& rStr, xub_StrLen nPos ) const
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getScript: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getScript: Exception caught!" );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -386,7 +386,7 @@ sal_Int32 CharClass::getCharacterType( const String& rStr, xub_StrLen nPos ) con
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getCharacterType: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getCharacterType: Exception caught!" );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -403,7 +403,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
|
||||
}
|
||||
catch ( const Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getStringType: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getStringType: Exception caught!" );
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -428,7 +428,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "parseAnyToken: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "parseAnyToken: Exception caught " << e.Message );
|
||||
return ParseResult();
|
||||
}
|
||||
}
|
||||
@@ -454,7 +454,7 @@ sal_Int32 CharClass::getStringType( const String& rStr, xub_StrLen nPos, xub_Str
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "parsePredefinedToken: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "parsePredefinedToken: Exception caught " << e.Message );
|
||||
return ParseResult();
|
||||
}
|
||||
}
|
||||
|
@@ -57,7 +57,7 @@ CollatorWrapper::compareString (const ::rtl::OUString& s1, const ::rtl::OUString
|
||||
}
|
||||
catch (const uno::RuntimeException&)
|
||||
{
|
||||
SAL_INFO( "unotools","CollatorWrapper: compareString failed");
|
||||
SAL_WARN( "unotools.i18n","CollatorWrapper: compareString failed");
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -73,7 +73,7 @@ CollatorWrapper::listCollatorAlgorithms (const lang::Locale& rLocale) const
|
||||
}
|
||||
catch (const uno::RuntimeException&)
|
||||
{
|
||||
SAL_INFO( "unotools","CollatorWrapper: listCollatorAlgorithms failed");
|
||||
SAL_WARN( "unotools.i18n","CollatorWrapper: listCollatorAlgorithms failed");
|
||||
}
|
||||
|
||||
return uno::Sequence< ::rtl::OUString > ();
|
||||
@@ -89,7 +89,7 @@ CollatorWrapper::loadDefaultCollator (const lang::Locale& rLocale, sal_Int32 nOp
|
||||
}
|
||||
catch (const uno::RuntimeException&)
|
||||
{
|
||||
SAL_INFO( "unotools","CollatorWrapper: loadDefaultCollator failed");
|
||||
SAL_WARN( "unotools.i18n","CollatorWrapper: loadDefaultCollator failed");
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -107,7 +107,7 @@ CollatorWrapper::loadCollatorAlgorithm (const ::rtl::OUString& rAlgorithm,
|
||||
}
|
||||
catch (const uno::RuntimeException&)
|
||||
{
|
||||
SAL_INFO( "unotools","CollatorWrapper: loadCollatorAlgorithm failed");
|
||||
SAL_WARN( "unotools.i18n","CollatorWrapper: loadCollatorAlgorithm failed");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@@ -53,7 +53,7 @@ inline css::uno::Reference<css::uno::XInterface>
|
||||
}
|
||||
catch (const css::uno::Exception &e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", context << "ctor:Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", context << "ctor:Exception caught " << e.Message );
|
||||
xRet = css::uno::Reference<css::uno::XInterface>();
|
||||
}
|
||||
return xRet;
|
||||
|
@@ -147,7 +147,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "getLanguageCountryInfo: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "getLanguageCountryInfo: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::i18n::LanguageCountryInfo();
|
||||
}
|
||||
@@ -162,7 +162,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getLocaleItem: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getLocaleItem: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::i18n::LocaleDataItem();
|
||||
}
|
||||
@@ -177,7 +177,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getAllCurrencies: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getAllCurrencies: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 >(0);
|
||||
}
|
||||
@@ -192,7 +192,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getAllFormats: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getAllFormats: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::FormatElement >(0);
|
||||
}
|
||||
@@ -207,7 +207,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getCollatorImplementations: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getCollatorImplementations: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Implementation >(0);
|
||||
}
|
||||
@@ -222,7 +222,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getTransliterations: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getTransliterations: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0);
|
||||
}
|
||||
@@ -237,7 +237,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getForbiddenCharacters: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getForbiddenCharacters: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::i18n::ForbiddenCharacters();
|
||||
}
|
||||
@@ -252,7 +252,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getReservedWord: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getReservedWord: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::rtl::OUString >(0);
|
||||
}
|
||||
@@ -272,7 +272,7 @@ void LocaleDataWrapper::invalidateData()
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getAllInstalledLocaleNames: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getAllInstalledLocaleNames: Exception caught " << e.Message );
|
||||
}
|
||||
return rInstalledLocales;
|
||||
}
|
||||
@@ -404,7 +404,7 @@ const String& LocaleDataWrapper::getOneLocaleItem( sal_Int16 nItem ) const
|
||||
::utl::ReadWriteGuard aGuard( aMutex );
|
||||
if ( nItem >= LocaleItem::COUNT )
|
||||
{
|
||||
SAL_INFO( "unotools", "getOneLocaleItem: bounds" );
|
||||
SAL_WARN( "unotools", "getOneLocaleItem: bounds" );
|
||||
return aLocaleItem[0];
|
||||
}
|
||||
if ( aLocaleItem[nItem].Len() == 0 )
|
||||
@@ -477,7 +477,7 @@ void LocaleDataWrapper::getOneLocaleItemImpl( sal_Int16 nItem )
|
||||
aLocaleItem[nItem] = aLocaleDataItem.LongDateYearSeparator;
|
||||
break;
|
||||
default:
|
||||
SAL_INFO( "unotools", "getOneLocaleItemImpl: which one?" );
|
||||
SAL_WARN( "unotools", "getOneLocaleItemImpl: which one?" );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -500,7 +500,7 @@ const String& LocaleDataWrapper::getOneReservedWord( sal_Int16 nWord ) const
|
||||
::utl::ReadWriteGuard aGuard( aMutex );
|
||||
if ( nWord < 0 || nWord >= reservedWords::COUNT )
|
||||
{
|
||||
SAL_INFO( "unotools", "getOneReservedWord: bounds" );
|
||||
SAL_WARN( "unotools", "getOneReservedWord: bounds" );
|
||||
nWord = reservedWords::FALSE_WORD;
|
||||
}
|
||||
if ( aReservedWord[nWord].Len() == 0 )
|
||||
@@ -1885,7 +1885,7 @@ void LocaleDataWrapper::evaluateLocaleDataChecking()
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.l18n", "getAllCalendars: Exception caught " << e.Message );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Calendar2 >(0);
|
||||
}
|
||||
|
@@ -64,7 +64,7 @@ NativeNumberWrapper::getNativeNumberString(
|
||||
}
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "getNativeNumberString: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getNativeNumberString: Exception caught!" );
|
||||
}
|
||||
return ::rtl::OUString();
|
||||
}
|
||||
@@ -82,7 +82,7 @@ NativeNumberWrapper::isValidNatNum(
|
||||
}
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "isValidNatNum: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "isValidNatNum: Exception caught!" );
|
||||
}
|
||||
return sal_False;
|
||||
}
|
||||
@@ -100,7 +100,7 @@ NativeNumberWrapper::convertToXmlAttributes(
|
||||
}
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "convertToXmlAttributes: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "convertToXmlAttributes: Exception caught!" );
|
||||
}
|
||||
return i18n::NativeNumberXmlAttributes();
|
||||
}
|
||||
@@ -117,7 +117,7 @@ NativeNumberWrapper::convertFromXmlAttributes(
|
||||
}
|
||||
catch ( const uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "convertFromXmlAttributes: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "convertFromXmlAttributes: Exception caught!" );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@@ -72,7 +72,7 @@ NumberFormatCodeWrapper::getDefault( sal_Int16 formatType, sal_Int16 formatUsage
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools", "getDefault: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getDefault: Exception caught!" );
|
||||
}
|
||||
return ::com::sun::star::i18n::NumberFormatCode();
|
||||
}
|
||||
@@ -88,7 +88,7 @@ NumberFormatCodeWrapper::getFormatCode( sal_Int16 formatIndex ) const
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools", "getFormatCode: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getFormatCode: Exception caught!" );
|
||||
}
|
||||
return ::com::sun::star::i18n::NumberFormatCode();
|
||||
}
|
||||
@@ -104,7 +104,7 @@ NumberFormatCodeWrapper::getAllFormatCode( sal_Int16 formatUsage ) const
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools", "getAllFormatCode: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getAllFormatCode: Exception caught!" );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > (0);
|
||||
}
|
||||
@@ -120,7 +120,7 @@ NumberFormatCodeWrapper::getAllFormatCodes() const
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools", "getAllFormatCodes: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "getAllFormatCodes: Exception caught!" );
|
||||
}
|
||||
return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > (0);
|
||||
}
|
||||
|
@@ -132,7 +132,7 @@ Reference<XTextSearch> TextSearch::getXTextSearch( const SearchOptions& rPara )
|
||||
}
|
||||
catch ( Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "TextSearch ctor: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "TextSearch ctor: Exception caught!" );
|
||||
}
|
||||
return rCache.xTextSearch;
|
||||
}
|
||||
@@ -252,7 +252,7 @@ int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
|
||||
}
|
||||
catch ( Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "SearchForward: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "SearchForward: Exception caught!" );
|
||||
}
|
||||
return nRet;
|
||||
}
|
||||
@@ -283,7 +283,7 @@ int TextSearch::SearchBkwrd( const String & rStr, xub_StrLen* pStart,
|
||||
}
|
||||
catch ( Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "SearchBackward: Exception caught!" );
|
||||
SAL_WARN( "unotools.i18n", "SearchBackward: Exception caught!" );
|
||||
}
|
||||
return nRet;
|
||||
}
|
||||
|
@@ -75,7 +75,7 @@ String TransliterationWrapper::transliterate(
|
||||
}
|
||||
catch( Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "transliterate: Exception caught!" );
|
||||
SAL_WARN( "unotools", "transliterate: Exception caught!" );
|
||||
}
|
||||
}
|
||||
return sRet;
|
||||
@@ -99,7 +99,7 @@ String TransliterationWrapper::transliterate(
|
||||
}
|
||||
catch( Exception& )
|
||||
{
|
||||
SAL_INFO( "unotools", "transliterate: Exception caught!" );
|
||||
SAL_WARN( "unotools", "transliterate: Exception caught!" );
|
||||
}
|
||||
}
|
||||
return sRet;
|
||||
@@ -171,7 +171,7 @@ void TransliterationWrapper::loadModuleImpl() const
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "loadModuleImpl: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "loadModuleImpl: Exception caught " << e.Message );
|
||||
}
|
||||
|
||||
bFirstCall = sal_False;
|
||||
@@ -192,7 +192,7 @@ void TransliterationWrapper::loadModuleByImplName(
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "loadModuleByImplName: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "loadModuleByImplName: Exception caught " << e.Message );
|
||||
}
|
||||
|
||||
bFirstCall = sal_False;
|
||||
@@ -212,7 +212,7 @@ sal_Bool TransliterationWrapper::equals(
|
||||
}
|
||||
catch ( const Exception& e )
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "equals: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "equals: Exception caught " << e.Message );
|
||||
}
|
||||
return sal_False;
|
||||
}
|
||||
@@ -231,7 +231,7 @@ sal_Int32 TransliterationWrapper::compareSubstring(
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "compareSubstring: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "compareSubstring: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -248,7 +248,7 @@ sal_Int32 TransliterationWrapper::compareString( const String& rStr1, const Stri
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
SAL_INFO( "unotools.i18n", "compareString: Exception caught " << e.Message );
|
||||
SAL_WARN( "unotools.i18n", "compareString: Exception caught " << e.Message );
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user