diff options
-rw-r--r-- | svtools/source/config/helpopt.cxx | 10 | ||||
-rw-r--r-- | svtools/source/contnr/contentenumeration.cxx | 10 | ||||
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 4 | ||||
-rw-r--r-- | svtools/source/contnr/svlbox.cxx | 4 | ||||
-rw-r--r-- | svtools/source/contnr/svtabbx.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/calendar.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/prnsetup.cxx | 2 | ||||
-rw-r--r-- | svtools/source/filter/filter.cxx | 10 | ||||
-rw-r--r-- | svtools/source/misc/ehdl.cxx | 6 | ||||
-rw-r--r-- | svtools/source/misc/templatefoldercache.cxx | 4 |
11 files changed, 30 insertions, 30 deletions
diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx index aeac4571b2d4..810a8793e343 100644 --- a/svtools/source/config/helpopt.cxx +++ b/svtools/source/config/helpopt.cxx @@ -214,7 +214,7 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< ::rtl::OUString>& rProperty bHelpAgentEnabled = bTmp; break; default: - SAL_INFO( "svtools", "Wrong Member!" ); + SAL_WARN( "svtools.config", "Wrong Member!" ); break; } } @@ -233,7 +233,7 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< ::rtl::OUString>& rProperty sHelpStyleSheet = aTmpStr; break; default: - SAL_INFO( "svtools", "Wrong Member!" ); + SAL_WARN( "svtools.config", "Wrong Member!" ); break; } } @@ -250,13 +250,13 @@ void SvtHelpOptions_Impl::Load(const uno::Sequence< ::rtl::OUString>& rProperty break; default: - SAL_INFO( "svtools", "Wrong Member!" ); + SAL_WARN( "svtools.config", "Wrong Member!" ); break; } } else { - SAL_INFO( "svtools", "Wrong Type!" ); + SAL_WARN( "svtools.config", "Wrong Type!" ); } } } @@ -431,7 +431,7 @@ void SvtHelpOptions_Impl::implSaveURLCounters() sNewNodeName = sNodeNameBase; if (!getUniqueSetElementName(sIgnoreListNodePath, sNewNodeName)) { - SAL_INFO( "svtools", "SvtHelpOptions_Impl::implSaveURLCounters: could not get a free name!" ); + SAL_WARN( "svtools.config", "SvtHelpOptions_Impl::implSaveURLCounters: could not get a free name!" ); continue; } AddNode(sIgnoreListNodePath, sNewNodeName); diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx index 94fd22745307..ea846b6809ca 100644 --- a/svtools/source/contnr/contentenumeration.cxx +++ b/svtools/source/contnr/contentenumeration.cxx @@ -230,7 +230,7 @@ namespace svt } catch( CommandAbortedException& ) { - SAL_INFO( "svtools", "createCursor: CommandAbortedException" ); + SAL_WARN( "svtools.contnr", "createCursor: CommandAbortedException" ); } catch( Exception& ) { @@ -353,21 +353,21 @@ namespace svt } catch( CommandAbortedException& ) { - SAL_INFO( "svtools", "FileViewContentEnumerator::enumerateFolderContent: caught an CommandAbortedException while enumerating!" ); + SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an CommandAbortedException while enumerating!" ); } catch( Exception& ) { - SAL_INFO( "svtools", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException while enumerating!" ); + SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException while enumerating!" ); } } } catch( CommandAbortedException& ) { - SAL_INFO( "svtools", "FileViewContentEnumerator::enumerateFolderContent: caught an CommandAbortedException!" ); + SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an CommandAbortedException!" ); } catch( Exception& ) { - SAL_INFO( "svtools", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException!" ); + SAL_WARN( "svtools.contnr", "FileViewContentEnumerator::enumerateFolderContent: caught an exception other than CommandAbortedException!" ); } IEnumerationResultHandler* pHandler = NULL; diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 83449fe42b90..7fdc9fa2477f 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -1942,7 +1942,7 @@ FileViewResult SvtFileView_Impl::GetFolderContent_Impl( return eStillRunning; } - SAL_INFO( "svtools", "SvtFileView_Impl::GetFolderContent_Impl: unreachable!" ); + SAL_WARN( "svtools.contnr", "SvtFileView_Impl::GetFolderContent_Impl: unreachable!" ); return eFailure; } @@ -2303,7 +2303,7 @@ void SvtFileView_Impl::CreateVector_Impl( const Sequence < OUString > &rList ) if ( !aDate.isEmpty() ) { - SAL_INFO( "svtools", "Don't know, how to convert date" ); + SAL_WARN( "svtools.contnr", "Don't know, how to convert date" ); ;// convert date string to date } } diff --git a/svtools/source/contnr/svlbox.cxx b/svtools/source/contnr/svlbox.cxx index d86468a587f2..19068e6c04bb 100644 --- a/svtools/source/contnr/svlbox.cxx +++ b/svtools/source/contnr/svlbox.cxx @@ -1681,14 +1681,14 @@ sal_Int8 SvLBox::AcceptDrop( const AcceptDropEvent& rEvt ) } else if( !nDragDropMode ) { - SAL_INFO( "svtools", "SvLBox::QueryDrop(): no target" ); + SAL_WARN( "svtools.contnr", "SvLBox::QueryDrop(): no target" ); } else { SvLBoxEntry* pEntry = GetDropTarget( rEvt.maPosPixel ); if( !IsDropFormatSupported( SOT_FORMATSTR_ID_TREELISTBOX ) ) { - SAL_INFO( "svtools", "SvLBox::QueryDrop(): no format" ); + SAL_WARN( "svtools.contnr", "SvLBox::QueryDrop(): no format" ); } else { diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index f68dce2fc413..8d1ad28dfeb1 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -773,7 +773,7 @@ sal_Bool SvHeaderTabListBox::IsCellCheckBox( long _nRow, sal_uInt16 _nColumn, Tr } else { - SAL_INFO( "svtools", "SvHeaderTabListBox::IsCellCheckBox(): column out of range" ); + SAL_WARN( "svtools.contnr", "SvHeaderTabListBox::IsCellCheckBox(): column out of range" ); } } return bRet; diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 0b291e00c7b6..f7919dc708af 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -215,9 +215,9 @@ void Calendar::ImplInit( WinBits nWinStyle ) Application::GetAppLocaleDataWrapper().getLocale()); if (maCalendarWrapper.getUniqueID() != aGregorian) { -#ifdef SAL_LOG_INFO +#ifdef SAL_LOG_WARN lang::Locale aLoc( Application::GetAppLocaleDataWrapper().getLocale() ); - SAL_INFO( "svtools", "Calendar::ImplInit: No ``gregorian'' calendar available for locale ``" + SAL_WARN( "svtools.control", "Calendar::ImplInit: No ``gregorian'' calendar available for locale ``" << aLoc.Language << "-" << aLoc.Country << "'' and other calendars aren't supported. Using en-US fallback." ); #endif @@ -327,7 +327,7 @@ DayOfWeek Calendar::ImplGetWeekStart() const eDay = SATURDAY; break; default: - SAL_INFO( "svtools", "Calendar::ImplGetWeekStart: broken i18n Gregorian calendar (getFirstDayOfWeek())"); + SAL_WARN( "svtools.control", "Calendar::ImplGetWeekStart: broken i18n Gregorian calendar (getFirstDayOfWeek())"); eDay = SUNDAY; } return eDay; diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 95e43711e931..d014cbbc2d4d 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2728,7 +2728,7 @@ void Ruler::SetUnit( FieldUnit eNewUnit ) mnUnitIndex = RULER_UNIT_LINE; break; default: - SAL_INFO( "svtools", "Ruler::SetUnit() - Wrong Unit" ); + SAL_WARN( "svtools.control", "Ruler::SetUnit() - Wrong Unit" ); break; } diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index 3e0a140b56d0..d26d58ee4520 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -365,7 +365,7 @@ short PrinterSetupDialog::Execute() { if ( !mpPrinter || mpPrinter->IsPrinting() || mpPrinter->IsJobActive() ) { - SAL_INFO( "svtools", "PrinterSetupDialog::Execute() - No Printer or printer is printing" ); + SAL_WARN( "svtools.dialogs", "PrinterSetupDialog::Execute() - No Printer or printer is printing" ); return sal_False; } diff --git a/svtools/source/filter/filter.cxx b/svtools/source/filter/filter.cxx index 318383a4b955..bd95ab70ea06 100644 --- a/svtools/source/filter/filter.cxx +++ b/svtools/source/filter/filter.cxx @@ -133,15 +133,15 @@ sal_Bool ImplDirEntryHelper::Exists( const INetURLObject& rObj ) } catch(const ::com::sun::star::ucb::CommandAbortedException&) { - SAL_INFO( "svtools", "CommandAbortedException" ); + SAL_WARN( "svtools.filter", "CommandAbortedException" ); } catch(const ::com::sun::star::ucb::ContentCreationException&) { - SAL_INFO( "svtools", "ContentCreationException" ); + SAL_WARN( "svtools.filter", "ContentCreationException" ); } catch( ... ) { - SAL_INFO( "svtools", "Any other exception" ); + SAL_WARN( "svtools.filter", "Any other exception" ); } return bExists; } @@ -160,11 +160,11 @@ void ImplDirEntryHelper::Kill( const String& rMainUrl ) } catch(const ::com::sun::star::ucb::CommandAbortedException&) { - SAL_INFO( "svtools", "CommandAbortedException" ); + SAL_WARN( "svtools.filter", "CommandAbortedException" ); } catch( ... ) { - SAL_INFO( "svtools", "Any other exception" ); + SAL_WARN( "svtools.filter", "Any other exception" ); } } diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx index d6ee5eb20947..5d16ec9e7d69 100644 --- a/svtools/source/misc/ehdl.cxx +++ b/svtools/source/misc/ehdl.cxx @@ -118,7 +118,7 @@ static sal_uInt16 aWndFunc( default: { - SAL_INFO( "svtools", "no MessBox type"); + SAL_WARN( "svtools.misc", "no MessBox type"); pBox = NULL; return ERRCODE_BUTTON_OK; } @@ -143,7 +143,7 @@ static sal_uInt16 aWndFunc( nRet = ERRCODE_BUTTON_NO; break; default: - SAL_INFO( "svtools", "Unknown MessBox return value" ); + SAL_WARN( "svtools.misc", "Unknown MessBox return value" ); break; } delete pBox; @@ -458,7 +458,7 @@ sal_Bool SfxErrorContext::GetString(sal_uLong nErrId, String &rStr) } else { - SAL_INFO( "svtools", "ErrorContext cannot find the resource" ); + SAL_WARN( "svtools.misc", "ErrorContext cannot find the resource" ); bRet = false; } diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index 8962946fbb60..d7a56796a608 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -306,7 +306,7 @@ namespace svt void operator() ( const ::rtl::Reference< TemplateContent >& _rxContent ) const { - SAL_INFO( "svtools", "This method must not be used, the whole URL must be stored!" ); + SAL_WARN( "svtools.misc", "This method must not be used, the whole URL must be stored!" ); // use the base class operator with the local name of the content StoreString::operator() ( _rxContent->getName() ); @@ -629,7 +629,7 @@ namespace svt } catch( CommandAbortedException& ) { - SAL_INFO( "svtools", "TemplateFolderCacheImpl::implReadFolder: caught a CommandAbortedException!" ); + SAL_WARN( "svtools.misc", "TemplateFolderCacheImpl::implReadFolder: caught a CommandAbortedException!" ); return sal_False; } catch( ::com::sun::star::uno::Exception& ) |