Replaced SAL_INFO with SAL_WARN were applicable.
This commit is contained in:
parent
2a566b1775
commit
d2c8003ecb
@ -1096,7 +1096,7 @@ sal_Int8 SdPageObjsTLB::AcceptDrop (const AcceptDropEvent& rEvent)
|
||||
}
|
||||
else if( !nDragDropMode )
|
||||
{
|
||||
SAL_INFO( "sc.ui", "SdPageObjsTLB::AcceptDrop(): no target" );
|
||||
SAL_WARN( "sc.ui", "SdPageObjsTLB::AcceptDrop(): no target" );
|
||||
}
|
||||
else if (IsDropAllowed(pEntry))
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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 )
|
||||
|
@ -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;
|
||||
|
@ -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++;
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ sal_uInt16 Date::GetWeekOfYear( DayOfWeek eStartDay,
|
||||
|
||||
if (nMinimumNumberOfDaysInWeek < 1 || 7 < nMinimumNumberOfDaysInWeek)
|
||||
{
|
||||
SAL_INFO( "tools", "Date::GetWeekOfYear: invalid nMinimumNumberOfDaysInWeek" );
|
||||
SAL_WARN( "tools", "Date::GetWeekOfYear: invalid nMinimumNumberOfDaysInWeek" );
|
||||
nMinimumNumberOfDaysInWeek = 4;
|
||||
}
|
||||
|
||||
|
@ -1671,7 +1671,7 @@ int INetMIMEMessageStream::PutMsgLine (const sal_Char *pData, sal_uIntPtr nSize)
|
||||
return status;
|
||||
}
|
||||
else {
|
||||
SAL_INFO( "tools", "Boundary not found." );
|
||||
SAL_WARN( "tools", "Boundary not found." );
|
||||
}
|
||||
status = INetMessageIOStream::PutMsgLine(
|
||||
pOldPos, pChar - pOldPos + 1 );
|
||||
|
@ -1685,7 +1685,7 @@ sal_uLong AllSettings::Update( sal_uLong nFlags, const AllSettings& rSet )
|
||||
if ( nFlags & SETTINGS_INTERNATIONAL )
|
||||
{
|
||||
// Nothing, class International is gone.
|
||||
SAL_INFO( "vcl","AllSettings::Update: who calls with SETTINGS_INTERNATIONAL and why? You're flogging a dead horse.");
|
||||
SAL_WARN( "vcl.app","AllSettings::Update: who calls with SETTINGS_INTERNATIONAL and why? You're flogging a dead horse.");
|
||||
}
|
||||
|
||||
if ( nFlags & SETTINGS_LOCALE )
|
||||
|
@ -168,7 +168,7 @@ static int ImplIsPatternChar( xub_Unicode cChar, sal_Char cEditMask )
|
||||
}
|
||||
catch ( ::com::sun::star::uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "vcl", "ImplIsPatternChar: Exception caught!" );
|
||||
SAL_WARN( "vcl.control", "ImplIsPatternChar: Exception caught!" );
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
|
@ -436,7 +436,7 @@ OutputDevice::~OutputDevice()
|
||||
ImplObjStack* pData = mpObjStack;
|
||||
if ( pData )
|
||||
{
|
||||
SAL_INFO( "vcl", "OutputDevice::~OutputDevice(): OutputDevice::Push() calls != OutputDevice::Pop() calls" );
|
||||
SAL_WARN( "vcl.gdi", "OutputDevice::~OutputDevice(): OutputDevice::Push() calls != OutputDevice::Pop() calls" );
|
||||
while ( pData )
|
||||
{
|
||||
ImplObjStack* pTemp = pData;
|
||||
@ -2461,7 +2461,7 @@ void OutputDevice::Pop()
|
||||
|
||||
if ( !pData )
|
||||
{
|
||||
SAL_INFO( "vcl", "OutputDevice::Pop() without OutputDevice::Push()" );
|
||||
SAL_WARN( "vcl.gdi", "OutputDevice::Pop() without OutputDevice::Push()" );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -871,11 +871,11 @@ void OutputDevice::SetRelativeMapMode( const MapMode& rNewMapMode )
|
||||
{
|
||||
if ( eOld > MAP_PIXEL )
|
||||
{
|
||||
SAL_INFO( "vcl", "Not implemented MapUnit" );
|
||||
SAL_WARN( "vcl.gdi", "Not implemented MapUnit" );
|
||||
}
|
||||
else if ( eNew > MAP_PIXEL )
|
||||
{
|
||||
SAL_INFO( "vcl", "Not implemented MapUnit" );
|
||||
SAL_WARN( "vcl.gdi", "Not implemented MapUnit" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -248,7 +248,7 @@ static rtl::OUString queryFile( Printer* pPrinter )
|
||||
}
|
||||
catch (const lang::IllegalArgumentException&)
|
||||
{
|
||||
SAL_INFO( "vcl", "caught IllegalArgumentException when registering filter\n" );
|
||||
SAL_WARN( "vcl.gdi", "caught IllegalArgumentException when registering filter" );
|
||||
}
|
||||
|
||||
if( xFilePicker->execute() == ui::dialogs::ExecutableDialogResults::OK )
|
||||
|
@ -344,7 +344,7 @@ void ButtonDialog::RemoveButton( sal_uInt16 nId )
|
||||
}
|
||||
|
||||
if (it == maItemList.end())
|
||||
SAL_INFO( "vcl", "ButtonDialog::RemoveButton(): ButtonId invalid" );
|
||||
SAL_WARN( "vcl.window", "ButtonDialog::RemoveButton(): ButtonId invalid" );
|
||||
}
|
||||
|
||||
void ButtonDialog::Clear()
|
||||
|
@ -2009,7 +2009,7 @@ void SchXMLExportHelper_Impl::exportPlotArea(
|
||||
}
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_INFO( "vcl", "Properties missing" );
|
||||
SAL_WARN( "xmloff.chart", "Properties missing" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -322,7 +322,7 @@ void SchXMLPlotAreaContext::StartElement( const uno::Reference< xml::sax::XAttri
|
||||
}
|
||||
catch( const beans::UnknownPropertyException & )
|
||||
{
|
||||
SAL_INFO( "vcl", "Properties missing" );
|
||||
SAL_WARN( "xmloff.chart", "Properties missing" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2077,7 +2077,7 @@ ProgressBarHelper* SvXMLExport::GetProgressBarHelper()
|
||||
if (aAny.getValueType() == getBooleanCppuType())
|
||||
mpProgressBarHelper->SetRepeat(::cppu::any2bool(aAny));
|
||||
else {
|
||||
SAL_INFO( "xmloff","why is it no boolean?");
|
||||
SAL_WARN( "xmloff.core", "why is it no boolean?" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1388,7 +1388,7 @@ ProgressBarHelper* SvXMLImport::GetProgressBarHelper()
|
||||
if (aAny.getValueType() == getBooleanCppuType())
|
||||
mpProgressBarHelper->SetRepeat(::cppu::any2bool(aAny));
|
||||
else {
|
||||
SAL_INFO( "xmloff","why is it no boolean?");
|
||||
SAL_WARN( "xmloff.core", "why is it no boolean?" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -437,7 +437,7 @@ IMPL_LINK( DigitalSignaturesDialog, AddButtonHdl, Button*, EMPTYARG )
|
||||
uno::Reference< ::com::sun::star::security::XCertificate > xCert = aChooser.GetSelectedCertificate();
|
||||
if ( !xCert.is() )
|
||||
{
|
||||
SAL_INFO( "xmloff", "no certificate selected" );
|
||||
SAL_WARN( "xmlsecurity.dialogs", "no certificate selected" );
|
||||
return -1;
|
||||
}
|
||||
rtl::OUString aCertSerial = xSerialNumberAdapter->toString( xCert->getSerialNumber() );
|
||||
|
@ -268,7 +268,7 @@ IMPL_LINK( MacroSecurityTrustedSourcesTP, AddLocPBHdl, void*, EMPTYARG )
|
||||
}
|
||||
catch( uno::Exception& )
|
||||
{
|
||||
SAL_INFO( "xmlsecurity", "MacroSecurityTrustedSourcesTP::AddLocPBHdl(): exception from folder picker" );
|
||||
SAL_WARN( "xmlsecurity.dialogs", "MacroSecurityTrustedSourcesTP::AddLocPBHdl(): exception from folder picker" );
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -80,7 +80,7 @@ void XmlSecStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
|
||||
}
|
||||
else
|
||||
{
|
||||
SAL_INFO( "xmlsecurity", "+XmlSecStatusBarControl::StateChanged(): invalid item type" );
|
||||
SAL_WARN( "xmlsecurity.dialogs", "+XmlSecStatusBarControl::StateChanged(): invalid item type" );
|
||||
mpImpl->mbSigned = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user