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 | |
parent | 2a566b17752869a2760f85bed5bf4f59ab0b8211 (diff) |
Replaced SAL_INFO with SAL_WARN were applicable.
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 2 | ||||
-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 | ||||
-rw-r--r-- | tools/source/datetime/tdate.cxx | 2 | ||||
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/settings.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/field2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/outmap.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/print3.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/btndlg.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/macrosecurity.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/stbcontrl.cxx | 2 |
21 files changed, 32 insertions, 32 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 50e3486ada6e..ed79b244f9ef 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -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)) { 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++; } diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx index d7eb40114044..9d17ec68a3a1 100644 --- a/tools/source/datetime/tdate.cxx +++ b/tools/source/datetime/tdate.cxx @@ -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; } diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index a525b57993fb..d787baaa7166 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -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 ); diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 00137a2961a6..d74ac36fc5cf 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -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 ) diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index e93b78e8188d..93c36ef8f00a 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -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; } diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index 44b2758b1ed7..fe4952792d6a 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -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; } diff --git a/vcl/source/gdi/outmap.cxx b/vcl/source/gdi/outmap.cxx index abda8cbdfbee..583e1c8d226f 100644 --- a/vcl/source/gdi/outmap.cxx +++ b/vcl/source/gdi/outmap.cxx @@ -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 { diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 0c484c5c4a0a..60b449ef8987 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -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 ) diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx index d19196fd6165..ebd091260bb3 100644 --- a/vcl/source/window/btndlg.cxx +++ b/vcl/source/window/btndlg.cxx @@ -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() diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 48d0b69ea69e..9059210d05ab 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -2009,7 +2009,7 @@ void SchXMLExportHelper_Impl::exportPlotArea( } catch( const beans::UnknownPropertyException & ) { - SAL_INFO( "vcl", "Properties missing" ); + SAL_WARN( "xmloff.chart", "Properties missing" ); } } } diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 3b0e4c24b30e..ae1a274981c8 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -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" ); } } } diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index f80a0ed0c479..10d8dcc65e4e 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -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?" ); } } } diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 4440b05b2441..3b73a6ffee6a 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -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?" ); } } } diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 142d2092fd56..5f2870ff9877 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -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() ); diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 078fc88f565e..010cf7ab3191 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -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; diff --git a/xmlsecurity/source/dialogs/stbcontrl.cxx b/xmlsecurity/source/dialogs/stbcontrl.cxx index 863b41844504..b5c0509cd703 100644 --- a/xmlsecurity/source/dialogs/stbcontrl.cxx +++ b/xmlsecurity/source/dialogs/stbcontrl.cxx @@ -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; } |