diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-23 13:31:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-23 13:31:09 +0100 |
commit | c4cc63badc506a00ee92e588d47e4f93e22fe1b5 (patch) | |
tree | d7724adae12d18cda3417629f6ee943e9d3b3b47 /svtools | |
parent | 4b712afcabec26e3165d3c7022c8696f28f5bf58 (diff) |
sal: update log areas
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 38 | ||||
-rw-r--r-- | svtools/source/config/printoptions.cxx | 31 | ||||
-rw-r--r-- | svtools/source/contnr/DocumentInfoPreview.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/langtab.cxx | 2 |
5 files changed, 36 insertions, 39 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 92ed2bd0f72b..4bc165317aaf 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -122,7 +122,7 @@ SvtAccessibilityOptions_Impl::SvtAccessibilityOptions_Impl() catch(const css::uno::Exception& ex) { m_xCfg.clear(); - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -143,7 +143,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetAutoDetectSystemHC() } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -161,7 +161,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsForPagePreviews() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; } @@ -178,7 +178,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsHelpTipsDisappear() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -196,7 +196,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsAllowAnimatedGraphics() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -214,7 +214,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsAllowAnimatedText() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -232,7 +232,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsAutomaticFontColor() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -250,7 +250,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsSystemFont() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -268,7 +268,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetHelpTipSeconds() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -286,7 +286,7 @@ sal_Bool SvtAccessibilityOptions_Impl::IsSelectionInReadonly() const } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -308,7 +308,7 @@ void SvtAccessibilityOptions_Impl::SetAutoDetectSystemHC(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -328,7 +328,7 @@ void SvtAccessibilityOptions_Impl::SetIsForPagePreviews(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -348,7 +348,7 @@ void SvtAccessibilityOptions_Impl::SetIsHelpTipsDisappear(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -368,7 +368,7 @@ void SvtAccessibilityOptions_Impl::SetIsAllowAnimatedGraphics(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -388,7 +388,7 @@ void SvtAccessibilityOptions_Impl::SetIsAllowAnimatedText(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -408,7 +408,7 @@ void SvtAccessibilityOptions_Impl::SetIsAutomaticFontColor(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -428,7 +428,7 @@ void SvtAccessibilityOptions_Impl::SetIsSystemFont(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -448,7 +448,7 @@ void SvtAccessibilityOptions_Impl::SetHelpTipSeconds(sal_Int16 nSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -468,7 +468,7 @@ void SvtAccessibilityOptions_Impl::SetSelectionInReadonly(sal_Bool bSet) } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index 84ba19d6b0ff..e67ddfd529d6 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -25,11 +25,8 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/XPropertySet.hpp> - #include <com/sun/star/container/XNameAccess.hpp> - #include <com/sun/star/container/XNameContainer.hpp> - #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <comphelper/configurationhelper.hxx> @@ -174,7 +171,7 @@ SvtPrintOptions_Impl::SvtPrintOptions_Impl(const OUString& rConfigRoot) { m_xNode.clear(); m_xCfg.clear(); - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -192,7 +189,7 @@ sal_Bool SvtPrintOptions_Impl::IsReduceTransparency() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -212,7 +209,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedTransparencyMode() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -234,7 +231,7 @@ sal_Bool SvtPrintOptions_Impl::IsReduceGradients() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -256,7 +253,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedGradientMode() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -278,7 +275,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedGradientStepCount() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -300,7 +297,7 @@ sal_Bool SvtPrintOptions_Impl::IsReduceBitmaps() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -322,7 +319,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedBitmapMode() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -344,7 +341,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedBitmapResolution() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return nRet; @@ -366,7 +363,7 @@ sal_Bool SvtPrintOptions_Impl::IsReducedBitmapIncludesTransparency() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -388,7 +385,7 @@ sal_Bool SvtPrintOptions_Impl::IsConvertToGreyscales() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -411,7 +408,7 @@ sal_Bool SvtPrintOptions_Impl::IsPDFAsStandardPrintJobFormat() const } catch (const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } return bRet; @@ -502,7 +499,7 @@ void SvtPrintOptions_Impl::impl_setValue (const ::rtl::OUString& sProp, } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } @@ -530,7 +527,7 @@ void SvtPrintOptions_Impl::impl_setValue (const ::rtl::OUString& sProp, } catch(const css::uno::Exception& ex) { - SAL_WARN("svtools", "Caught unexpected: " << ex.Message); + SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message); } } diff --git a/svtools/source/contnr/DocumentInfoPreview.cxx b/svtools/source/contnr/DocumentInfoPreview.cxx index 0f2177aad7b3..4d12ce902de3 100644 --- a/svtools/source/contnr/DocumentInfoPreview.cxx +++ b/svtools/source/contnr/DocumentInfoPreview.cxx @@ -112,7 +112,7 @@ void ODocumentInfoPreview::fill( value = conv->convertToSimpleType(aAny, css::uno::TypeClass_STRING). get< rtl::OUString >(); } catch (css::script::CannotConvertException & e) { - SAL_INFO("svtools", "ignored CannotConvertException " << e.Message); + SAL_INFO("svtools.contr", "ignored CannotConvertException " << e.Message); } if (!value.isEmpty()) { insertEntry(name, value); diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index 07b90d4f9b01..ad57f9ff28e4 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -584,7 +584,7 @@ SvStream* EmbeddedObjectRef::GetGraphicStream( bool bUpdate ) const } catch (const uno::Exception& ex) { - SAL_WARN("svtools", "discarding broken embedded object preview: " << ex.Message); + SAL_WARN("svtools.misc", "discarding broken embedded object preview: " << ex.Message); delete pStream; xStream.clear(); } diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx index 0efffcfbb0b5..910cbe926c60 100644 --- a/svtools/source/misc/langtab.cxx +++ b/svtools/source/misc/langtab.cxx @@ -144,7 +144,7 @@ const rtl::OUString SvtLanguageTable::GetString( const LanguageType eType, bool //Rather than return a fairly useless "Unknown" name, return a geeky but usable-in-a-pinch lang-tag OUString sLangTag(LanguageTag(eType).getBcp47()); - SAL_WARN("svtools", "Language: 0x" + SAL_WARN("svtools.misc", "Language: 0x" << std::hex << eType << " with unknown name, so returning lang-tag of: " << sLangTag); |