diff options
author | Marcel Metz <mmetz@adrian-broher.net> | 2012-01-16 23:21:15 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-17 23:27:44 +0100 |
commit | d2c8003ecbf239faa5ed455cb3bfcb03e912e3cd (patch) | |
tree | 6ee21a2bfa5a60f00070aad44ca9674d53c14a3a /svl | |
parent | Replaced SAL_INFO with SAL_WARN were applicable. (diff) | |
download | core-d2c8003ecbf239faa5ed455cb3bfcb03e912e3cd.tar.gz core-d2c8003ecbf239faa5ed455cb3bfcb03e912e3cd.zip |
Replaced SAL_INFO with SAL_WARN were applicable.
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/srchitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 10 | ||||
-rw-r--r-- | svl/source/numbers/zformat.cxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 8 |
5 files changed, 14 insertions, 14 deletions
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 776fc9f83601..0e0117246cf0 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -512,7 +512,7 @@ bool SvxSearchItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMembe } default: - SAL_INFO( "svl", "SvxSearchItem::QueryValue(): Unknown MemberId" ); + SAL_WARN( "svl.ui", "SvxSearchItem::QueryValue(): Unknown MemberId" ); return false; } diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index 0835278e656f..9ffecbae62cc 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -892,7 +892,7 @@ void ImpSvNumberInputScan::GetTimeRef( else { nHour = 0; - SAL_INFO( "svl", "ImpSvNumberInputScan::GetTimeRef: bad number index"); + SAL_WARN( "svl.items", "ImpSvNumberInputScan::GetTimeRef: bad number index"); } if (nDecPos == 2 && nAnz == 2) // 45.5 nMinute = 0; @@ -3148,7 +3148,7 @@ bool ImpSvNumberInputScan::IsNumberFormat( break; default: - SAL_INFO( "svl", "Some number recognized but what's it?" ); + SAL_WARN( "svl.items", "Some number recognized but what's it?" ); fOutNumber = 0.0; break; } diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index e2de4475a582..ed7b523a17be 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -616,7 +616,7 @@ sal_uInt32 SvNumberFormatter::GetIndexPuttingAndConverting( String & rString, nKey, eLnge, SvtSysLocale().GetLanguage()); if (rCheckPos > 0) { - SAL_INFO( "svl", "SvNumberFormatter::GetIndexPuttingAndConverting: bad format code string for current locale"); + SAL_WARN( "svl.numbers", "SvNumberFormatter::GetIndexPuttingAndConverting: bad format code string for current locale"); nKey = NUMBERFORMAT_ENTRY_NOT_FOUND; } } @@ -629,7 +629,7 @@ sal_uInt32 SvNumberFormatter::GetIndexPuttingAndConverting( String & rString, rNewInserted = PutEntry( rString, rCheckPos, rType, nKey, eLnge); if (rCheckPos > 0) { - SAL_INFO( "svl", "SvNumberFormatter::GetIndexPuttingAndConverting: bad format code string for specified locale"); + SAL_WARN( "svl.numbers", "SvNumberFormatter::GetIndexPuttingAndConverting: bad format code string for specified locale"); nKey = NUMBERFORMAT_ENTRY_NOT_FOUND; } } @@ -2646,7 +2646,7 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset, (SvNumberformat*) aFTable.Get( CLOffset + ZF_STANDARD ); if ( !pStdFormat ) { - SAL_INFO( "svl", "ImpGenerateAdditionalFormats: no GENERAL format" ); + SAL_WARN( "svl.numbers", "ImpGenerateAdditionalFormats: no GENERAL format" ); return ; } sal_uInt32 nPos = CLOffset + pStdFormat->GetLastInsertKey(); @@ -2664,7 +2664,7 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset, { if ( nPos - CLOffset >= SV_COUNTRY_LANGUAGE_OFFSET ) { - SAL_INFO( "svl", "ImpGenerateAdditionalFormats: too many formats" ); + SAL_WARN( "svl.numbers", "ImpGenerateAdditionalFormats: too many formats" ); break; // for } if ( pFormatArr[j].Index < NF_INDEX_TABLE_ENTRIES && @@ -2700,7 +2700,7 @@ void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset, { if ( nPos - CLOffset >= SV_COUNTRY_LANGUAGE_OFFSET ) { - SAL_INFO( "svl", "ImpGenerateAdditionalFormats: too many formats" ); + SAL_WARN( "svl.numbers", "ImpGenerateAdditionalFormats: too many formats" ); break; // for } if ( pFormatArr[j].Index >= NF_INDEX_TABLE_ENTRIES ) diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 0317ddb029d9..06c70b888a87 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1675,7 +1675,7 @@ NfHackConversion SvNumberformat::Load( SvStream& rStream, } break; default: - SAL_INFO( "svl", "SvNumberformat::Load: unknown header bytes left nId" ); + SAL_WARN( "svl.numbers", "SvNumberformat::Load: unknown header bytes left nId" ); bGoOn = false; // stop reading unknown stream left over of newer versions // Would be nice to have multiple read/write headers instead // but old versions wouldn't know it, TLOT. @@ -1727,7 +1727,7 @@ NfHackConversion SvNumberformat::Load( SvStream& rStream, LANGUAGE_GERMAN, LANGUAGE_ENGLISH_US, true ); break; default: - SAL_INFO( "svl", "SvNumberformat::Load: eHackConversion unknown" ); + SAL_WARN( "svl.numbers", "SvNumberformat::Load: eHackConversion unknown" ); } } return eHackConversion; diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 7f142973ca17..af3c866b55d4 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -140,7 +140,7 @@ void ImpSvNumberformatScan::InitSpecialKeyword( NfKeywordIndex eIdx ) const pFormatter->GetLocaleData()->getTrueWord() ); if ( !sKeyword[NF_KEY_TRUE].Len() ) { - SAL_INFO( "svl", "InitSpecialKeyword: TRUE_WORD?" ); + SAL_WARN( "svl.numbers", "InitSpecialKeyword: TRUE_WORD?" ); ((ImpSvNumberformatScan*)this)->sKeyword[NF_KEY_TRUE].AssignAscii( RTL_CONSTASCII_STRINGPARAM( "TRUE" ) ); } break; @@ -150,12 +150,12 @@ void ImpSvNumberformatScan::InitSpecialKeyword( NfKeywordIndex eIdx ) const pFormatter->GetLocaleData()->getFalseWord() ); if ( !sKeyword[NF_KEY_FALSE].Len() ) { - SAL_INFO( "svl", "InitSpecialKeyword: FALSE_WORD?" ); + SAL_WARN( "svl.numbers", "InitSpecialKeyword: FALSE_WORD?" ); ((ImpSvNumberformatScan*)this)->sKeyword[NF_KEY_FALSE].AssignAscii( RTL_CONSTASCII_STRINGPARAM( "FALSE" ) ); } break; default: - SAL_INFO( "svl", "InitSpecialKeyword: unknown request" ); + SAL_WARN( "svl.numbers", "InitSpecialKeyword: unknown request" ); } } @@ -2010,7 +2010,7 @@ xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString ) } // of else Del else { - SAL_INFO( "svl", "unknown NF_SYMBOLTYPE_..." ); + SAL_WARN( "svl.numbers", "unknown NF_SYMBOLTYPE_..." ); nPos = nPos + sStrArray[i].Len(); i++; } |